[Konsole-devel] [Bug 79578] New: crash in konsole probably related to QFontEngineLatinXLFD

Luis Javier Merino ljmerino at pandasoftware.es
Tue Apr 13 17:20:57 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=79578      
           Summary: crash in konsole probably related to
                    QFontEngineLatinXLFD
           Product: konsole
           Version: 1.3
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: ljmerino pandasoftware es


Version:           1.3 (using KDE 3.2.0,  (3.0))
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:          Linux (i686) release 2.4.22

Hi all,

Environment:
	konsole 1.3 from kde 3.2.0
	Debian Woody
	glibc, libstdc++, binutils upgraded to testing
	kde from deb http://download.kde.org/stable/3.2.1/Debian stable main
	konsole is 3.2.0-0woody1
	LANG, LANGUAGE, LC_ALL = es_ES euro

When i do man ksymoops, I get a crash when I get to line 338 of that man page, meaning I can see up to line 337, then konsole crashes.

Running konsole in valgrind, there are some invalid reads, the important ones seem to be

==23983== Reading syms from /lib/libnss_compat-2.3.2.so
==23983==    object doesn't have a symbol table
==23983==    object doesn't have any debug info
==23983== Reading syms from /lib/libnsl-2.3.2.so
==23983==    object doesn't have a symbol table
==23983==    object doesn't have any debug info
==23983== Reading syms from /lib/libnss_nis-2.3.2.so
==23983==    object doesn't have a symbol table
==23983==    object doesn't have any debug info
==23983== Reading syms from /lib/libnss_files-2.3.2.so
==23983==    object doesn't have a symbol table
==23983==    object doesn't have any debug info
==23983==
==23983== Use of uninitialised value of size 4
==23983==    at 0x40C93558: QFontEngineLatinXLFD::draw(QPainter *, int, int, QTextEngine const *, QScriptItem const *, int) (in
==23983==    by 0x40C8654F: QPainter::drawTextItem(int, int, QTextItem const &, int) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40C8641E: QPainter::drawText(int, int, QString const &, int, int, QPainter::TextDirection) (in /usr/lib/libqt
==23983==    by 0x40C85F6E: QPainter::drawText(int, int, QString const &, int, QPainter::TextDirection) (in /usr/lib/libqt-mt.s
==23983==    by 0x40295E88: TEWidget::drawAttrStr(QPainter &, QRect, QString &, ca const *, bool, bool) (in /usr/lib/libkdeinit
==23983==    by 0x402966FF: TEWidget::setImage(ca const *, int, int) (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x402A3ED9: TEmulation::showBulk(void) (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x402A2CE8: TEmulation::qt_invoke(int, QUObject *) (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x4029C905: TEmuVt102::qt_invoke(int, QUObject *) (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x40D05E32: QObject::activate_signal(QConnectionList *, QUObject *) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40D05D3D: QObject::activate_signal(int) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40FABC57: QTimer::timeout(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40D20DCA: QTimer::event(QEvent *) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CB7ED3: QApplication::internalNotify(QObject *, QEvent *) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CB7B63: QApplication::notify(QObject *, QEvent *) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x409199A7: KApplication::notify(QObject *, QEvent *) (in /usr/lib/libkdecore.so.4.2.0)
==23983==    by 0x40CAABA0: QEventLoop::activateTimers(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40C728F4: QEventLoop::processEvents(unsigned int) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CC877D: QEventLoop::enterLoop(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CC86DA: QEventLoop::exec(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CB8029: QApplication::exec(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40272F85: kdemain (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x8048663: (within /usr/bin/konsole)
==23983==    by 0x412F1DC5: __libc_start_main (in /lib/libc-2.3.2.so)
==23983==    by 0x8048590: (within /usr/bin/konsole)
==23983==
==23983== Invalid read of size 4
==23983==    at 0x40C93558: QFontEngineLatinXLFD::draw(QPainter *, int, int, QTextEngine const *, QScriptItem const *, int) (in
==23983==    by 0x40C8654F: QPainter::drawTextItem(int, int, QTextItem const &, int) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40C8641E: QPainter::drawText(int, int, QString const &, int, int, QPainter::TextDirection) (in /usr/lib/libqt
==23983==    by 0x40C85F6E: QPainter::drawText(int, int, QString const &, int, QPainter::TextDirection) (in /usr/lib/libqt-mt.s
==23983==    by 0x40295E88: TEWidget::drawAttrStr(QPainter &, QRect, QString &, ca const *, bool, bool) (in /usr/lib/libkdeinit
==23983==    by 0x402966FF: TEWidget::setImage(ca const *, int, int) (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x402A3ED9: TEmulation::showBulk(void) (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x402A2CE8: TEmulation::qt_invoke(int, QUObject *) (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x4029C905: TEmuVt102::qt_invoke(int, QUObject *) (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x40D05E32: QObject::activate_signal(QConnectionList *, QUObject *) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40D05D3D: QObject::activate_signal(int) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40FABC57: QTimer::timeout(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40D20DCA: QTimer::event(QEvent *) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CB7ED3: QApplication::internalNotify(QObject *, QEvent *) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CB7B63: QApplication::notify(QObject *, QEvent *) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x409199A7: KApplication::notify(QObject *, QEvent *) (in /usr/lib/libkdecore.so.4.2.0)
==23983==    by 0x40CAABA0: QEventLoop::activateTimers(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40C728F4: QEventLoop::processEvents(unsigned int) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CC877D: QEventLoop::enterLoop(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CC86DA: QEventLoop::exec(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CB8029: QApplication::exec(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40272F85: kdemain (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x8048663: (within /usr/bin/konsole)
==23983==    by 0x412F1DC5: __libc_start_main (in /lib/libc-2.3.2.so)
==23983==    by 0x8048590: (within /usr/bin/konsole)
==23983==    Address 0x6D616C8B is not stack'd, malloc'd or free'd
==23983==
==23983== Invalid read of size 4
==23983==    at 0x40C93579: QFontEngineLatinXLFD::draw(QPainter *, int, int, QTextEngine const *, QScriptItem const *, int) (in
==23983==    by 0x40C8654F: QPainter::drawTextItem(int, int, QTextItem const &, int) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40C8641E: QPainter::drawText(int, int, QString const &, int, int, QPainter::TextDirection) (in /usr/lib/libqt
==23983==    by 0x40C85F6E: QPainter::drawText(int, int, QString const &, int, QPainter::TextDirection) (in /usr/lib/libqt-mt.s
==23983==    by 0x40295E88: TEWidget::drawAttrStr(QPainter &, QRect, QString &, ca const *, bool, bool) (in /usr/lib/libkdeinit
==23983==    by 0x402966FF: TEWidget::setImage(ca const *, int, int) (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x402A3ED9: TEmulation::showBulk(void) (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x402A2CE8: TEmulation::qt_invoke(int, QUObject *) (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x4029C905: TEmuVt102::qt_invoke(int, QUObject *) (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x40D05E32: QObject::activate_signal(QConnectionList *, QUObject *) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40D05D3D: QObject::activate_signal(int) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40FABC57: QTimer::timeout(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40D20DCA: QTimer::event(QEvent *) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CB7ED3: QApplication::internalNotify(QObject *, QEvent *) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CB7B63: QApplication::notify(QObject *, QEvent *) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x409199A7: KApplication::notify(QObject *, QEvent *) (in /usr/lib/libkdecore.so.4.2.0)
==23983==    by 0x40CAABA0: QEventLoop::activateTimers(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40C728F4: QEventLoop::processEvents(unsigned int) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CC877D: QEventLoop::enterLoop(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CC86DA: QEventLoop::exec(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40CB8029: QApplication::exec(void) (in /usr/lib/libqt-mt.so.3.2.1)
==23983==    by 0x40272F85: kdemain (in /usr/lib/libkdeinit_konsole.so)
==23983==    by 0x8048663: (within /usr/bin/konsole)
==23983==    by 0x412F1DC5: __libc_start_main (in /lib/libc-2.3.2.so)
==23983==    by 0x8048590: (within /usr/bin/konsole)
==23983==    Address 0x18 is not stack'd, malloc'd or free'd
==23983== Warning: client attempted to close Valgrind's logfile fd (2).
==23983==    Use --logfile-fd=<number> to select an alternative logfile fd.
==23983== Warning: invalid file descriptor 8 in syscall write()
KCrash: Application 'konsole' crashing...

(1 error each, in valgrind -v summary)



More information about the konsole-devel mailing list