Bug 239013 - Kmail crashes on startup
Summary: Kmail crashes on startup
Status: RESOLVED DUPLICATE of bug 211885
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.13.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 14:47 UTC by ermonnezza
Modified: 2010-05-28 13:56 UTC (History)
1 user (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 ermonnezza 2010-05-27 14:47:33 UTC
Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I had this after a resume from hibernation, and last time I used kmail I did some searches, but I'm not sure it was the first time. Did not notice anything else weird before this. KMail is set up to read a single IMAP account at startup. I logged out and in again, I even rebooted, but it keeps crashing as soon as I start it. I tried to start it from the shell and this is what I get:
$ kmail &
[1] 2839
$ Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kmail(2842) KMFolderMgr::removeFolderAux: Can not find parent folder for  Last Search 
kmail(2842) KMFolderImap::account: No parent folder found for "CoMo" 
KCrash: Application 'kmail' crashing...
sock_file=/home/xxx/.kde/socket-yyy/kdeinit4__0
<unknown program name>(2839)/: Communication problem with  "kmail" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Message did not receive a reply (timeout by message bus)" " 


[1]+  Exit 255                kmail





The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fbac79deb5c in KMail::SearchJob::searchCompleteFolder (this=0x1351f00) at ../../kmail/searchjob.cpp:87
#6  0x00007fbac7809f38 in KMFolderImap::search (this=0x12e6c50, pattern=0x13350f0) at ../../kmail/kmfolderimap.cpp:2403
#7  0x00007fbac79476d7 in KMSearch::slotProcessNextBatch (this=0x127ab30) at ../../kmail/kmfoldersearch.cpp:272
#8  0x00007fbac7948840 in KMSearch::qt_metacall (this=0x127ab30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9915d2f0) at ./kmfoldersearch.moc:85
#9  0x00007fbac621fe3f in QMetaObject::activate (sender=0x12da940, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#10 0x00007fbac621ca63 in QObject::event (this=0x12da940, e=0x7fff9915da40) at kernel/qobject.cpp:1212
#11 0x00007fbac66e022c in QApplicationPrivate::notify_helper (this=0xfd4300, receiver=0x12da940, e=0x7fff9915da40) at kernel/qapplication.cpp:4300
#12 0x00007fbac66e66fb in QApplication::notify (this=0x7fff9915fd10, receiver=0x12da940, e=0x7fff9915da40) at kernel/qapplication.cpp:4183
#13 0x00007fbac87e2526 in KApplication::notify (this=0x7fff9915fd10, receiver=0x12da940, event=0x7fff9915da40) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00007fbac620d06c in QCoreApplication::notifyInternal (this=0x7fff9915fd10, receiver=0x12da940, event=0x7fff9915da40) at kernel/qcoreapplication.cpp:704
#15 0x00007fbac6239d42 in QCoreApplication::sendEvent (this=0x10086a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QTimerInfoList::activateTimers (this=0x10086a0) at kernel/qeventdispatcher_unix.cpp:603
#17 0x00007fbac6236824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#18 0x00007fbabd2758c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#19 0x00007fbabd279748 in ?? () from /lib/libglib-2.0.so.0
#20 0x00007fbabd2798fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#21 0x00007fbac6236513 in QEventDispatcherGlib::processEvents (this=0xf5a000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#22 0x00007fbac679046e in QGuiEventDispatcherGlib::processEvents (this=0x7fff9915d040, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007fbac620b992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007fbac620bd6c in QEventLoop::exec (this=0x7fff9915de20, flags=) at kernel/qeventloop.cpp:201
#25 0x00007fbac8872ec6 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#26 0x00007fbac0a0e56d in MailTransport::TransportManager::wallet (this=0x1239a50) at ../../mailtransport/transportmanager.cpp:602
#27 0x00007fbac0a0a8cd in MailTransport::Transport::readPassword (this=0x124e4a0) at ../../mailtransport/transport.cpp:295
#28 0x00007fbac0a0ad70 in MailTransport::Transport::qt_metacall (this=0x124e4a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at ./transport.moc:72
#29 0x00007fbac621fe3f in QMetaObject::activate (sender=0x1256850, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#30 0x00007fbac622765f in QSingleShotTimer::timerEvent (this=0x1256850) at kernel/qtimer.cpp:308
#31 0x00007fbac621ca63 in QObject::event (this=0x1256850, e=0x7fff9915e9d0) at kernel/qobject.cpp:1212
#32 0x00007fbac66e022c in QApplicationPrivate::notify_helper (this=0xfd4300, receiver=0x1256850, e=0x7fff9915e9d0) at kernel/qapplication.cpp:4300
#33 0x00007fbac66e66fb in QApplication::notify (this=0x7fff9915fd10, receiver=0x1256850, e=0x7fff9915e9d0) at kernel/qapplication.cpp:4183
#34 0x00007fbac87e2526 in KApplication::notify (this=0x7fff9915fd10, receiver=0x1256850, event=0x7fff9915e9d0) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00007fbac620d06c in QCoreApplication::notifyInternal (this=0x7fff9915fd10, receiver=0x1256850, event=0x7fff9915e9d0) at kernel/qcoreapplication.cpp:704
#36 0x00007fbac6239d42 in QCoreApplication::sendEvent (this=0x10086a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QTimerInfoList::activateTimers (this=0x10086a0) at kernel/qeventdispatcher_unix.cpp:603
#38 0x00007fbac6236824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#39 0x00007fbabd2758c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007fbabd279748 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007fbabd2798fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007fbac6236513 in QEventDispatcherGlib::processEvents (this=0xf5a000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007fbac679046e in QGuiEventDispatcherGlib::processEvents (this=0x7fff9915d040, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007fbac620b992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007fbac620bd6c in QEventLoop::exec (this=0x7fff9915edb0, flags=) at kernel/qeventloop.cpp:201
#46 0x00007fbac8872ec6 in KWallet::Wallet::openWallet (name=<value optimized out>, w=<value optimized out>, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:260
#47 0x00007fbac78571f4 in KMKernel::wallet (this=0x7fff9915fba0) at ../../kmail/kmkernel.cpp:2498
#48 0x00007fbac77e1863 in KMail::NetworkAccount::readPassword (this=0x12b9c80) at ../../kmail/networkaccount.cpp:328
#49 0x00007fbac77e201e in KMail::NetworkAccount::readConfig (this=0x12b9c80, config=...) at ../../kmail/networkaccount.cpp:170
#50 0x00007fbac77f0a88 in KMail::ImapAccountBase::readConfig (this=0x7fff9915d040, config=...) at ../../kmail/imapaccountbase.cpp:207
#51 0x00007fbac77834cd in KMail::AccountManager::readConfig (this=<value optimized out>) at ../../kmail/accountmanager.cpp:131
#52 0x00007fbac78697a4 in KMKernel::init (this=0x7fff9915fba0) at ../../kmail/kmkernel.cpp:1542
#53 0x0000000000403421 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:131

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

Possible duplicates by query: bug 238814, bug 238680, bug 238676, bug 238384, bug 238332.

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-05-27 14:57:02 UTC

*** This bug has been marked as a duplicate of bug 211885 ***
Comment 2 ermonnezza 2010-05-28 13:56:48 UTC
today it started without problems. When I tried to start Kontact, Kontact crashed, and after that also KMail kept crashing at startup. I tried to reboot and it worked again.