Bug 333121

Summary: Kmail fails to start every time due to akonadi failure
Product: [Applications] kmail2 Reporter: Con Kolivas <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.11.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Con Kolivas 2014-04-06 11:08:47 UTC
Application: kmail (4.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.13.0-ck1 x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
Every time I start kmail it fails with akonadi process control not registered dbus type error. This started after the latest ubuntu update followed by a power failure.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f19cabcf800 (LWP 4576))]

Thread 6 (Thread 0x7f19a1d76700 (LWP 4580)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f19bc8b01cd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f19bc8b0209 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f19c581cf6e in start_thread (arg=0x7f19a1d76700) at pthread_create.c:311
#4  0x00007f19c7f569cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f19a0dd8700 (LWP 4581)):
#0  0x00007f19c7f49f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f19c00776a4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f19540029b0, timeout=-1, context=0x7f19540009a0) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:4006
#2  g_main_context_iterate (context=context@entry=0x7f19540009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3707
#3  0x00007f19c00777ac in g_main_context_iteration (context=0x7f19540009a0, may_block=1) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3773
#4  0x00007f19c9597a76 in QEventDispatcherGlib::processEvents (this=0x7f19540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f19c95695ef in QEventLoop::processEvents (this=this@entry=0x7f19a0dd7d30, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f19c95698e5 in QEventLoop::exec (this=this@entry=0x7f19a0dd7d30, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f19c946888f in QThread::exec (this=this@entry=0x2d04db0) at thread/qthread.cpp:542
#8  0x00007f19c954ad13 in QInotifyFileSystemWatcherEngine::run (this=0x2d04db0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f19c946af2f in QThreadPrivate::start (arg=0x2d04db0) at thread/qthread_unix.cpp:338
#10 0x00007f19c581cf6e in start_thread (arg=0x7f19a0dd8700) at pthread_create.c:311
#11 0x00007f19c7f569cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f195bbc4700 (LWP 4583)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f19bc5f0bbd in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f19bc8dfa76 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f19c581cf6e in start_thread (arg=0x7f195bbc4700) at pthread_create.c:311
#4  0x00007f19c7f569cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f195a5b3700 (LWP 4585)):
#0  0x00007f19c7f486bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f19c00b6670 in read (__nbytes=16, __buf=0x7f195a5b2b70, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f1950001f90) at /build/buildd/glib2.0-2.38.1/./glib/gwakeup.c:212
#3  0x00007f19c00771cc in g_main_context_check (context=context@entry=0x7f19440009a0, max_priority=2147483647, fds=fds@entry=0x7f19440027c0, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3513
#4  0x00007f19c007763b in g_main_context_iterate (context=context@entry=0x7f19440009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3709
#5  0x00007f19c00777ac in g_main_context_iteration (context=0x7f19440009a0, may_block=1) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3773
#6  0x00007f19c9597a76 in QEventDispatcherGlib::processEvents (this=0x7f19440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f19c95695ef in QEventLoop::processEvents (this=this@entry=0x7f195a5b2d70, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f19c95698e5 in QEventLoop::exec (this=this@entry=0x7f195a5b2d70, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f19c946888f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#10 0x00007f19c946af2f in QThreadPrivate::start (arg=0x2c8f410) at thread/qthread_unix.cpp:338
#11 0x00007f19c581cf6e in start_thread (arg=0x7f195a5b3700) at pthread_create.c:311
#12 0x00007f19c7f569cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f195afc3700 (LWP 4826)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f19c946b3e4 in wait (time=30000, this=0x2f19220) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x2e95e38, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f19c945e8a5 in QThreadPoolThread::run (this=0x2cca050) at concurrent/qthreadpool.cpp:141
#4  0x00007f19c946af2f in QThreadPrivate::start (arg=0x2cca050) at thread/qthread_unix.cpp:338
#5  0x00007f19c581cf6e in start_thread (arg=0x7f195afc3700) at pthread_create.c:311
#6  0x00007f19c7f569cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f19cabcf800 (LWP 4576)):
[KCrash Handler]
#6  0x0000000002e0da90 in ?? ()
#7  0x00007f19c957fc09 in QObject::connect (sender=sender@entry=0x2f87df0, signal=0x7f19c96446ad "timeout()", signal@entry=0x7f19c96446ac "2timeout()", receiver=receiver@entry=0x2e7b1c0, method=0x7f19c9a83881 "initListOfCollection()", method@entry=0x7f19c9a83880 "1initListOfCollection()", type=Qt::AutoConnection, type@entry=Qt::AutoCompatConnection) at kernel/qobject.cpp:2587
#8  0x00007f19c9587b0c in QSingleShotTimer::QSingleShotTimer (this=0x2f87df0, msec=1000, receiver=0x2e7b1c0, member=0x7f19c9a83880 "1initListOfCollection()") at kernel/qtimer.cpp:300
#9  0x00007f19c9587bce in QTimer::singleShot (msec=msec@entry=1000, receiver=receiver@entry=0x2e7b1c0, member=member@entry=0x7f19c9a83880 "1initListOfCollection()") at kernel/qtimer.cpp:363
#10 0x00007f19c99af144 in KMail::KMSystemTray::initListOfCollection (this=0x2e7b1c0) at ../../kmail/kmsystemtray.cpp:356
#11 0x00007f19c99af5df in updateSystemTray (this=<optimized out>) at ../../kmail/kmsystemtray.cpp:421
#12 KMail::KMSystemTray::setShowUnreadCount (this=<optimized out>, showUnreadCount=<optimized out>) at ../../kmail/kmsystemtray.cpp:151
#13 0x00007f19c99b8e95 in KMKernel::toggleSystemTray (this=0x7fff25071e00) at ../../kmail/kmkernel.cpp:2097
#14 0x00007f19c99f992f in KMMainWidget::readConfig (this=this@entry=0x2ca8820) at ../../kmail/kmmainwidget.cpp:883
#15 0x00007f19c9a09496 in KMMainWidget::KMMainWidget (this=0x2ca8820, parent=<optimized out>, aGUIClient=0x2df6a08, actionCollection=<optimized out>, config=...) at ../../kmail/kmmainwidget.cpp:265
#16 0x00007f19c99706de in KMMainWin::KMMainWin (this=0x2df69a0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmmainwin.cpp:69
#17 0x00007f19c99b871f in KMKernel::openReader (this=0x7fff25071e00, onlyCheck=onlyCheck@entry=false) at ../../kmail/kmkernel.cpp:595
#18 0x00007f19c99be600 in KMKernel::action (this=this@entry=0x7fff25071e00, mailto=mailto@entry=false, check=check@entry=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=..., replyTo=..., inReplyTo=...) at ../../kmail/kmkernel.cpp:1406
#19 0x00007f19c99bf103 in KMKernel::handleCommandLine (this=0x7fff25071e00, noArgsOpensReader=noArgsOpensReader@entry=true) at ../../kmail/kmkernel.cpp:506
#20 0x0000000000403397 in KMailApplication::newInstance (this=0x7fff25071dd0) at ../../kmail/main.cpp:87
#21 0x00007f19ca608ccc in KUniqueApplicationAdaptor::newInstance (this=0x263b280, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#22 0x00007f19ca608d55 in KUniqueApplicationAdaptor::qt_static_metacall (_o=_o@entry=0x263b280, _id=_id@entry=0, _a=_a@entry=0x7fff25071100, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:58
#23 0x00007f19ca608f73 in qt_static_metacall (_a=0x7fff25071100, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x263b280) at ./kuniqueapplication_p.moc:101
#24 KUniqueApplicationAdaptor::qt_metacall (this=0x263b280, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff25071100) at ./kuniqueapplication_p.moc:102
#25 0x00007f19c63a4e36 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x261bbf0, object=object@entry=0x263b280, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#26 0x00007f19c63a5f8b in QDBusConnectionPrivate::activateCall (this=this@entry=0x261bbf0, object=0x263b280, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:863
#27 0x00007f19c63a699d in QDBusConnectionPrivate::activateObject (this=0x261bbf0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#28 0x00007f19c63a6a6b in QDBusActivateObjectEvent::placeMetaCall (this=0x2e19af0) at qdbusintegrator.cpp:1541
#29 0x00007f19c9582dce in QObject::event (this=this@entry=0x7fff25071dd0, e=e@entry=0x2e19af0) at kernel/qobject.cpp:1194
#30 0x00007f19c956efdc in QCoreApplication::event (this=this@entry=0x7fff25071dd0, e=e@entry=0x2e19af0) at kernel/qcoreapplication.cpp:1758
#31 0x00007f19c890cea3 in QApplication::event (this=0x7fff25071dd0, e=0x2e19af0) at kernel/qapplication.cpp:2549
#32 0x00007f19c8907dfc in QApplicationPrivate::notify_helper (this=this@entry=0x262fa70, receiver=receiver@entry=0x7fff25071dd0, e=e@entry=0x2e19af0) at kernel/qapplication.cpp:4567
#33 0x00007f19c890e470 in QApplication::notify (this=this@entry=0x7fff25071dd0, receiver=receiver@entry=0x7fff25071dd0, e=e@entry=0x2e19af0) at kernel/qapplication.cpp:4353
#34 0x00007f19ca601a6a in KApplication::notify (this=0x7fff25071dd0, receiver=0x7fff25071dd0, event=0x2e19af0) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f19c956a8bd in QCoreApplication::notifyInternal (this=0x7fff25071dd0, receiver=receiver@entry=0x7fff25071dd0, event=event@entry=0x2e19af0) at kernel/qcoreapplication.cpp:946
#36 0x00007f19c956de1f in sendEvent (event=0x2e19af0, receiver=0x7fff25071dd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2586220) at kernel/qcoreapplication.cpp:1570
#38 0x00007f19c956e2c3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#39 0x00007f19c9598073 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#40 postEventSourceDispatch (s=s@entry=0x264f130) at kernel/qeventdispatcher_glib.cpp:279
#41 0x00007f19c00773b6 in g_main_dispatch (context=0x264f040) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3065
#42 g_main_context_dispatch (context=context@entry=0x264f040) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3641
#43 0x00007f19c0077708 in g_main_context_iterate (context=context@entry=0x264f040, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3712
#44 0x00007f19c00777ac in g_main_context_iteration (context=0x264f040, may_block=1) at /build/buildd/glib2.0-2.38.1/./glib/gmain.c:3773
#45 0x00007f19c9597a55 in QEventDispatcherGlib::processEvents (this=0x2587b00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007f19c89a99d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f19c95695ef in QEventLoop::processEvents (this=this@entry=0x7fff25071a20, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f19c95698e5 in QEventLoop::exec (this=this@entry=0x7fff25071a20, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f19c956ee5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#50 0x00007f19c890634c in QApplication::exec () at kernel/qapplication.cpp:3828
#51 0x0000000000402d1a in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:146

The reporter indicates this bug may be a duplicate of or related to bug 328912.

Possible duplicates by query: bug 331175, bug 328912.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-04-06 14:16:05 UTC

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