Bug 261795

Summary: Kmail segfault on start
Product: [Unmaintained] kmail Reporter: Zebediah C. McClure <zmc>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Zebediah C. McClure 2011-01-01 17:02:43 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
Starting kmail results in an immediate segfault.  Console output suggests that it couldn't find the parent folder of one of my imap accounts (?).

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#7  0x01265fee in KMail::SearchJob::searchCompleteFolder (this=0x8ff7a30) at ../../kmail/searchjob.cpp:87
#8  0x011c3dc4 in KMail::FolderJob::start (this=0x0) at ../../kmail/folderjob.cpp:106
#9  0x0105eb48 in KMFolderImap::search (this=0x8dcd8c8, pattern=0x8ba9d60) at ../../kmail/kmfolderimap.cpp:2408
#10 0x011c2283 in KMSearch::slotProcessNextBatch (this=0x8f226b0) at ../../kmail/kmfoldersearch.cpp:272
#11 0x011c23d3 in KMSearch::qt_metacall (this=0x8f226b0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfc060ec) at ./kmfoldersearch.moc:85
#12 0x01b0b8ca in QMetaObject::metacall (object=0x8f226b0, cl=23978944, idx=7, argv=0xbfc060ec) at kernel/qmetaobject.cpp:237
#13 0x01b1e6ad in QMetaObject::activate (sender=0x8dcfb10, m=0x1c385a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#14 0x01b701e7 in QTimer::timeout (this=0x8dcfb10) at .moc/release-shared/moc_qtimer.cpp:134
#15 0x01b241ce in QTimer::timerEvent (this=0x8dcfb10, e=0xbfc06620) at kernel/qtimer.cpp:271
#16 0x01b18504 in QObject::event (this=0x8dcfb10, e=0x3) at kernel/qobject.cpp:1183
#17 0x040f5fdc in QApplicationPrivate::notify_helper (this=0x8c0ed68, receiver=0x8dcfb10, e=0xbfc06620) at kernel/qapplication.cpp:4396
#18 0x040fc04e in QApplication::notify (this=0xbfc085f0, receiver=0x8dcfb10, e=0xbfc06620) at kernel/qapplication.cpp:3798
#19 0x006df68a in KApplication::notify (this=0xbfc085f0, receiver=0x8dcfb10, event=0xbfc06620) at ../../kdeui/kernel/kapplication.cpp:310
#20 0x01b05b3b in QCoreApplication::notifyInternal (this=0xbfc085f0, receiver=0x8dcfb10, event=0xbfc06620) at kernel/qcoreapplication.cpp:732
#21 0x01b37ad6 in sendEvent (this=0x8b60c74) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0x8b60c74) at kernel/qeventdispatcher_unix.cpp:602
#23 0x01b34874 in timerSourceDispatch (source=0x8b60c40) at kernel/qeventdispatcher_glib.cpp:184
#24 0x01e5e855 in g_main_dispatch (context=0x8b5fe90) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149
#25 g_main_context_dispatch (context=0x8b5fe90) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702
#26 0x01e62668 in g_main_context_iterate (context=0x8b5fe90, block=<value optimized out>, dispatch=1, self=0x8b57da8) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780
#27 0x01e62848 in g_main_context_iteration (context=0x8b5fe90, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#28 0x01b34565 in QEventDispatcherGlib::processEvents (this=0x8b25a28, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#29 0x041b7be5 in QGuiEventDispatcherGlib::processEvents (this=0x8b25a28, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x01b04609 in QEventLoop::processEvents (this=0xbfc069c4, flags=) at kernel/qeventloop.cpp:149
#31 0x01b04a8a in QEventLoop::exec (this=0xbfc069c4, flags=...) at kernel/qeventloop.cpp:201
#32 0x00783837 in KWallet::Wallet::openWallet (name=..., w=0, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:268
#33 0x069d2c27 in MailTransport::TransportManager::wallet (this=0x8ce61c8) at ../../mailtransport/transportmanager.cpp:602
#34 0x069ceb4d in MailTransport::Transport::readPassword (this=0x8ba3a20) at ../../mailtransport/transport.cpp:306
#35 0x069cf071 in MailTransport::Transport::qt_metacall (this=0x8ba3a20, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x8ba2b28) at ./transport.moc:72
#36 0x01b0b8ca in QMetaObject::metacall (object=0x8ba3a20, cl=23978944, idx=5, argv=0x8ba2b28) at kernel/qmetaobject.cpp:237
#37 0x01b16df6 in QMetaCallEvent::placeMetaCall (this=0x8ba19c8, object=0x8ba3a20) at kernel/qobject.cpp:534
#38 0x01b186a2 in QObject::event (this=0x8ba3a20, e=0x3) at kernel/qobject.cpp:1219
#39 0x040f5fdc in QApplicationPrivate::notify_helper (this=0x8c0ed68, receiver=0x8ba3a20, e=0x8ba19c8) at kernel/qapplication.cpp:4396
#40 0x040fc04e in QApplication::notify (this=0xbfc085f0, receiver=0x8ba3a20, e=0x8ba19c8) at kernel/qapplication.cpp:3798
#41 0x006df68a in KApplication::notify (this=0xbfc085f0, receiver=0x8ba3a20, event=0x8ba19c8) at ../../kdeui/kernel/kapplication.cpp:310
#42 0x01b05b3b in QCoreApplication::notifyInternal (this=0xbfc085f0, receiver=0x8ba3a20, event=0x8ba19c8) at kernel/qcoreapplication.cpp:732
#43 0x01b08d8b in sendEvent (receiver=0x0, event_type=0, data=0x8b25f38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b25f38) at kernel/qcoreapplication.cpp:1373
#45 0x01b08f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#46 0x01b34a74 in sendPostedEvents (s=0x8b5ff10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#47 postEventSourceDispatch (s=0x8b5ff10) at kernel/qeventdispatcher_glib.cpp:277
#48 0x01e5e855 in g_main_dispatch (context=0x8b5fe90) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149
#49 g_main_context_dispatch (context=0x8b5fe90) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702
#50 0x01e62668 in g_main_context_iterate (context=0x8b5fe90, block=<value optimized out>, dispatch=1, self=0x8b57da8) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780
#51 0x01e62848 in g_main_context_iteration (context=0x8b5fe90, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#52 0x01b34565 in QEventDispatcherGlib::processEvents (this=0x8b25a28, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#53 0x041b7be5 in QGuiEventDispatcherGlib::processEvents (this=0x8b25a28, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x01b04609 in QEventLoop::processEvents (this=0xbfc07464, flags=) at kernel/qeventloop.cpp:149
#55 0x01b04a8a in QEventLoop::exec (this=0xbfc07464, flags=...) at kernel/qeventloop.cpp:201
#56 0x00783837 in KWallet::Wallet::openWallet (name=..., w=0, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:268
#57 0x069d2c27 in MailTransport::TransportManager::wallet (this=0x8ce61c8) at ../../mailtransport/transportmanager.cpp:602
#58 0x069ceb4d in MailTransport::Transport::readPassword (this=0x8b97480) at ../../mailtransport/transport.cpp:306
#59 0x069cf071 in MailTransport::Transport::qt_metacall (this=0x8b97480, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x8c9ace8) at ./transport.moc:72
#60 0x01b0b8ca in QMetaObject::metacall (object=0x8b97480, cl=23978944, idx=5, argv=0x8c9ace8) at kernel/qmetaobject.cpp:237
#61 0x01b16df6 in QMetaCallEvent::placeMetaCall (this=0x8b9b278, object=0x8b97480) at kernel/qobject.cpp:534
#62 0x01b186a2 in QObject::event (this=0x8b97480, e=0x3) at kernel/qobject.cpp:1219
#63 0x040f5fdc in QApplicationPrivate::notify_helper (this=0x8c0ed68, receiver=0x8b97480, e=0x8b9b278) at kernel/qapplication.cpp:4396
#64 0x040fc04e in QApplication::notify (this=0xbfc085f0, receiver=0x8b97480, e=0x8b9b278) at kernel/qapplication.cpp:3798
#65 0x006df68a in KApplication::notify (this=0xbfc085f0, receiver=0x8b97480, event=0x8b9b278) at ../../kdeui/kernel/kapplication.cpp:310
#66 0x01b05b3b in QCoreApplication::notifyInternal (this=0xbfc085f0, receiver=0x8b97480, event=0x8b9b278) at kernel/qcoreapplication.cpp:732
#67 0x01b08d8b in sendEvent (receiver=0x0, event_type=0, data=0x8b25f38) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#68 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b25f38) at kernel/qcoreapplication.cpp:1373
#69 0x01b08f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#70 0x01b34a74 in sendPostedEvents (s=0x8b5ff10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#71 postEventSourceDispatch (s=0x8b5ff10) at kernel/qeventdispatcher_glib.cpp:277
#72 0x01e5e855 in g_main_dispatch (context=0x8b5fe90) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149
#73 g_main_context_dispatch (context=0x8b5fe90) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702
#74 0x01e62668 in g_main_context_iterate (context=0x8b5fe90, block=<value optimized out>, dispatch=1, self=0x8b57da8) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780
#75 0x01e62848 in g_main_context_iteration (context=0x8b5fe90, may_block=1) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2843
#76 0x01b34565 in QEventDispatcherGlib::processEvents (this=0x8b25a28, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#77 0x041b7be5 in QGuiEventDispatcherGlib::processEvents (this=0x8b25a28, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#78 0x01b04609 in QEventLoop::processEvents (this=0xbfc07f04, flags=) at kernel/qeventloop.cpp:149
#79 0x01b04a8a in QEventLoop::exec (this=0xbfc07f04, flags=...) at kernel/qeventloop.cpp:201
#80 0x00783837 in KWallet::Wallet::openWallet (name=..., w=0, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:268
#81 0x010b393e in KMKernel::wallet (this=0xbfc08528) at ../../kmail/kmkernel.cpp:2498
#82 0x01031d8d in KMail::NetworkAccount::readPassword (this=0x8f52e68) at ../../kmail/networkaccount.cpp:328
#83 0x01032749 in KMail::NetworkAccount::readConfig (this=0x8f52e68, config=...) at ../../kmail/networkaccount.cpp:170
#84 0x010a203f in KMail::PopAccount::readConfig (this=0x8f52e68, config=...) at ../../kmail/popaccount.cpp:208
#85 0x00fc6c9b in KMail::AccountManager::readConfig (this=0x8f1b8b8) at ../../kmail/accountmanager.cpp:131
#86 0x010c779b in KMKernel::init (this=0xbfc08528) at ../../kmail/kmkernel.cpp:1542
#87 0x0804a82f in main (argc=1, argv=0xbfc087b4) at ../../kmail/main.cpp:131

This bug may be a duplicate of or related to bug 258623.

Possible duplicates by query: bug 258623, bug 257710, bug 257022, bug 256444, bug 254349.

Reported using DrKonqi
Comment 1 Nicolas L. 2011-01-03 10:22:23 UTC

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