Bug 80234

Summary: crash when viewing broken GIF image
Product: [Frameworks and Libraries] kdelibs Reporter: michael
Component: qtAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: l.lunak
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Email message which causes crash
Opening this GIF in Konqueror or KMail crashes those programs

Description michael 2004-04-23 23:27:07 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    Debian stable Packages
OS:          Linux

While deleting messages, I hit on a message that caused an immediate crash. (See backtrace below) The worst thing is that when I restart, it is of course back on the same message so it crashes a second time. PS, the backtrace window didn't popup on the second crash.

(Message is here as an attachment)

(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)...
(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 1024 (LWP 19166)]

(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)...
(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)...
0x41b11a59 in wait4 () from /lib/libc.so.6
#0  0x41b11a59 in wait4 () from /lib/libc.so.6
#1  0x41b88e48 in __check_rhosts_file () from /lib/libc.so.6
#2  0x41918453 in waitpid () from /lib/libpthread.so.0
#3  0x4112c7ed in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4
#4  0x41915f54 in pthread_sighandler () from /lib/libpthread.so.0
#5  0x41a9a6b8 in sigaction () from /lib/libc.so.6
#6  0x4145fef6 in QImageDecoder::decode () from /usr/lib/libqt-mt.so.3
#7  0x414a39db in QMoviePrivate::receive () from /usr/lib/libqt-mt.so.3
#8  0x40536944 in QBitmap type_info function () from /usr/lib/libkhtml.so.4
#9  0x414627a0 in QDataPump::tryToPump () from /usr/lib/libqt-mt.so.3
#10 0x41748df9 in QDataPump::qt_invoke () from /usr/lib/libqt-mt.so.3
#11 0x414aa873 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0x414aa77e in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#13 0x41751648 in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#14 0x414c57fb in QTimer::event () from /usr/lib/libqt-mt.so.3
#15 0x4145d424 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#16 0x4145d0b4 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#17 0x410bfb70 in KApplication::notify () from /usr/lib/libkdecore.so.4
#18 0x414500b1 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#19 0x41416eb5 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#20 0x4146dd5e in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#21 0x4146dcbb in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#22 0x4145d57a in QApplication::exec () from /usr/lib/libqt-mt.so.3
#23 0x0804a517 in KMKernel::cleanup ()
#24 0x41a8a14f in __libc_start_main () from /lib/libc.so.6
Comment 1 michael 2004-04-23 23:33:11 UTC
Created attachment 5754 [details]
Email message which causes crash

Actaully, it seems that the crash occurs when i move from another message in
the message list to this one.  I can replicate the error by selecting the
message above it, and then arrowing down to this message
Comment 2 michael 2004-04-23 23:41:49 UTC
Removing the message from inbox/cur fixed the problem, albeit it then lost some of it's memory of which messages were viewed to date etc..
Moving it back to the inbox/cur caused it to crash again..
Comment 3 Ingo Klöcker 2004-04-24 12:38:11 UTC
Thanks for the bug report. I can reproduce the crash with the Qt movies example. So it's a bug in the Qt libraries. I'll send a bug report to Trolltech.

I'll attach the (broken) GIF which can be used to reproduce the crash. Note that tests indicate that the crash doesn't happen everytime.
Comment 4 Ingo Klöcker 2004-04-24 12:53:11 UTC
Created attachment 5759 [details]
Opening this GIF in Konqueror or KMail crashes those programs
Comment 5 Tobias Koenig 2008-04-25 09:06:57 UTC
I can't reproduce the crash with konqueror from 3.5.9 or 4.0 anymore.
The gif is invalid by the way...