[Konsole-devel] [Bug 233670] New: Invalid read of size 1 at Konsole::TerminalDisplay::updateImage()

Milian Wolff mail at milianw.de
Wed Apr 7 23:04:43 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=233670

           Summary: Invalid read of size 1 at
                    Konsole::TerminalDisplay::updateImage()
           Product: konsole
           Version: unspecified
          Platform: Archlinux Packages
        OS/Version: unspecified
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: mail at milianw.de


Version:            (using KDE 4.4.2)
Installed from:    Archlinux Packages

just ran memcheck on kdevelop and the konsolepart turned up these messages
(repeatedly):

==23007== Invalid read of size 1
==23007==    at 0x2892DC4A: Konsole::TerminalDisplay::updateImage() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x2893084D:
Konsole::TerminalDisplay::qt_metacall(QMetaObject::Call, int, void**) (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x809160E: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/libQtCore.so.4.6.2)
==23007==    by 0x2890A035:
Konsole::ScreenWindow::qt_metacall(QMetaObject::Call, int, void**) (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x809160E: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/libQtCore.so.4.6.2)
==23007==    by 0x288DDD9D: Konsole::Emulation::showBulk() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x288DDFB2: Konsole::Emulation::qt_metacall(QMetaObject::Call,
int, void**) (in /usr/lib/libkonsoleprivate.so)
==23007==    by 0x2894586F:
Konsole::Vt102Emulation::qt_metacall(QMetaObject::Call, int, void**) (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x809160E: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/libQtCore.so.4.6.2)
==23007==    by 0x808E232: QObject::event(QEvent*) (in
/usr/lib/libQtCore.so.4.6.2)
==23007==    by 0x875862B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/libQtGui.so.4.6.2)
==23007==    by 0x875EB0A: QApplication::notify(QObject*, QEvent*) (in
/usr/lib/libQtGui.so.4.6.2)
==23007==  Address 0x34346be5 is 5 bytes inside a block of size 960 free'd
==23007==    at 0x4C233A6: operator delete[](void*) (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23007==    by 0x2890A4FF: Konsole::ScreenWindow::getImage() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x289300EC: Konsole::TerminalDisplay::processFilters() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x2890B4C9: Konsole::Session::updateTerminalSize() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x289105FF: Konsole::Session::qt_metacall(QMetaObject::Call,
int, void**) (in /usr/lib/libkonsoleprivate.so)
==23007==    by 0x809160E: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/libQtCore.so.4.6.2)
==23007==    by 0x2892870E:
Konsole::TerminalDisplay::changedContentSizeSignal(int, int) (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x2892D6A2: Konsole::TerminalDisplay::updateImageSize() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x2892E2ED: Konsole::TerminalDisplay::updateImage() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x2893084D:
Konsole::TerminalDisplay::qt_metacall(QMetaObject::Call, int, void**) (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x809160E: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/libQtCore.so.4.6.2)
==23007==    by 0x2890A035:
Konsole::ScreenWindow::qt_metacall(QMetaObject::Call, int, void**) (in
/usr/lib/libkonsoleprivate.so)

==23007== Invalid read of size 1
==23007==    at 0x4C25331: memcpy (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23007==    by 0x2892DF72: Konsole::TerminalDisplay::updateImage() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x2893084D:
Konsole::TerminalDisplay::qt_metacall(QMetaObject::Call, int, void**) (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x809160E: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/libQtCore.so.4.6.2)
==23007==    by 0x2890A035:
Konsole::ScreenWindow::qt_metacall(QMetaObject::Call, int, void**) (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x809160E: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/libQtCore.so.4.6.2)
==23007==    by 0x288DDD9D: Konsole::Emulation::showBulk() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x288DDFB2: Konsole::Emulation::qt_metacall(QMetaObject::Call,
int, void**) (in /usr/lib/libkonsoleprivate.so)
==23007==    by 0x2894586F:
Konsole::Vt102Emulation::qt_metacall(QMetaObject::Call, int, void**) (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x809160E: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/libQtCore.so.4.6.2)
==23007==    by 0x808E232: QObject::event(QEvent*) (in
/usr/lib/libQtCore.so.4.6.2)
==23007==    by 0x875862B: QApplicationPrivate::notify_helper(QObject*,
QEvent*) (in /usr/lib/libQtGui.so.4.6.2)
==23007==  Address 0x34346f9e is 958 bytes inside a block of size 960 free'd
==23007==    at 0x4C233A6: operator delete[](void*) (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23007==    by 0x2890A4FF: Konsole::ScreenWindow::getImage() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x289300EC: Konsole::TerminalDisplay::processFilters() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x2890B4C9: Konsole::Session::updateTerminalSize() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x289105FF: Konsole::Session::qt_metacall(QMetaObject::Call,
int, void**) (in /usr/lib/libkonsoleprivate.so)
==23007==    by 0x809160E: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/libQtCore.so.4.6.2)
==23007==    by 0x2892870E:
Konsole::TerminalDisplay::changedContentSizeSignal(int, int) (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x2892D6A2: Konsole::TerminalDisplay::updateImageSize() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x2892E2ED: Konsole::TerminalDisplay::updateImage() (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x2893084D:
Konsole::TerminalDisplay::qt_metacall(QMetaObject::Call, int, void**) (in
/usr/lib/libkonsoleprivate.so)
==23007==    by 0x809160E: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/libQtCore.so.4.6.2)
==23007==    by 0x2890A035:
Konsole::ScreenWindow::qt_metacall(QMetaObject::Call, int, void**) (in
/usr/lib/libkonsoleprivate.so)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list