Bug 67936

Summary: Konsole crashes what cat'ting a .zip-file
Product: [Applications] konsole Reporter: Florian Evers <florian-evers>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: esigra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Florian Evers 2003-11-11 23:04:49 UTC
Version:           1.3 beta (using KDE KDE 3.1.93)
Installed from:    SuSE RPMs
OS:          Linux

I recognized this bug while using the mutt email client to view a .zip file and it was printed to stdout. My konsole crashed immediately!

I isolated the bug and can surely reproduce/trigger it just by cat'ting this zipfile.

Trace by Crashmanager:
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 11195)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x4128dcf7 in waitpid ()
   from /lib/libpthread.so.0
#0  0x4128dcf7 in waitpid () from /lib/libpthread.so.0
#1  0x407dfbb0 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x4128c895 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x40b3d0bb in QFontEngineLatinXLFD::draw(QPainter*, int, int, QTextEngine const*, QScriptItem const*, int) () from /usr/lib/qt3/lib/libqt-mt.so.3
#5  0x40b2ddbb in QPainter::drawTextItem(int, int, QTextItem const&, int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#6  0x40b2dad5 in QPainter::drawText(int, int, QString const&, int, int, QPainter::TextDirection) () from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0x40b2d728 in QPainter::drawText(int, int, QString const&, int, QPainter::TextDirection) () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x41be9c16 in TEWidget::drawAttrStr(QPainter&, QRect, QString&, ca const*, bool, bool) () from /opt/kde3/lib/libkdeinit_konsole.so
#9  0x41bea61b in TEWidget::setImage(ca const*, int, int) ()
   from /opt/kde3/lib/libkdeinit_konsole.so
#10 0x41bfa806 in TEmulation::showBulk() ()
   from /opt/kde3/lib/libkdeinit_konsole.so
#11 0x41bf8c61 in TEmulation::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkdeinit_konsole.so
#12 0x41bf150f in TEmuVt102::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkdeinit_konsole.so
#13 0x40bcbb91 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x40bcb967 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40eff1d9 in QTimer::timeout() () from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40beda43 in QTimer::event(QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40b6deef in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40b6d1a0 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x4074f7ff in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#20 0x40b5aae6 in QEventLoop::activateTimers() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40b16b02 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40b81783 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x40b81676 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x40b6e10f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x41bc916b in kdemain () from /opt/kde3/lib/libkdeinit_konsole.so
#26 0x408e5934 in kdeinitmain () from /opt/kde3/lib/kde3/konsole.so
#27 0x0804e193 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#28 0x0804f127 in handle_launcher_request(int) ()
#29 0x0804f6a1 in handle_requests(int) ()
#30 0x08050925 in main ()
#31 0x413ed8ae in __libc_start_main () from /lib/libc.so.6

You can download this zipfile from
http://www.tu-ilmenau.de/~evers/crash.zip
for testing purposes. Don't care about the contents :-)
Just type "cat crash.zip" et voila.
Comment 1 Florian Evers 2003-11-12 08:46:17 UTC
Even simplier: I found one of the "bad" characters:

florian@powerstation:~> ls -al crash.txt
-rw-------    1 florian  users           1 2003-11-12 08:38 crash.txt
florian@powerstation:~> hexdump crash.txt
0000000 00bd
0000001
florian@powerstation:~> cat crash.txt

... and you are there...
Comment 2 Stephan Kulow 2003-11-12 12:03:17 UTC
it also depends on your font. But there is a Qt update in the queue

*** This bug has been marked as a duplicate of 65537 ***