Application that crashed: kmail Version of the application: 1.12.2 KDE Version: 4.3.2 (KDE 4.3.2) Qt Version: 4.5.2 Operating System: Linux 2.6.31-16-generic x86_64 Distribution: Ubuntu 9.10 What I was doing when the application crashed: I received a generated email containing only a pdf document. I have narrowed the email to the following lines: --- Start of email --- From Anystring Date: Fri, 13 Nov 2009 08:48:31 +0100 From: "From Anyone" <*@anywhere.com> To: "To Anyone" <*@anywhere.com> MIME-Version: 1.0 Content-Type: application/octet-stream --- end of email --- I beleve it to be the "application/octet-stream" that causes the crash. Changing the "octet-stream" to "pdf" removes the crash. Original masked headings (I guess the X-KMail* headings have been added by KMail): From noreply@personec.com Fri Nov 13 08:48:31 2009 X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Content-Type: application/octet-stream; name="7520091119493.PDF" Content-Transfer-Encoding: base64 Content-Description: 7520091119493.PDF Content-Disposition: attachment; filename="7520091119493.PDF" Content-class: urn:content-classes:message Subject: =?utf-8?B?TMO4bm5zbGlwcGVuIHRpbCBQZXIgT2xhdiBLcm9rYSA6?= =?utf-8?B?IE5vdmVtYmVyIGzDuG5uIDIwMDk=?= Date: Fri, 13 Nov 2009 08:48:31 +0100 Message-ID: <ASPXCH1Usq6iJVRrwEh000003f3@xxx.yyy.zzz> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: =?utf-8?B?TMO4bm5zbGlwcGVuIHRpbCBQZXIgT2xhdiBLcm9rYSA6?= =?utf-8?B?IE5vdmVtYmVyIGzDuG5uIDIwMDk=?= Thread-Index: AcpkNc/3hOByMTe3St+l4wLl0rUgcA== From: "Personec BSP" <noreply@aaa.bbb> To: "me" <me@x.y.z> X-UID: Status: R X-Status: NT X-KMail-EncryptionState: X-KMail-SignatureState: X-KMail-MDN-Sent: --- end of original headings --- -- Backtrace: Application: KMail (kmail), signal: Segmentation fault The current source language is "auto; currently c". [KCrash Handler] #5 KMail::HiddenAttachmentStrategy::defaultDisplay (this=0x1624a10, node=0x1d76010) at ../../kmail/attachmentstrategy.cpp:151 #6 0x00007fcee4abecbe in KMail::ObjectTreeParser::parseObjectTree (this=0x7fff6c6cca80, node=0x1d76010) at ../../kmail/objecttreeparser.cpp:270 #7 0x00007fcee4944c69 in KMReaderWin::parseMsg (this=0x13218f0, aMsg=0x133eeb0) at ../../kmail/kmreaderwin.cpp:1672 #8 0x00007fcee4933eda in KMReaderWin::displayMessage (this=0x13218f0) at ../../kmail/kmreaderwin.cpp:1605 #9 0x00007fcee49340b4 in KMReaderWin::updateReaderWin (this=0x13218f0) at ../../kmail/kmreaderwin.cpp:1545 #10 0x00007fcee493efac in KMReaderWin::setMsg (this=0x13218f0, aMsg=0x133eeb0, force=true) at ../../kmail/kmreaderwin.cpp:1347 #11 0x00007fcee4af88a4 in KMReaderMainWin::showMsg (this=0x1133ca0, encoding=<value optimized out>, msg=0x133eeb0, serNumOfOriginalMessage=0, nodeIdOffset=-1) at ../../kmail/kmreadermainwin.cpp:131 #12 0x00007fcee4aedcaa in KMOpenMsgCommand::slotResult (this=0x10662e0, job=<value optimized out>) at ../../kmail/kmcommands.cpp:1076 #13 0x00007fcee4aee018 in KMOpenMsgCommand::qt_metacall (this=0x10662e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6c6cd430) at ./kmcommands.moc:746 #14 0x00007fcee357addc in QMetaObject::activate (sender=0x134bec0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1dc7301) at kernel/qobject.cpp:3113 #15 0x00007fcee5203af2 in KJob::result (this=0x1624a10, _t1=0x134bec0) at ./kjob.moc:188 #16 0x00007fcee5203e6f in KJob::emitResult (this=0x134bec0) at ../../kdecore/jobs/kjob.cpp:304 #17 0x00007fcedd323d93 in KIO::SimpleJob::slotFinished (this=0x134bec0) at ../../kio/kio/job.cpp:477 #18 0x00007fcedd324253 in KIO::TransferJob::slotFinished (this=0x134bec0) at ../../kio/kio/job.cpp:948 #19 0x00007fcedd322b61 in KIO::TransferJob::qt_metacall (this=0x134bec0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6c6cd850) at ./jobclasses.moc:343 #20 0x00007fcee357addc in QMetaObject::activate (sender=0x129f650, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1dc7301) at kernel/qobject.cpp:3113 #21 0x00007fcedd3e4a81 in KIO::SlaveInterface::dispatch (this=0x129f650, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175 #22 0x00007fcedd3e1333 in KIO::SlaveInterface::dispatch (this=0x129f650) at ../../kio/kio/slaveinterface.cpp:91 #23 0x00007fcedd3d414d in KIO::Slave::gotInput (this=0x129f650) at ../../kio/kio/slave.cpp:322 #24 0x00007fcedd3d626c in KIO::Slave::qt_metacall (this=0x129f650, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6c6cdc10) at ./slave.moc:76 #25 0x00007fcee357addc in QMetaObject::activate (sender=0x133b0f0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1dc7301) at kernel/qobject.cpp:3113 #26 0x00007fcedd2f0f57 in KIO::ConnectionPrivate::dequeue (this=0x11f09a0) at ../../kio/kio/connection.cpp:82 #27 0x00007fcedd2f107d in KIO::Connection::qt_metacall (this=0x133b0f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1322aa0) at ./connection.moc:73 #28 0x00007fcee35750f9 in QObject::event (this=0x133b0f0, e=0x13090a0) at kernel/qobject.cpp:1111 #29 0x00007fcee39f8efc in QApplicationPrivate::notify_helper (this=0x1097c30, receiver=0x133b0f0, e=0x13090a0) at kernel/qapplication.cpp:4056 #30 0x00007fcee3a001ce in QApplication::notify (this=0x7fff6c6ce6e0, receiver=0x133b0f0, e=0x13090a0) at kernel/qapplication.cpp:4021 #31 0x00007fcee57bbab6 in KApplication::notify (this=0x7fff6c6ce6e0, receiver=0x133b0f0, event=0x13090a0) at ../../kdeui/kernel/kapplication.cpp:302 #32 0x00007fcee3565c2c in QCoreApplication::notifyInternal (this=0x7fff6c6ce6e0, receiver=0x133b0f0, event=0x13090a0) at kernel/qcoreapplication.cpp:610 #33 0x00007fcee356680a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1037d00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1037d00) at kernel/qcoreapplication.cpp:1247 #35 0x00007fcee358e533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #36 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210 #37 0x00007fceda7febce in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #38 0x00007fceda802598 in ?? () from /lib/libglib-2.0.so.0 #39 0x00007fceda8026c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #40 0x00007fcee358e1a6 in QEventDispatcherGlib::processEvents (this=0x1037930, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327 #41 0x00007fcee3a8d4be in QGuiEventDispatcherGlib::processEvents (this=0x1624a10, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #42 0x00007fcee3564532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #43 0x00007fcee3564904 in QEventLoop::exec (this=0x7fff6c6ce510, flags=) at kernel/qeventloop.cpp:201 #44 0x00007fcee3566ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #45 0x0000000000402fe9 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:146 Reported using DrKonqi
*** Bug 221815 has been marked as a duplicate of this bug. ***
*** Bug 222386 has been marked as a duplicate of this bug. ***
*** Bug 224160 has been marked as a duplicate of this bug. ***
*** Bug 222362 has been marked as a duplicate of this bug. ***
*** Bug 230777 has been marked as a duplicate of this bug. ***
*** Bug 226256 has been marked as a duplicate of this bug. ***
Created attachment 43258 [details] spam with attachment that crashes kmail
Hello, I just received a (spam)email that seems to trigger what the bug opener is reporting. The mail has only a rtf attachment. Changing application/octet-stream to application/rtf for example makes it accessible in kmail without crashing. Im using KDE 4.4.2, Kmail 1.13.2 Attached the email above, it is in Maildir format.
This also happens with Kmail 1.13.3 from KDE SC 4.4.4 from Debian unstable. The offending email (attached) contains a rtf document, too.
Created attachment 47994 [details] Another spam email crashing Kmail
It was fixed in kmail-4.4.6