Bug 200305 - KMail crash in nested event loop when checking for new mail hits an error
Summary: KMail crash in nested event loop when checking for new mail hits an error
Status: RESOLVED DUPLICATE of bug 209153
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.12.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-15 14:39 UTC by Richard Smith
Modified: 2009-10-02 12:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Smith 2009-07-15 14:39:04 UTC
Application that crashed: kontact
Version of the application: 4.3.0 rc2
KDE Version: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
Qt Version: 4.5.2
Operating System: Linux 2.6.31-2-generic x86_64
Distribution: Ubuntu karmic (development branch)

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  KMMsgBase::storage (this=0x2c387d0, t=KMMsgBase::MsgUIDPart) at ../../kmail/kmmsgbase.cpp:140
#6  KMMsgBase::getLongPart (this=0x2c387d0, t=KMMsgBase::MsgUIDPart) at ../../kmail/kmmsgbase.cpp:1004
#7  0x00007fcc62dcb2fa in KMFolderCachedImap::findNewMessages (this=0x14507d0) at ../../kmail/kmfoldercachedimap.cpp:1394
#8  0x00007fcc62ddaa4f in KMFolderCachedImap::uploadNewMessages (this=0x14507d0) at ../../kmail/kmfoldercachedimap.cpp:1404
#9  0x00007fcc62dd9fb1 in KMFolderCachedImap::serverSyncInternal (this=0x14507d0) at ../../kmail/kmfoldercachedimap.cpp:966
#10 0x00007fcc62de2998 in KMFolderCachedImap::createNewFolders (this=0x14507d0) at ../../kmail/kmfoldercachedimap.cpp:1600
#11 0x00007fcc62dd95f3 in KMFolderCachedImap::serverSyncInternal (this=0x14507d0) at ../../kmail/kmfoldercachedimap.cpp:960
#12 0x00007fcc62de5feb in KMFolderCachedImap::qt_metacall (this=0x14507d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff43953db0) at ./kmfoldercachedimap.moc:209
#13 0x00007fcc788d2e1c in QMetaObject::activate (sender=0x36140c0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#14 0x00007fcc62ef43a2 in KMail::FolderJob::result (this=0x0, _t1=0x36140c0) at ./folderjob.moc:140
#15 0x00007fcc62ef4be1 in ~FolderJob (this=0x0, __in_chrg=<value optimized out>) at ../../kmail/folderjob.cpp:95
#16 0x00007fcc62ef5de7 in ~CachedImapJob (this=0x36140c0, __in_chrg=<value optimized out>) at ../../kmail/cachedimapjob.cpp:122
#17 0x00007fcc62efce08 in KMail::CachedImapJob::slotCheckUidValidityResult (this=<value optimized out>, job=0xdbce1a0) at ../../kmail/cachedimapjob.cpp:728
#18 0x00007fcc62ef9de1 in KMail::CachedImapJob::qt_metacall (this=0x36140c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff43954110) at ./cachedimapjob.moc:113
#19 0x00007fcc788d2e1c in QMetaObject::activate (sender=0xdbce1a0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#20 0x00007fcc78ca84b2 in KJob::result (this=0x0, _t1=0xdbce1a0) at ./kjob.moc:188
#21 0x00007fcc78ca882f in KJob::emitResult (this=0xdbce1a0) at ../../kdecore/jobs/kjob.cpp:304
#22 0x00007fcc76d3c3a3 in KIO::SimpleJob::slotFinished (this=0xdbce1a0) at ../../kio/kio/job.cpp:477
#23 0x00007fcc76d3c863 in KIO::TransferJob::slotFinished (this=0xdbce1a0) at ../../kio/kio/job.cpp:948
#24 0x00007fcc76d3b171 in KIO::TransferJob::qt_metacall (this=0xdbce1a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff43954530) at ./jobclasses.moc:343
#25 0x00007fcc788d2e1c in QMetaObject::activate (sender=0x3a91890, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#26 0x00007fcc76dfcf91 in KIO::SlaveInterface::dispatch (this=0x3a91890, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#27 0x00007fcc76df9843 in KIO::SlaveInterface::dispatch (this=0x3a91890) at ../../kio/kio/slaveinterface.cpp:91
#28 0x00007fcc76dec65d in KIO::Slave::gotInput (this=0x3a91890) at ../../kio/kio/slave.cpp:322
#29 0x00007fcc76dee77c in KIO::Slave::qt_metacall (this=0x3a91890, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff439548f0) at ./slave.moc:76
#30 0x00007fcc788d2e1c in QMetaObject::activate (sender=0x23b46b0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#31 0x00007fcc76d0a567 in KIO::ConnectionPrivate::dequeue (this=0x2fa4540) at ../../kio/kio/connection.cpp:82
#32 0x00007fcc76d0a68d in KIO::Connection::qt_metacall (this=0x23b46b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xe8b1030) at ./connection.moc:73
#33 0x00007fcc788cd139 in QObject::event (this=0x23b46b0, e=0xf58b470) at kernel/qobject.cpp:1111
#34 0x00007fcc791d762c in QApplicationPrivate::notify_helper (this=0xcb3280, receiver=0x23b46b0, e=0xf58b470) at kernel/qapplication.cpp:4056
#35 0x00007fcc791de8fe in QApplication::notify (this=0x7fff43956f10, receiver=0x23b46b0, e=0xf58b470) at kernel/qapplication.cpp:4021
#36 0x00007fcc79e0d3f6 in KApplication::notify (this=0x7fff43956f10, receiver=0x23b46b0, event=0xf58b470) at ../../kdeui/kernel/kapplication.cpp:302
#37 0x00007fcc788bdc6c in QCoreApplication::notifyInternal (this=0x7fff43956f10, receiver=0x23b46b0, event=0xf58b470) at kernel/qcoreapplication.cpp:610
#38 0x00007fcc788be84a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xc89eb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xc89eb0) at kernel/qcoreapplication.cpp:1247
#40 0x00007fcc788e6583 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#41 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#42 0x00007fcc726c79fe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0x00007fcc726cb3c8 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0x00007fcc726cb4f0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0x00007fcc788e61f6 in QEventDispatcherGlib::processEvents (this=0xc89ae0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#46 0x00007fcc7926bace in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#47 0x00007fcc788bc572 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#48 0x00007fcc788bc944 in QEventLoop::exec (this=0x7fff439551f0, flags=) at kernel/qeventloop.cpp:201
#49 0x00007fcc79651dee in QDialog::exec (this=0xe621f40) at dialogs/qdialog.cpp:498
#50 0x00007fcc79d93435 in KMessageBox::createKMessageBox (dialog=<value optimized out>, icon=<value optimized out>, text=<value optimized out>, strlist=<value optimized out>, 
    ask=<value optimized out>, checkboxReturn=<value optimized out>, options=) at ../../kdeui/dialogs/kmessagebox.cpp:331
#51 0x00007fcc79d946b0 in KMessageBox::createKMessageBox (dialog=<value optimized out>, icon=QMessageBox::Information, text=<value optimized out>, strlist=<value optimized out>, ask=..., 
    checkboxReturn=0x7fff4395588f, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:151
#52 0x00007fcc79d95e41 in KMessageBox::informationListWId (parent_id=0, text=<value optimized out>, strlist=..., caption=..., dontShowAgainName=..., options=)
    at ../../kdeui/dialogs/kmessagebox.cpp:1008
#53 0x00007fcc79d95faf in KMessageBox::informationList (parent=<value optimized out>, text=..., strlist=..., caption=..., dontShowAgainName=..., options=<value optimized out>)
    at ../../kdeui/dialogs/kmessagebox.cpp:977
#54 0x00007fcc79d96000 in KMessageBox::information (parent=0x0, text=..., caption=<value optimized out>, dontShowAgainName=<value optimized out>, options=<value optimized out>)
    at ../../kdeui/dialogs/kmessagebox.cpp:964
#55 0x00007fcc62d952c6 in KMail::ImapAccountBase::handleError (this=0x1672ed0, errorCode=<value optimized out>, errorMsg=<value optimized out>, job=0xeadf090, context=<value optimized out>, 
    abortSync=<value optimized out>) at ../../kmail/imapaccountbase.cpp:1047
#56 0x00007fcc62d97a39 in KMail::ImapAccountBase::handleJobError (this=0x1672ed0, job=<value optimized out>, context=<value optimized out>, abortSync=<value optimized out>)
    at ../../kmail/imapaccountbase.cpp:374
#57 0x00007fcc62d9cc34 in KMail::ImapAccountBase::slotSimpleResult (this=0x1672ed0, job=0xeadf090) at ../../kmail/imapaccountbase.cpp:928
#58 0x00007fcc62d9d0b3 in KMail::ImapAccountBase::qt_metacall (this=0x1672ed0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff43955ee0) at ./imapaccountbase.moc:138
#59 0x00007fcc62da5230 in KMAcctCachedImap::qt_metacall (this=0x0, _c=76122832, _id=0, _a=0x0) at ./kmacctcachedimap.moc:78
#60 0x00007fcc788d2e1c in QMetaObject::activate (sender=0xeadf090, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#61 0x00007fcc78ca84b2 in KJob::result (this=0x0, _t1=0xeadf090) at ./kjob.moc:188
#62 0x00007fcc78ca882f in KJob::emitResult (this=0xeadf090) at ../../kdecore/jobs/kjob.cpp:304
#63 0x00007fcc76d3c3a3 in KIO::SimpleJob::slotFinished (this=0xeadf090) at ../../kio/kio/job.cpp:477
#64 0x00007fcc76d3ad06 in KIO::SimpleJob::slotError (this=0xeadf090, err=<value optimized out>, errorText=...) at ../../kio/kio/job.cpp:489
#65 0x00007fcc76d3ae48 in KIO::SimpleJob::qt_metacall (this=0xeadf090, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff439561b0) at ./jobclasses.moc:158
#66 0x00007fcc788d2e1c in QMetaObject::activate (sender=0x234dc00, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#67 0x00007fcc76df9536 in KIO::SlaveInterface::error (this=0x0, _t1=149, _t2=<value optimized out>) at ./slaveinterface.moc:153
#68 0x00007fcc76dfd097 in KIO::SlaveInterface::dispatch (this=0x234dc00, _cmd=<value optimized out>, rawdata=...) at ../../kio/kio/slaveinterface.cpp:208
#69 0x00007fcc76df9843 in KIO::SlaveInterface::dispatch (this=0x234dc00) at ../../kio/kio/slaveinterface.cpp:91
#70 0x00007fcc76dec65d in KIO::Slave::gotInput (this=0x234dc00) at ../../kio/kio/slave.cpp:322
#71 0x00007fcc76dee77c in KIO::Slave::qt_metacall (this=0x234dc00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff43956550) at ./slave.moc:76
#72 0x00007fcc788d2e1c in QMetaObject::activate (sender=0x23b5f80, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3113
#73 0x00007fcc76d0a567 in KIO::ConnectionPrivate::dequeue (this=0x23b63a0) at ../../kio/kio/connection.cpp:82
#74 0x00007fcc76d0a68d in KIO::Connection::qt_metacall (this=0x23b5f80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xeb86170) at ./connection.moc:73
#75 0x00007fcc788cd139 in QObject::event (this=0x23b5f80, e=0x2d853f0) at kernel/qobject.cpp:1111
#76 0x00007fcc791d762c in QApplicationPrivate::notify_helper (this=0xcb3280, receiver=0x23b5f80, e=0x2d853f0) at kernel/qapplication.cpp:4056
#77 0x00007fcc791de8fe in QApplication::notify (this=0x7fff43956f10, receiver=0x23b5f80, e=0x2d853f0) at kernel/qapplication.cpp:4021
#78 0x00007fcc79e0d3f6 in KApplication::notify (this=0x7fff43956f10, receiver=0x23b5f80, event=0x2d853f0) at ../../kdeui/kernel/kapplication.cpp:302
#79 0x00007fcc788bdc6c in QCoreApplication::notifyInternal (this=0x7fff43956f10, receiver=0x23b5f80, event=0x2d853f0) at kernel/qcoreapplication.cpp:610
#80 0x00007fcc788be84a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xc89eb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#81 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xc89eb0) at kernel/qcoreapplication.cpp:1247
#82 0x00007fcc788e6583 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#83 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#84 0x00007fcc726c79fe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#85 0x00007fcc726cb3c8 in ?? () from /usr/lib/libglib-2.0.so.0
#86 0x00007fcc726cb4f0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#87 0x00007fcc788e61f6 in QEventDispatcherGlib::processEvents (this=0xc89ae0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#88 0x00007fcc7926bace in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#89 0x00007fcc788bc572 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#90 0x00007fcc788bc944 in QEventLoop::exec (this=0x7fff43956e50, flags=) at kernel/qeventloop.cpp:201
#91 0x00007fcc788beaf9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#92 0x0000000000403f27 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2009-07-18 17:42:13 UTC
Is there a way to reproduce the crash ?

what were the error windows you saw before the crash ?
Comment 2 Christophe Marin 2009-10-02 12:29:02 UTC

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