Bug 258623 - KMail crash on startup _after_ exit due to never ending task
Summary: KMail crash on startup _after_ exit due to never ending task
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 261795 262058 262437 263226 266433 272533 274180 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-02 22:35 UTC by happy
Modified: 2012-08-19 10:52 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.56 KB, text/plain)
2010-12-16 08:29 UTC, Janne Rosberg
Details
New crash information added by DrKonqi (3.88 KB, text/plain)
2011-02-08 08:26 UTC, benoit.suffran
Details
New crash information added by DrKonqi (11.35 KB, text/plain)
2011-04-04 09:44 UTC, Sergii
Details
New crash information added by DrKonqi (7.98 KB, text/plain)
2011-06-17 16:41 UTC, Marcin Brański
Details

Note You need to log in before you can comment on or make changes to this bug.
Description happy 2010-12-02 22:35:54 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-23-generic-pae i686
Distribution: Ubuntu 10.10

-- Information about the crash:
Initial condition (before crashes) was that KMail was busy working at displaying a gmail folder but making no headway.
Getting bored with that and getting no satisfaction trying to terminate the task through the UI, I chose to exit the application normally (ie: through the file menu item)

After that, KMail no longer starts, and in seems to crash quite early in launch (no UI apparent)

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#7  KMail::SearchJob::slotSearchFolder (this=0x9c85d10) at ../../kmail/searchjob.cpp:278
#8  0xb6ddee98 in KMail::SearchJob::slotSearchData (this=0x9c85d10, job=0x0, data=...) at ../../kmail/searchjob.cpp:201
#9  0xb6ddefa2 in KMail::SearchJob::searchCompleteFolder (this=0x9c85d10) at ../../kmail/searchjob.cpp:84
#10 0xb6d3cdc4 in KMail::FolderJob::start (this=0x0) at ../../kmail/folderjob.cpp:106
#11 0xb6bd7b48 in KMFolderImap::search (this=0x9c87520, pattern=0x9ca50b8) at ../../kmail/kmfolderimap.cpp:2408
#12 0xb6d3b283 in KMSearch::slotProcessNextBatch (this=0x9c98dc0) at ../../kmail/kmfoldersearch.cpp:272
#13 0xb6d3b3d3 in KMSearch::qt_metacall (this=0x9c98dc0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfa9f70c) at ./kmfoldersearch.moc:85
#14 0xb5baf8ca in QMetaObject::metacall (object=0x9c98dc0, cl=688, idx=7, argv=0xbfa9f70c) at kernel/qmetaobject.cpp:237
#15 0xb5bc26ad in QMetaObject::activate (sender=0x9be9be0, m=0xb5cdc5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#16 0xb5c141e7 in QTimer::timeout (this=0x9be9be0) at .moc/release-shared/moc_qtimer.cpp:134
#17 0xb5bc81ce in QTimer::timerEvent (this=0x9be9be0, e=0xbfa9fc40) at kernel/qtimer.cpp:271
#18 0xb5bbc504 in QObject::event (this=0x9be9be0, e=0x1) at kernel/qobject.cpp:1183
#19 0xb5e09fdc in QApplicationPrivate::notify_helper (this=0x9a2f7d8, receiver=0x9be9be0, e=0xbfa9fc40) at kernel/qapplication.cpp:4396
#20 0xb5e1004e in QApplication::notify (this=0xbfaa1cf0, receiver=0x9be9be0, e=0xbfa9fc40) at kernel/qapplication.cpp:3798
#21 0xb757068a in KApplication::notify (this=0xbfaa1cf0, receiver=0x9be9be0, event=0xbfa9fc40) at ../../kdeui/kernel/kapplication.cpp:310
#22 0xb5ba9b3b in QCoreApplication::notifyInternal (this=0xbfaa1cf0, receiver=0x9be9be0, event=0xbfa9fc40) at kernel/qcoreapplication.cpp:732
#23 0xb5bdbad6 in sendEvent (this=0x9a3e334) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QTimerInfoList::activateTimers (this=0x9a3e334) at kernel/qeventdispatcher_unix.cpp:602
#25 0xb5bd8874 in timerSourceDispatch (source=0x9a3e300) at kernel/qeventdispatcher_glib.cpp:184
#26 0xb3c4d855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0xb3c51668 in ?? () from /lib/libglib-2.0.so.0
#28 0xb3c51848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0xb5bd8565 in QEventDispatcherGlib::processEvents (this=0x9a06a28, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#30 0xb5ecbbe5 in QGuiEventDispatcherGlib::processEvents (this=0x9a06a28, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0xb5ba8609 in QEventLoop::processEvents (this=0xbfa9ffe4, flags=) at kernel/qeventloop.cpp:149
#32 0xb5ba8a8a in QEventLoop::exec (this=0xbfa9ffe4, flags=...) at kernel/qeventloop.cpp:201
#33 0xb7614837 in KWallet::Wallet::openWallet (name=..., w=0, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:268
#34 0xb479fc27 in MailTransport::TransportManager::wallet (this=0x9a557e0) at ../../mailtransport/transportmanager.cpp:602
#35 0xb479bb4d in MailTransport::Transport::readPassword (this=0x9bc2848) at ../../mailtransport/transport.cpp:306
#36 0xb479c071 in MailTransport::Transport::qt_metacall (this=0x9bc2848, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x9bc9a10) at ./transport.moc:72
#37 0xb5baf8ca in QMetaObject::metacall (object=0x9bc2848, cl=688, idx=5, argv=0x9bc9a10) at kernel/qmetaobject.cpp:237
#38 0xb5bbadf6 in QMetaCallEvent::placeMetaCall (this=0x9bbd660, object=0x9bc2848) at kernel/qobject.cpp:534
#39 0xb5bbc6a2 in QObject::event (this=0x9bc2848, e=0x1) at kernel/qobject.cpp:1219
#40 0xb5e09fdc in QApplicationPrivate::notify_helper (this=0x9a2f7d8, receiver=0x9bc2848, e=0x9bbd660) at kernel/qapplication.cpp:4396
#41 0xb5e1004e in QApplication::notify (this=0xbfaa1cf0, receiver=0x9bc2848, e=0x9bbd660) at kernel/qapplication.cpp:3798
#42 0xb757068a in KApplication::notify (this=0xbfaa1cf0, receiver=0x9bc2848, event=0x9bbd660) at ../../kdeui/kernel/kapplication.cpp:310
#43 0xb5ba9b3b in QCoreApplication::notifyInternal (this=0xbfaa1cf0, receiver=0x9bc2848, event=0x9bbd660) at kernel/qcoreapplication.cpp:732
#44 0xb5bacd8b in sendEvent (receiver=0x0, event_type=0, data=0x9a06f20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9a06f20) at kernel/qcoreapplication.cpp:1373
#46 0xb5bacf4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#47 0xb5bd8a74 in sendPostedEvents (s=0x9a3d510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#48 postEventSourceDispatch (s=0x9a3d510) at kernel/qeventdispatcher_glib.cpp:277
#49 0xb3c4d855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#50 0xb3c51668 in ?? () from /lib/libglib-2.0.so.0
#51 0xb3c51848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#52 0xb5bd8565 in QEventDispatcherGlib::processEvents (this=0x9a06a28, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#53 0xb5ecbbe5 in QGuiEventDispatcherGlib::processEvents (this=0x9a06a28, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0xb5ba8609 in QEventLoop::processEvents (this=0xbfaa0a84, flags=) at kernel/qeventloop.cpp:149
#55 0xb5ba8a8a in QEventLoop::exec (this=0xbfaa0a84, flags=...) at kernel/qeventloop.cpp:201
#56 0xb7614837 in KWallet::Wallet::openWallet (name=..., w=0, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:268
#57 0xb479fc27 in MailTransport::TransportManager::wallet (this=0x9a557e0) at ../../mailtransport/transportmanager.cpp:602
#58 0xb479bb4d in MailTransport::Transport::readPassword (this=0x9bb6828) at ../../mailtransport/transport.cpp:306
#59 0xb479c071 in MailTransport::Transport::qt_metacall (this=0x9bb6828, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x9a6fd08) at ./transport.moc:72
#60 0xb5baf8ca in QMetaObject::metacall (object=0x9bb6828, cl=688, idx=5, argv=0x9a6fd08) at kernel/qmetaobject.cpp:237
#61 0xb5bbadf6 in QMetaCallEvent::placeMetaCall (this=0x9bbc310, object=0x9bb6828) at kernel/qobject.cpp:534
#62 0xb5bbc6a2 in QObject::event (this=0x9bb6828, e=0x1) at kernel/qobject.cpp:1219
#63 0xb5e09fdc in QApplicationPrivate::notify_helper (this=0x9a2f7d8, receiver=0x9bb6828, e=0x9bbc310) at kernel/qapplication.cpp:4396
#64 0xb5e1004e in QApplication::notify (this=0xbfaa1cf0, receiver=0x9bb6828, e=0x9bbc310) at kernel/qapplication.cpp:3798
#65 0xb757068a in KApplication::notify (this=0xbfaa1cf0, receiver=0x9bb6828, event=0x9bbc310) at ../../kdeui/kernel/kapplication.cpp:310
#66 0xb5ba9b3b in QCoreApplication::notifyInternal (this=0xbfaa1cf0, receiver=0x9bb6828, event=0x9bbc310) at kernel/qcoreapplication.cpp:732
#67 0xb5bacd8b in sendEvent (receiver=0x0, event_type=0, data=0x9a06f20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#68 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9a06f20) at kernel/qcoreapplication.cpp:1373
#69 0xb5bacf4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#70 0xb5bd8a74 in sendPostedEvents (s=0x9a3d510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#71 postEventSourceDispatch (s=0x9a3d510) at kernel/qeventdispatcher_glib.cpp:277
#72 0xb3c4d855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#73 0xb3c51668 in ?? () from /lib/libglib-2.0.so.0
#74 0xb3c51848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#75 0xb5bd8565 in QEventDispatcherGlib::processEvents (this=0x9a06a28, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#76 0xb5ecbbe5 in QGuiEventDispatcherGlib::processEvents (this=0x9a06a28, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#77 0xb5ba8609 in QEventLoop::processEvents (this=0xbfaa1524, flags=) at kernel/qeventloop.cpp:149
#78 0xb5ba8a8a in QEventLoop::exec (this=0xbfaa1524, flags=...) at kernel/qeventloop.cpp:201
#79 0xb7614837 in KWallet::Wallet::openWallet (name=..., w=0, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:268
#80 0xb6c2c93e in KMKernel::wallet (this=0xbfaa1c28) at ../../kmail/kmkernel.cpp:2498
#81 0xb6baad8d in KMail::NetworkAccount::readPassword (this=0x9cac668) at ../../kmail/networkaccount.cpp:328
#82 0xb6bab749 in KMail::NetworkAccount::readConfig (this=0x9cac668, config=...) at ../../kmail/networkaccount.cpp:170
#83 0xb6bbb1bf in KMail::ImapAccountBase::readConfig (this=0x9cac668, config=...) at ../../kmail/imapaccountbase.cpp:207
#84 0xb6bc0644 in KMAcctImap::readConfig (this=0x9cac668, config=...) at ../../kmail/kmacctimap.cpp:540
#85 0xb6b3fc9b in KMail::AccountManager::readConfig (this=0x9c90718) at ../../kmail/accountmanager.cpp:131
#86 0xb6c4079b in KMKernel::init (this=0xbfaa1c28) at ../../kmail/kmkernel.cpp:1542
#87 0x0804a82f in main (argc=3, argv=0xbfaa1eb4) at ../../kmail/main.cpp:131

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

Possible duplicates by query: bug 253236, bug 235387, bug 230623.

Reported using DrKonqi
Comment 1 Janne Rosberg 2010-12-16 08:29:02 UTC
Created attachment 54820 [details]
New crash information added by DrKonqi

kmail (1.13.5) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.0

kmail
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
"/usr/bin/kmail(8480)" Soprano: "org.freedesktop.DBus.Error.UnknownObject - No such object path '/org/soprano/Server'"
"/usr/bin/kmail(8480)" Soprano: "QLocalSocket::connectToServer: Connection refused"
"/usr/bin/kmail(8480)" Soprano: "org.freedesktop.DBus.Error.UnknownObject - No such object path '/org/soprano/Server'"
"/usr/bin/kmail(8480)" Soprano: "QLocalSocket::connectToServer: Connection refused"
"/usr/bin/kmail(8480)" Soprano: "org.freedesktop.DBus.Error.UnknownObject - No such object path '/org/soprano/Server'"
"/usr/bin/kmail(8480)" Soprano: "QLocalSocket::connectToServer: Connection refused"
kmail(8480) KMFolderMgr::removeFolderAux: Can not find parent folder for  Last Search 
kmail(8480) KMFolder::updateIndicatorIcon: Could not read image from "" 
kmail(8480) KMFolder::updateIndicatorIcon: Could not read image from "" 
kmail(8480) KMFolder::updateIndicatorIcon: Could not read image from "" 
kmail(8480) KMFolderImap::account: No parent folder found for "mymail" 
KCrash: Application 'kmail' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit

-- Backtrace (Reduced):
#7  0x00e66ace in KMail::SearchJob::searchCompleteFolder (this=0x976fe30) at ../../kmail/searchjob.cpp:87
#8  0x00dc4fa4 in KMail::FolderJob::start (this=0x0) at ../../kmail/folderjob.cpp:106
#9  0x00c60528 in KMFolderImap::search (this=0x9755e08, pattern=0x964bc08) at ../../kmail/kmfolderimap.cpp:2408
#10 0x00dc3463 in KMSearch::slotProcessNextBatch (this=0x96b84a0) at ../../kmail/kmfoldersearch.cpp:272
#11 0x00dc35b3 in KMSearch::qt_metacall (this=0x96b84a0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfec779c) at ./kmfoldersearch.moc:85
Comment 2 Nicolas L. 2011-01-03 10:22:23 UTC
*** Bug 261795 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2011-01-04 13:24:27 UTC
*** Bug 262058 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2011-01-08 12:23:41 UTC
*** Bug 262437 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2011-01-15 16:21:01 UTC
*** Bug 263226 has been marked as a duplicate of this bug. ***
Comment 6 Jeff Cave 2011-01-16 00:28:07 UTC
I have been able to work around this issue.

1. GOTO: ~/.kde/share/apps/kmail/
2. rename "imap" to "~imap"

This causes Kmail to reload all mail. Whatever was offending it is forgotten.
Comment 7 benoit.suffran 2011-02-08 08:26:17 UTC
Created attachment 56964 [details]
New crash information added by DrKonqi

kmail (1.13.5) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
kmail sys that it is already running and crash

-- Backtrace (Reduced):
#6  0x00007f8188fdf9fc in KMail::SearchJob::searchCompleteFolder (this=0xa89420) at ../../kmail/searchjob.cpp:87
#7  0x00007f8188e02168 in KMFolderImap::search (this=0xc168f0, pattern=0xc5ce40) at ../../kmail/kmfolderimap.cpp:2408
#8  0x00007f8188f4678d in KMSearch::slotProcessNextBatch (this=0xc623e0) at ../../kmail/kmfoldersearch.cpp:272
#9  0x00007f8188f468e0 in KMSearch::qt_metacall (this=0xc623e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff899514b0) at ./kmfoldersearch.moc:85
[...]
#11 0x00007f81877878f9 in QObject::event (this=0xc914d0, e=0x0) at kernel/qobject.cpp:1183
Comment 8 Christophe Marin 2011-02-14 13:14:14 UTC
@All: please retry with KMail 1.13.6 (from kdepim 4.4.10) and reopen this report if you get the same backtrace with this version.
Comment 9 Christophe Marin 2011-02-16 12:06:23 UTC
*** Bug 266433 has been marked as a duplicate of this bug. ***
Comment 10 Sergii 2011-04-04 09:44:17 UTC
Created attachment 58558 [details]
New crash information added by DrKonqi

kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- Custom settings of the application:

Probably KMail tries to perform search/filter the mails on IMAP server.

-- Backtrace (Reduced):
#6  0x00007f0bee9209fc in KMail::SearchJob::searchCompleteFolder (this=0x2c2ec10) at ../../kmail/searchjob.cpp:87
#7  0x00007f0bee743168 in KMFolderImap::search (this=0x2add880, pattern=0x2be2bb0) at ../../kmail/kmfolderimap.cpp:2408
#8  0x00007f0bee88778d in KMSearch::slotProcessNextBatch (this=0x2bd8270) at ../../kmail/kmfoldersearch.cpp:272
#9  0x00007f0bee8878e0 in KMSearch::qt_metacall (this=0x2bd8270, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffaea45c10) at ./kmfoldersearch.moc:85
[...]
#11 0x00007f0c0a6e68f9 in QObject::event (this=0x2be20f0, e=0x0) at kernel/qobject.cpp:1183
Comment 11 Christophe Marin 2011-05-06 15:46:42 UTC
*** Bug 272533 has been marked as a duplicate of this bug. ***
Comment 12 Christophe Marin 2011-05-26 10:50:39 UTC
*** Bug 274180 has been marked as a duplicate of this bug. ***
Comment 13 Christophe Marin 2011-05-26 10:51:43 UTC
reopening for the moment
Comment 14 marko.gabriel.cz 2011-05-26 16:37:18 UTC
Other workaround:
Remove: ~/.kde/share/apps/kmail/search/Last\ Search
Comment 15 Marcin Brański 2011-06-17 16:41:54 UTC
Created attachment 61091 [details]
New crash information added by DrKonqi

kmail (1.13.6) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

i was normally starting kmail and it just hangs

-- Backtrace (Reduced):
#6  0x00007fb69b1cc6a9 in KMail::SearchJob::searchCompleteFolder (this=0x1bcf620) at ../../kmail/searchjob.cpp:87
#7  0x00007fb69b01de2f in KMFolderImap::search (this=0x1bd7490, pattern=0x1b102f0) at ../../kmail/kmfolderimap.cpp:2408
#8  0x00007fb69b13e3b0 in KMSearch::slotProcessNextBatch (this=0x1bd2a40) at ../../kmail/kmfoldersearch.cpp:272
#9  0x00007fb69b13e508 in KMSearch::qt_metacall (this=0x1bd2a40, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffeac51470) at ./kmfoldersearch.moc:85
[...]
#11 0x00007fb699df41c9 in QObject::event (this=0x1bdcc00, e=<value optimized out>) at kernel/qobject.cpp:1190
Comment 16 Myriam Schweingruber 2012-08-19 10:52:11 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding