Bug 272533 - Kmail crashes on startup
Summary: Kmail crashes on startup
Status: RESOLVED DUPLICATE of bug 258623
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 14:41 UTC by James Green
Modified: 2011-12-07 18:26 UTC (History)
0 users

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 James Green 2011-05-05 14:41:44 UTC
Application: kmail (1.13.6)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
What was I up to: Nothing, just booted; kmenu --> kmail. Kmail crashes before anything appears. Same error for Kontact.

In Kmail i've got one Gmail account.  

If you run from Konsole the following results:

james@greenlinux:~$ kmail
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work 
kmail(3245) KMFolderMgr::removeFolderAux: Can not find parent folder for  Last Search 
kmail(3245) KMFolder::updateIndicatorIcon: Could not read image from "" 
kmail(3245) KMFolder::updateIndicatorIcon: Could not read image from "" 
kmail(3245) KMFolder::updateIndicatorIcon: Could not read image from "" 
kmail(3245) KMFolderImap::account: No parent folder found for "Gmail.com" 
KCrash: Application 'kmail' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/james/.kde/socket-greenlinux/kdeinit4__0
unnamed app(3244): 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)" "

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7708780 (LWP 3245))]

Thread 2 (Thread 0xb4b34b70 (LWP 3248)):
#0  0x00971416 in __kernel_vsyscall ()
#1  0x008b7f76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x01e1284b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01e021af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01e0292b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x02d0f304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x01e2b2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x07ffbe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x008c673e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb7708780 (LWP 3245)):
[KCrash Handler]
#7  0x0135768e in KMail::SearchJob::searchCompleteFolder (this=0x9c7a9f0) at ../../kmail/searchjob.cpp:87
#8  0x012c4504 in KMail::FolderJob::start (this=0x9c7a9f0) at ../../kmail/folderjob.cpp:106
#9  0x011915c8 in KMFolderImap::search (this=0x9c3b6a8, pattern=0x9b01598) at ../../kmail/kmfolderimap.cpp:2408
#10 0x012c2ca5 in KMSearch::slotProcessNextBatch (this=0x9c30820) at ../../kmail/kmfoldersearch.cpp:272
#11 0x012c2df3 in KMSearch::qt_metacall (this=0x9c30820, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf918f0c) at ./kmfoldersearch.moc:85
#12 0x006196ba in QMetaObject::metacall (object=0x9c30820, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbf918f0c) at kernel/qmetaobject.cpp:237
#13 0x006294ff in QMetaObject::activate (sender=0x9c2f1f0, m=0x74e5a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#14 0x006762f7 in QTimer::timeout (this=0x9c2f1f0) at .moc/release-shared/moc_qtimer.cpp:134
#15 0x0062f3ee in QTimer::timerEvent (this=0x9c2f1f0, e=0xbf91942c) at kernel/qtimer.cpp:271
#16 0x00628214 in QObject::event (this=0x9c2f1f0, e=0xbf91942c) at kernel/qobject.cpp:1190
#17 0x04e7fd24 in QApplicationPrivate::notify_helper (this=0x9a6eee0, receiver=0x9c2f1f0, e=0xbf91942c) at kernel/qapplication.cpp:4462
#18 0x04e848ce in QApplication::notify (this=0xbf91a98c, receiver=0x9c2f1f0, e=0xbf91942c) at kernel/qapplication.cpp:3862
#19 0x00da63ca in KApplication::notify (this=0xbf91a98c, receiver=0x9c2f1f0, event=0xbf91942c) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x006130bb in QCoreApplication::notifyInternal (this=0xbf91a98c, receiver=0x9c2f1f0, event=0xbf91942c) at kernel/qcoreapplication.cpp:731
#21 0x006431e4 in sendEvent (this=0x9a70a34) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0x9a70a34) at kernel/qeventdispatcher_unix.cpp:604
#23 0x0063fdf4 in timerSourceDispatch (source=0x9a70a00) at kernel/qeventdispatcher_glib.cpp:184
#24 0x01e01aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0x01e02270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0x01e02524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0x0064053c in QEventDispatcherGlib::processEvents (this=0x9a09a98, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#28 0x04f33775 in QGuiEventDispatcherGlib::processEvents (this=0x9a09a98, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00612289 in QEventLoop::processEvents (this=0xbf9197c4, flags=...) at kernel/qeventloop.cpp:149
#30 0x00612522 in QEventLoop::exec (this=0xbf9197c4, flags=...) at kernel/qeventloop.cpp:201
#31 0x00e34df9 in KWallet::Wallet::openWallet (name=..., w=0, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:304
#32 0x0164af74 in MailTransport::TransportManager::wallet (this=0x9b5b490) at ../../mailtransport/transportmanager.cpp:602
#33 0x01642a1d in MailTransport::Transport::readPassword (this=0x9bcd278) at ../../mailtransport/transport.cpp:305
#34 0x01643211 in MailTransport::Transport::qt_metacall (this=0x9bcd278, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x9b8d010) at ./transport.moc:72
#35 0x006196ba in QMetaObject::metacall (object=0x9bcd278, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x9b8d010) at kernel/qmetaobject.cpp:237
#36 0x00623e16 in QMetaCallEvent::placeMetaCall (this=0x9bd3e50, object=0x9bcd278) at kernel/qobject.cpp:535
#37 0x006283b7 in QObject::event (this=0x9bcd278, e=0x9bd3e50) at kernel/qobject.cpp:1226
#38 0x04e7fd24 in QApplicationPrivate::notify_helper (this=0x9a6eee0, receiver=0x9bcd278, e=0x9bd3e50) at kernel/qapplication.cpp:4462
#39 0x04e848ce in QApplication::notify (this=0xbf91a98c, receiver=0x9bcd278, e=0x9bd3e50) at kernel/qapplication.cpp:3862
#40 0x00da63ca in KApplication::notify (this=0xbf91a98c, receiver=0x9bcd278, event=0x9bd3e50) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x006130bb in QCoreApplication::notifyInternal (this=0xbf91a98c, receiver=0x9bcd278, event=0x9bd3e50) at kernel/qcoreapplication.cpp:731
#42 0x00616c79 in sendEvent (receiver=0x0, event_type=0, data=0x9a09f40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9a09f40) at kernel/qcoreapplication.cpp:1372
#44 0x00616e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#45 0x006403c4 in sendPostedEvents (s=0x9a66b00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=0x9a66b00) at kernel/qeventdispatcher_glib.cpp:277
#47 0x01e01aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0x01e02270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0x01e02524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0x0064053c in QEventDispatcherGlib::processEvents (this=0x9a09a98, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#51 0x04f33775 in QGuiEventDispatcherGlib::processEvents (this=0x9a09a98, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00612289 in QEventLoop::processEvents (this=0xbf91a254, flags=...) at kernel/qeventloop.cpp:149
#53 0x00612522 in QEventLoop::exec (this=0xbf91a254, flags=...) at kernel/qeventloop.cpp:201
#54 0x00e34df9 in KWallet::Wallet::openWallet (name=..., w=0, ot=KWallet::Wallet::Synchronous) at ../../kdeui/util/kwallet.cpp:304
#55 0x011d8557 in KMKernel::wallet (this=0xbf91a8c4) at ../../kmail/kmkernel.cpp:2497
#56 0x0115afad in KMail::NetworkAccount::readPassword (this=0x9c73718) at ../../kmail/networkaccount.cpp:328
#57 0x0115b85a in KMail::NetworkAccount::readConfig (this=0x9c73718, config=...) at ../../kmail/networkaccount.cpp:170
#58 0x0116824f in KMail::ImapAccountBase::readConfig (this=0x9c73718, config=...) at ../../kmail/imapaccountbase.cpp:207
#59 0x0116ca54 in KMAcctImap::readConfig (this=0x9c73718, config=...) at ../../kmail/kmacctimap.cpp:540
#60 0x011035cf in KMail::AccountManager::readConfig (this=0x9c34200) at ../../kmail/accountmanager.cpp:131
#61 0x011dfc28 in KMKernel::init (this=0xbf91a8c4) at ../../kmail/kmkernel.cpp:1542
#62 0x0804a6ec in main (argc=0, argv=0x0) at ../../kmail/main.cpp:131

Reported using DrKonqi
Comment 1 James Green 2011-05-06 15:39:01 UTC
Moved the directories held in /home/james/.kde/share/apps/kmail

to home/james/.kde/share/apps/kmail/Old

then restarted kmail.

All is now well. Not lost anything because all mail held on the IMAP account.

Wouldn't work for someone with POP though as they (might) loose some data.

J
Comment 2 Christophe Marin 2011-05-06 15:46:42 UTC

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