Bug 183745 - The application KMail (kmail) crashed and caused the signal 6 (SIGABRT).
Summary: The application KMail (kmail) crashed and caused the signal 6 (SIGABRT).
Status: RESOLVED DUPLICATE of bug 181351
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.11.0
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-09 02:29 UTC by edhunter
Modified: 2009-10-23 10:23 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description edhunter 2009-02-09 02:29:34 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Debian testing/unstable Packages

I received a mail a couple of days ago and whenever I click on it Kmail just crashes with "A Fatal Error Occurred
The application KMail (kmail) crashed and caused the signal 6 (SIGABRT)."

It only happens with that mail. I tried all other mails without problems. I restarted the application, restarted the pc and there was no difference. It does not matter if i right click or left click on the mail, as soon as it tries to open the mail, Kmail just crashes with the above message.

I tried running Kmail in a terminal by calling /usr/bin/kmail --view /path_to_mail , I got back some messages in the terminal and then again Kmail crashed with the above message but a longer backtrace.

these are the messages I got in the terminal

/usr/bin/kmail --view /home/edhunter/.kde4/share/apps/kmail/mail/inbox/cur/1234029201.5562.MKSgM
kmail(11133) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet().
kmail(11133) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop"
kmail(11133) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop"
kmail(11133) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_aspell.desktop"
kmail(11133) KWallet::Wallet::openWallet: Pass a valid window to KWallet::Wallet::openWallet().
edhunter@siduxbox:~$ kmail(11133) <unnamed>::UrlHandler::UrlHandler: UrlHandler() (iCalendar)
ASSERT: "d" in file /usr/include/ksharedptr.h, line 120
*** KMail got signal 6 (Crashing)
KCrash: Application 'kmail' crashing...
sock_file=/home/edhunter/.kde4/socket-siduxbox/kdeinit4__0


this is the backtrace of Kmail if I open it normally and try to open the mail

Application: KMail (kmail), signal SIGABRT

Thread 1 (Thread 0xb42acaa0 (LWP 11081)):
[KCrash Handler]
#6  0xb80d5424 in __kernel_vsyscall ()
#7  0xb64e4640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb64e6018 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb705d6cd in qt_message_output (msgType=QtFatalMsg, buf=0xbfbee0a0 "ASSERT: \"d\" in file /usr/include/ksharedptr.h, line 120") at global/qglobal.cpp:2102
#10 0xb705d796 in qFatal (msg=0xb71a5458 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2303
#11 0xb705d825 in qt_assert (assertion=0xb7a0f9f3 "d", file=0xb79c9a57 "/usr/include/ksharedptr.h", line=120) at global/qglobal.cpp:1872
#12 0xb76b0e48 in ?? () from /usr/lib/libkmailprivate.so.4
#13 0xb76c7d2b in ?? () from /usr/lib/libkmailprivate.so.4
#14 0xb76ba590 in ?? () from /usr/lib/libkmailprivate.so.4
#15 0xb76baf77 in ?? () from /usr/lib/libkmailprivate.so.4
#16 0xb76bb2a1 in ?? () from /usr/lib/libkmailprivate.so.4
#17 0xb76c7e6b in ?? () from /usr/lib/libkmailprivate.so.4
#18 0xb76ba590 in ?? () from /usr/lib/libkmailprivate.so.4
#19 0xb7519577 in ?? () from /usr/lib/libkmailprivate.so.4
#20 0xb7505e08 in ?? () from /usr/lib/libkmailprivate.so.4
#21 0xb7506020 in ?? () from /usr/lib/libkmailprivate.so.4
#22 0xb75146a0 in ?? () from /usr/lib/libkmailprivate.so.4
#23 0xb7169be0 in QMetaObject::activate (sender=0xa252f28, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031
#24 0xb716a962 in QMetaObject::activate (sender=0xa252f28, m=0xb72380c4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#25 0xb71a4867 in QTimer::timeout (this=0xa252f28) at .moc/release-shared/moc_qtimer.cpp:126
#26 0xb717058e in QTimer::timerEvent (this=0xa252f28, e=0xbfbf0d9c) at kernel/qtimer.cpp:257
#27 0xb71646bf in QObject::event (this=0xa252f28, e=0xbfbf0d9c) at kernel/qobject.cpp:1120
#28 0xb684a79c in QApplicationPrivate::notify_helper (this=0x9f4aa38, receiver=0xa252f28, e=0xbfbf0d9c) at kernel/qapplication.cpp:3803
#29 0xb685261e in QApplication::notify (this=0xbfbf10b8, receiver=0xa252f28, e=0xbfbf0d9c) at kernel/qapplication.cpp:3393
#30 0xb7f0f77d in KApplication::notify (this=0xbfbf10b8, receiver=0xa252f28, event=0xbfbf0d9c) at ../../kdeui/kernel/kapplication.cpp:307
#31 0xb71550e1 in QCoreApplication::notifyInternal (this=0xbfbf10b8, receiver=0xa252f28, event=0xbfbf0d9c) at kernel/qcoreapplication.cpp:587
#32 0xb7183041 in QTimerInfoList::activateTimers (this=0x9f4d904) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#33 0xb717f690 in timerSourceDispatch (source=0x9f4d8d0) at kernel/qeventdispatcher_glib.cpp:160
#34 0xb4b631b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0xb4b66853 in ?? () from /usr/lib/libglib-2.0.so.0
#36 0x09f4cc78 in ?? ()
#37 0x00000000 in ?? ()


And this is the trace I get when I open the mail calling /usr/bin/kmail --view /path_to_mail


Application: KMail (kmail), signal SIGABRT

Thread 1 (Thread 0xb40f7aa0 (LWP 11133)):
[KCrash Handler]
#6  0xb7f20424 in __kernel_vsyscall ()
#7  0xb632f640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb6331018 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb6ea86cd in qt_message_output (msgType=QtFatalMsg, buf=0xbff36480 "ASSERT: \"d\" in file /usr/include/ksharedptr.h, line 120") at global/qglobal.cpp:2102
#10 0xb6ea8796 in qFatal (msg=0xb6ff0458 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2303
#11 0xb6ea8825 in qt_assert (assertion=0xb785a9f3 "d", file=0xb7814a57 "/usr/include/ksharedptr.h", line=120) at global/qglobal.cpp:1872
#12 0xb74fbe48 in ?? () from /usr/lib/libkmailprivate.so.4
#13 0xb7512d2b in ?? () from /usr/lib/libkmailprivate.so.4
#14 0xb7505590 in ?? () from /usr/lib/libkmailprivate.so.4
#15 0xb7505f77 in ?? () from /usr/lib/libkmailprivate.so.4
#16 0xb75062a1 in ?? () from /usr/lib/libkmailprivate.so.4
#17 0xb7512e6b in ?? () from /usr/lib/libkmailprivate.so.4
#18 0xb7505590 in ?? () from /usr/lib/libkmailprivate.so.4
#19 0xb7364577 in ?? () from /usr/lib/libkmailprivate.so.4
#20 0xb7350e08 in ?? () from /usr/lib/libkmailprivate.so.4
#21 0xb7351020 in ?? () from /usr/lib/libkmailprivate.so.4
#22 0xb735e239 in ?? () from /usr/lib/libkmailprivate.so.4
#23 0xb75442a9 in ?? () from /usr/lib/libkmailprivate.so.4
#24 0xb7538115 in KMOpenMsgCommand::slotResult () from /usr/lib/libkmailprivate.so.4
#25 0xb7538426 in KMOpenMsgCommand::qt_metacall () from /usr/lib/libkmailprivate.so.4
#26 0xb6fb4be0 in QMetaObject::activate (sender=0x9c73a60, from_signal_index=7, to_signal_index=7, argv=0xbff38e6c) at kernel/qobject.cpp:3031
#27 0xb6fb5962 in QMetaObject::activate (sender=0x9c73a60, m=0xb7b861a8, local_signal_index=3, argv=0xbff38e6c) at kernel/qobject.cpp:3101
#28 0xb7a38db3 in KJob::result (this=0x9c73a60, _t1=0x9c73a60) at ./kjob.moc:186
#29 0xb7a39259 in KJob::emitResult (this=0x9c73a60) at ../../kdecore/jobs/kjob.cpp:294
#30 0xb50bf725 in KIO::SimpleJob::slotFinished (this=0x9c73a60) at ../../kio/kio/job.cpp:489
#31 0xb50c0993 in KIO::TransferJob::slotFinished (this=0x9c73a60) at ../../kio/kio/job.cpp:957
#32 0xb50c1a7b in KIO::TransferJob::qt_metacall (this=0x9c73a60, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbff390a8) at ./jobclasses.moc:336
#33 0xb6fb4be0 in QMetaObject::activate (sender=0x9c7c0b0, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3031
#34 0xb6fb5962 in QMetaObject::activate (sender=0x9c7c0b0, m=0xb5268844, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3101
#35 0xb517da87 in KIO::SlaveInterface::finished (this=0x9c7c0b0) at ./slaveinterface.moc:163
#36 0xb51817c7 in KIO::SlaveInterface::dispatch (this=0x9c7c0b0, _cmd=104, rawdata=@0xbff39274) at ../../kio/kio/slaveinterface.cpp:175
#37 0xb517df67 in KIO::SlaveInterface::dispatch (this=0x9c7c0b0) at ../../kio/kio/slaveinterface.cpp:91
#38 0xb516e33d in KIO::Slave::gotInput (this=0x9c7c0b0) at ../../kio/kio/slave.cpp:322
#39 0xb5170893 in KIO::Slave::qt_metacall (this=0x9c7c0b0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff39388) at ./slave.moc:75
#40 0xb6fb4be0 in QMetaObject::activate (sender=0x9c44ba8, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031
#41 0xb6fb5962 in QMetaObject::activate (sender=0x9c44ba8, m=0xb5265320, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#42 0xb5085fa7 in KIO::Connection::readyRead (this=0x9c44ba8) at ./connection.moc:84
#43 0xb5087903 in KIO::ConnectionPrivate::dequeue (this=0x9c5e130) at ../../kio/kio/connection.cpp:82
#44 0xb5087ce6 in KIO::Connection::qt_metacall (this=0x9c44ba8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x9c75108) at ./connection.moc:72
#45 0xb6fadd7b in QMetaCallEvent::placeMetaCall (this=0x9c7d570, object=0x9c44ba8) at kernel/qobject.cpp:529
#46 0xb6faf8f1 in QObject::event (this=0x9c44ba8, e=0x9c7d570) at kernel/qobject.cpp:1155
#47 0xb669579c in QApplicationPrivate::notify_helper (this=0x9b051d8, receiver=0x9c44ba8, e=0x9c7d570) at kernel/qapplication.cpp:3803
#48 0xb669d61e in QApplication::notify (this=0xbff39bc8, receiver=0x9c44ba8, e=0x9c7d570) at kernel/qapplication.cpp:3393
#49 0xb7d5a77d in KApplication::notify (this=0xbff39bc8, receiver=0x9c44ba8, event=0x9c7d570) at ../../kdeui/kernel/kapplication.cpp:307
#50 0xb6fa00e1 in QCoreApplication::notifyInternal (this=0xbff39bc8, receiver=0x9c44ba8, event=0x9c7d570) at kernel/qcoreapplication.cpp:587
#51 0xb6fa0d65 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ada628) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#52 0xb6fa0f5d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#53 0xb6fca99f in postEventSourceDispatch (s=0x9b07720) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#54 0xb49ae1b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#55 0xb49b1853 in ?? () from /usr/lib/libglib-2.0.so.0
#56 0x09b07698 in ?? ()
#57 0x00000000 in ?? ()


I have these debugging packages installed

kdebase-runtime-dbg                                      
kdebase-workspace-dbg                                
kdelibs5-dbg                                     
kdepimlibs-dbg
libqt4-dbg       

if I need anything else to get rid of the ?? in the above backtraces please let me know


As far as I can tell there is an attachment with the mail which is in some way corrupt. In case it matters the name of the attachment is winmail.dat. Other people sent mails to that mailing list saying that they get a corrupt file instead of the expected pdf. 

Just to test if it was really the attachment's fault, I opened the mail (/home/edhunter/.kde4/share/apps/kmail/mail/inbox/cur/1234029201.5562.MKSgM) in a text editor and I removed many lines of letters and numbers which I assumed were the attachment and then saved it to a different file and opened it with a double click (application used to open the mail was Kmail view) and it opened just fine.

If you need more information just let me know and I will try to get it for you
Comment 1 Droopy159 2009-02-09 22:37:01 UTC
*** Bug 183845 has been marked as a duplicate of this bug. ***
Comment 2 Jaime Torres 2009-02-14 12:21:49 UTC
This is 90% sure a duplicate of bug 181351.
Comment 3 Dario Andres 2009-03-15 18:03:47 UTC
If it's not private.. can you attach the mail that crashes the app.
Also, you need to install the "kdepim-dbg" package in order to get a complete backtrace.
Thanks
Comment 4 Dario Andres 2009-09-28 02:02:33 UTC
If you can reproduce the crash at will (or you experience this regularly) on a recent KDE version, can you install the "kdepim-dbg" package and post a complete backtrace here? Thanks
Comment 5 Christophe Marin 2009-10-23 10:23:26 UTC

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