Bug 238103

Summary: Kmail crashes when internet connection failed
Product: [Unmaintained] kmail Reporter: Dominik <dominik>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: echidnaman
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dominik 2010-05-18 23:58:08 UTC
Application that crashed: kmail
Version of the application: 1.12.4
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-gentoo-r10-04 x86_64

What I was doing when the application crashed:
When the internet connection went down, kmail displayed multiple error messages (something like "cannot connect to IMAP server xyzzy").  I confirmed the messages, but not necessarily in the sequence they appeared.  After that, kmail crashed

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f149c39b2d8 in QList (this=0x8af9c0, disconnectSlave=true) at /usr/include/qt4/QtCore/qlist.h:114
#6  KMAcctImap::killAllJobs (this=0x8af9c0, disconnectSlave=true) at /var/tmp/portage/kde-base/kmail-4.3.5/work/kmail-4.3.5/kmail/kmacctimap.cpp:157
#7  0x00007f149c38b9d1 in KMail::ImapAccountBase::handleError (this=0x8af9c0, errorCode=149, errorMsg=..., job=0x14ad3c0, context=..., abortSync=false)
    at /var/tmp/portage/kde-base/kmail-4.3.5/work/kmail-4.3.5/kmail/imapaccountbase.cpp:1022
#8  0x00007f149c3899a1 in KMail::ImapAccountBase::handleJobError (this=0x8af9c0, job=0x14ad3c0, context=..., abortSync=false)
    at /var/tmp/portage/kde-base/kmail-4.3.5/work/kmail-4.3.5/kmail/imapaccountbase.cpp:374
#9  0x00007f149c38a7ad in KMail::ImapAccountBase::slotSimpleResult (this=0x8af9c0, job=0x14ad3c0) at /var/tmp/portage/kde-base/kmail-4.3.5/work/kmail-4.3.5/kmail/imapaccountbase.cpp:928
#10 0x00007f149c39510a in KMail::ImapAccountBase::qt_metacall (this=0x8af9c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0e947300)
    at /var/tmp/portage/kde-base/kmail-4.3.5/work/kmail-4.3.5_build/kmail/imapaccountbase.moc:144
#11 0x00007f149c399f55 in KMAcctImap::qt_metacall (this=0x7f14963c3e60, _c=128, _id=2, _a=0x7f14963c3e60) at /var/tmp/portage/kde-base/kmail-4.3.5/work/kmail-4.3.5_build/kmail/kmacctimap.moc:83
#12 0x00007f1498201197 in QMetaObject::activate (sender=0x14ad3c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f14963c3e60) at kernel/qobject.cpp:3285
#13 0x00007f149cc25392 in KJob::result (this=0x7f14963c3e60, _t1=0x14ad3c0) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5_build/kdecore/kjob.moc:194
#14 0x00007f149cc2561f in KJob::emitResult (this=0x14ad3c0) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdecore/jobs/kjob.cpp:304
#15 0x00007f1498af2538 in KIO::SimpleJob::slotFinished (this=0x14ad3c0) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kio/job.cpp:477
#16 0x00007f1498aee297 in KIO::SimpleJob::slotError (this=0x14ad3c0, err=<value optimized out>, errorText=...) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kio/job.cpp:489
#17 0x00007f1498aee46a in KIO::SimpleJob::qt_metacall (this=0x14ad3c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff0e9475d0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5_build/kio/jobclasses.moc:170
#18 0x00007f1498201197 in QMetaObject::activate (sender=0xc14db0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f14963c3e60) at kernel/qobject.cpp:3285
#19 0x00007f1498bba486 in KIO::SlaveInterface::error (this=0x7f14963c3e60, _t1=149, _t2=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5_build/kio/slaveinterface.moc:159
#20 0x00007f1498bbe414 in KIO::SlaveInterface::dispatch (this=0xc14db0, _cmd=<value optimized out>, rawdata=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kio/slaveinterface.cpp:208
#21 0x00007f1498bba861 in KIO::SlaveInterface::dispatch (this=0xc14db0) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kio/slaveinterface.cpp:91
#22 0x00007f1498babc8e in KIO::Slave::gotInput (this=0xc14db0) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kio/slave.cpp:323
#23 0x00007f1498baddd8 in KIO::Slave::qt_metacall (this=0xc14db0, _c=QMetaObject::InvokeMetaMethod, _id=9108176, _a=0x7fff0e9479f0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5_build/kio/slave.moc:82
#24 0x00007f1498201197 in QMetaObject::activate (sender=0xd00ae0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f14963c3e60) at kernel/qobject.cpp:3285
#25 0x00007f1498ab7ee9 in KIO::ConnectionPrivate::dequeue (this=0xd01650) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kio/kio/connection.cpp:82
#26 0x00007f1498ab8a8a in KIO::Connection::qt_metacall (this=0xd00ae0, _c=QMetaObject::InvokeMetaMethod, _id=9108176, _a=0x10399c0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5_build/kio/connection.moc:79
#27 0x00007f1498205b88 in QObject::event (this=0xd00ae0, e=0x6603d0) at kernel/qobject.cpp:1240
#28 0x00007f1496d2964d in QApplicationPrivate::notify_helper (this=0x645930, receiver=0xd00ae0, e=0x6603d0) at kernel/qapplication.cpp:4300
#29 0x00007f1496d2c444 in QApplication::notify (this=0x7fff0e9486f0, receiver=0xd00ae0, e=0x6603d0) at kernel/qapplication.cpp:3704
#30 0x00007f149d20992b in KApplication::notify (this=0x7fff0e9486f0, receiver=0xd00ae0, event=0x6603d0) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#31 0x00007f14981ecd8b in QCoreApplication::notifyInternal (this=0x7fff0e9486f0, receiver=0xd00ae0, event=0x6603d0) at kernel/qcoreapplication.cpp:704
#32 0x00007f14981ee039 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x60b590) at kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60b590) at kernel/qcoreapplication.cpp:1345
#34 0x00007f149821c063 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#36 0x00007f149017a06d in g_main_dispatch (context=0x648120) at gmain.c:1960
#37 0x00007f149017be45 in IA__g_main_context_dispatch (context=0x648120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2513
#38 g_main_context_iterate (context=0x648120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#39 0x00007f149017bf8c in IA__g_main_context_iteration (context=0x648120, may_block=1) at gmain.c:2654
#40 0x00007f149821bc1c in QEventDispatcherGlib::processEvents (this=0x60b250, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#41 0x00007f1496dec29f in QGuiEventDispatcherGlib::processEvents (this=0x7f14963c3e60, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f14981eb9b2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f14981ebd84 in QEventLoop::exec (this=0x7fff0e948540, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007f14981ee2b6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#45 0x0000000000403501 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kmail-4.3.5/work/kmail-4.3.5/kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-05-27 20:44:09 UTC

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