Bug 215869

Summary: crash when opening a message from the outbox under very high load
Product: [Applications] kontact Reporter: Arne Babenhauserheide <arne_bab>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arne Babenhauserheide 2009-11-23 19:59:31 UTC
Application that crashed: kontact
Version of the application: 4.3.3
KDE Version: 4.3.3 (KDE 4.3.3)
Qt Version: 4.5.3
Operating System: Linux 2.6.30-gentoo-r5 x86_64

What I was doing when the application crashed:
I tried to send a mail, but sending failed (needed to receive first). 

Then I found an error in the mail (view in outbox, not yet edit window). 

I doubleclicked it and Kontact died. 

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f417ee5b7b0 in KMReaderWin::parseMsg (this=0x1571ce0, aMsg=0x440d9d0) at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3/kmail/kmreaderwin.cpp:1688
#6  0x00007f417ee5341e in KMReaderWin::displayMessage (this=0x1571ce0) at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3/kmail/kmreaderwin.cpp:1608
#7  0x00007f417ee5361a in KMReaderWin::updateReaderWin (this=0x1571ce0) at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3/kmail/kmreaderwin.cpp:1548
#8  0x00007f417ee56afd in KMReaderWin::qt_metacall (this=0x1571ce0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe4b433d0)
    at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3_build/kmail/kmreaderwin.moc:168
#9  0x00007f41908e8e69 in QMetaObject::activate (sender=0x1571d88, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xb) at kernel/qobject.cpp:3101
#10 0x00007f41908e3763 in QObject::event (this=0x1571d88, e=0x4e) at kernel/qobject.cpp:1066
#11 0x00007f41916776dd in QApplicationPrivate::notify_helper (this=0x64a850, receiver=0x1571d88, e=0x7fffe4b43aa0) at kernel/qapplication.cpp:4065
#12 0x00007f419168000e in QApplication::notify (this=0x7fffe4b46030, receiver=0x1571d88, e=0x7fffe4b43aa0) at kernel/qapplication.cpp:4030
#13 0x00007f41924460f1 in KApplication::notify (this=0x7fffe4b46030, receiver=0x1571d88, event=0x7fffe4b43aa0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3/kdeui/kernel/kapplication.cpp:302
#14 0x00007f41908d3d03 in QCoreApplication::notifyInternal (this=0x7fffe4b46030, receiver=0x1571d88, event=0x7fffe4b43aa0) at kernel/qcoreapplication.cpp:606
#15 0x00007f41908fdbd6 in QTimerInfoList::activateTimers (this=0x63cf50) at kernel/qcoreapplication.h:213
#16 0x00007f41908fae2d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#17 0x00007f418beb6fc1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0x00007f418beba558 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#19 0x00007f418beba70c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0x00007f41908fad9f in QEventDispatcherGlib::processEvents (this=0x6340e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#21 0x00007f419170328f in QGuiEventDispatcherGlib::processEvents (this=0x440d9d0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#22 0x00007f41908d29c2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -457949936}) at kernel/qeventloop.cpp:149
#23 0x00007f41908d2b5c in QEventLoop::exec (this=0x2b545c0, flags={i = -457949760}) at kernel/qeventloop.cpp:197
#24 0x00007f417f07eebe in KMail::KleoJobExecutor::exec (this=0x7fffe4b44050, job=0x44d1270, signature=@0x7fffe4b44840, signedData=@0x7fffe4b44850)
    at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3/kmail/kleojobexecutor.cpp:56
#25 0x00007f417ef6d57d in KMail::ObjectTreeParser::writeOpaqueOrMultipartSignedData (this=0x7fffe4b44d30, data=0x1c4d430, sign=@0x38fbbc0, fromAddress=@0x3fff710, doCheck=true, cleartextData=0x0, 
    paramSignatures=@0x7fffe4b449a0, hideErrors=false) at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3/kmail/objecttreeparser.cpp:476
#26 0x00007f417ef6f723 in KMail::ObjectTreeParser::processMultiPartSignedSubtype (this=0x7fffe4b44d30, node=0x3fff650)
    at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3/kmail/objecttreeparser.cpp:1266
#27 0x00007f417ef6aae0 in KMail::ObjectTreeParser::parseObjectTree (this=0x7fffe4b44d30, node=0x3fff650) at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3/kmail/objecttreeparser.cpp:296
#28 0x00007f417ee28e73 in KMComposeWin::setMsg (this=0x21a81b0, newMsg=0x34c2f90, mayAutoSign=false, allowDecryption=true, isModified=false)
    at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3/kmail/kmcomposewin.cpp:1602
#29 0x00007f417ef8e582 in KMEditMsgCommand::execute (this=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3/kmail/kmcommands.cpp:692
#30 0x00007f417ef8fd1b in KMCommand::slotPostTransfer (this=0x23a90f0, result=KMCommand::OK) at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3/kmail/kmcommands.cpp:274
#31 0x00007f417ef8fdf6 in KMCommand::qt_metacall (this=0x23a90f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe4b45390)
    at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3_build/kmail/kmcommands.moc:87
#32 0x00007f41908e8e69 in QMetaObject::activate (sender=0x23a90f0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xb) at kernel/qobject.cpp:3101
#33 0x00007f417ef7aa3e in KMCommand::messagesTransfered (this=0x440d9d0, _t1=KMCommand::OK) at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3_build/kmail/kmcommands.moc:102
#34 0x00007f417ef8fb2b in KMCommand::transferSelectedMsgs (this=0x23a90f0) at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3/kmail/kmcommands.cpp:368
#35 0x00007f417ef907de in KMCommand::slotStart (this=0x23a90f0) at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3/kmail/kmcommands.cpp:266
#36 0x00007f417ef8fe0a in KMCommand::qt_metacall (this=0x23a90f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe4b45610)
    at /var/tmp/portage/kde-base/kmail-4.3.3/work/kmail-4.3.3_build/kmail/kmcommands.moc:86
#37 0x00007f41908e8e69 in QMetaObject::activate (sender=0x20296f0, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xb) at kernel/qobject.cpp:3101
#38 0x00007f41908ee5ff in QSingleShotTimer::timerEvent (this=0x20296f0) at kernel/qtimer.cpp:298
#39 0x00007f41908e3763 in QObject::event (this=0x20296f0, e=0x4e) at kernel/qobject.cpp:1066
#40 0x00007f41916776dd in QApplicationPrivate::notify_helper (this=0x64a850, receiver=0x20296f0, e=0x7fffe4b45cf0) at kernel/qapplication.cpp:4065
#41 0x00007f419168000e in QApplication::notify (this=0x7fffe4b46030, receiver=0x20296f0, e=0x7fffe4b45cf0) at kernel/qapplication.cpp:4030
#42 0x00007f41924460f1 in KApplication::notify (this=0x7fffe4b46030, receiver=0x20296f0, event=0x7fffe4b45cf0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3/kdeui/kernel/kapplication.cpp:302
#43 0x00007f41908d3d03 in QCoreApplication::notifyInternal (this=0x7fffe4b46030, receiver=0x20296f0, event=0x7fffe4b45cf0) at kernel/qcoreapplication.cpp:606
#44 0x00007f41908fdbd6 in QTimerInfoList::activateTimers (this=0x63cf50) at kernel/qcoreapplication.h:213
#45 0x00007f41908fae2d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#46 0x00007f418beb6fc1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0x00007f418beba558 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#48 0x00007f418beba70c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#49 0x00007f41908fad9f in QEventDispatcherGlib::processEvents (this=0x6340e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#50 0x00007f419170328f in QGuiEventDispatcherGlib::processEvents (this=0x440d9d0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#51 0x00007f41908d29c2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -457941152}) at kernel/qeventloop.cpp:149
#52 0x00007f41908d2b5c in QEventLoop::exec (this=0x7fffe4b45fa0, flags={i = -457941072}) at kernel/qeventloop.cpp:197
#53 0x00007f41908d74d6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#54 0x000000000040405a in main (argc=1, argv=0x7fffe4b46548) at /var/tmp/portage/kde-base/kontact-4.3.3/work/kontact-4.3.3/kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 211139

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-25 14:50:59 UTC
This looks like bug 180741. Can you check
https://bugs.kde.org/show_bug.cgi?id=180741#c41 ? Thanks
Comment 2 Arne Babenhauserheide 2009-11-25 15:20:16 UTC
I have the preview window active, so it's likely that they are related. 

I can't easily check it, though, since the crash only happened once (and I didn't dare do anything which migth have triggered it afterwards).
Comment 3 Dario Andres 2009-11-25 15:30:19 UTC
Thanks

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