Bug 322264

Summary: Crash on startup
Product: [Applications] kontact Reporter: Scott Kitterman <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: winter
Priority: NOR    
Version: 4.10.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Scott Kitterman 2013-07-12 04:23:32 UTC
Application: kontact (4.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-26-generic i686
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:  I had been trouble getting Kontact/Akonadi to work since updating to 4.10.5 and had manually exited Kontact and manually stopped Akonadi.  The crash was almost instantly after launching Kontact.  Akonadi was not started before the crash.

This is a bit concerning since I have not seen a crash like this prior to 4.10.5.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1650740 (LWP 3130))]

Thread 5 (Thread 0xaf07ab40 (LWP 3131)):
#0  0xb77c0424 in __kernel_vsyscall ()
#1  0xb318d84b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb60f1d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb56d7ae5 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb56d7b1f in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb3189d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb60e43de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xae759b40 (LWP 3133)):
#0  0xb77c0424 in __kernel_vsyscall ()
#1  0xb318d84b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb60f1d7c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5708f63 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb53e7b1b in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb56ed982 in WTF::threadEntryPoint(void*) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#6  0xb5708b12 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#7  0xb3189d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb60e43de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xac24ab40 (LWP 3136)):
#0  0xb77c0424 in __kernel_vsyscall ()
#1  0xb60d2c9b in read () from /lib/i386-linux-gnu/libc.so.6
#2  0xb3101d4e in read (__nbytes=16, __buf=0xac24a03c, __fd=<optimized out>) at /usr/include/i386-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x9d8c860) at /build/buildd/glib2.0-2.36.0/./glib/gwakeup.c:212
#4  0xb30bf1e3 in g_main_context_check (context=context@entry=0xab9004e0, max_priority=2147483647, fds=fds@entry=0xab902288, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3502
#5  0xb30bf662 in g_main_context_iterate (context=context@entry=0xab9004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3698
#6  0xb30bf831 in g_main_context_iteration (context=0xab9004e0, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#7  0xb6f0dc3f in QEventDispatcherGlib::processEvents (this=0xab900468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0xb6eda3ec in QEventLoop::processEvents (this=this@entry=0xac24a228, flags=...) at kernel/qeventloop.cpp:149
#9  0xb6eda6e1 in QEventLoop::exec (this=this@entry=0xac24a228, flags=...) at kernel/qeventloop.cpp:204
#10 0xb6dc5fec in QThread::exec (this=this@entry=0xa34d620) at thread/qthread.cpp:542
#11 0xb6eb9f2d in QInotifyFileSystemWatcherEngine::run (this=0xa34d620) at io/qfilesystemwatcher_inotify.cpp:256
#12 0xb6dc8b18 in QThreadPrivate::start (arg=0xa34d620) at thread/qthread_unix.cpp:338
#13 0xb3189d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0xb60e43de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xab80cb40 (LWP 3152)):
#0  0xb77c0424 in __kernel_vsyscall ()
#1  0xb60d4dcb in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb30ce2db in poll (__timeout=830, __nfds=1, __fds=0xaaf02160) at /usr/include/i386-linux-gnu/bits/poll2.h:46
#3  g_poll (fds=0xaaf02160, nfds=1, timeout=830) at /build/buildd/glib2.0-2.36.0/./glib/gpoll.c:132
#4  0xb30bf6d0 in g_main_context_poll (n_fds=1, fds=0xaaf02160, timeout=<optimized out>, context=0xaaf004e0, priority=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3995
#5  g_main_context_iterate (context=context@entry=0xaaf004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3696
#6  0xb30bf831 in g_main_context_iteration (context=0xaaf004e0, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#7  0xb6f0dc3f in QEventDispatcherGlib::processEvents (this=0xaaf00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0xb6eda3ec in QEventLoop::processEvents (this=this@entry=0xab80c258, flags=...) at kernel/qeventloop.cpp:149
#9  0xb6eda6e1 in QEventLoop::exec (this=this@entry=0xab80c258, flags=...) at kernel/qeventloop.cpp:204
#10 0xb6dc5fec in QThread::exec (this=this@entry=0x9f71ec8) at thread/qthread.cpp:542
#11 0xb6dc614b in QThread::run (this=0x9f71ec8) at thread/qthread.cpp:609
#12 0xb6dc8b18 in QThreadPrivate::start (arg=0x9f71ec8) at thread/qthread_unix.cpp:338
#13 0xb3189d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0xb60e43de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb1650740 (LWP 3130)):
[KCrash Handler]
#7  0xb775319b in QString (other=..., this=this@entry=0xbfe84d68) at /usr/include/qt4/QtCore/qstring.h:725
#8  KontactInterface::Plugin::identifier (this=0xa103d10) at ../../kontactinterface/plugin.cpp:102
#9  0xb7783141 in activateInitialPluginModule (this=0x9da6f68) at ../../../kontact/src/mainwindow.cpp:325
#10 Kontact::MainWindow::activateInitialPluginModule (this=0x9da6f68) at ../../../kontact/src/mainwindow.cpp:320
#11 0xb7783225 in Kontact::MainWindow::setInitialActivePluginModule (this=0x9da6f68, module=...) at ../../../kontact/src/mainwindow.cpp:302
#12 0x0804b5c8 in KontactApp::newInstance (this=0xbfe85a18) at ../../../kontact/src/main.cpp:148
#13 0xb74fad67 in KUniqueApplicationAdaptor::newInstance (this=this@entry=0x9ea65d8, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#14 0xb74fae16 in qt_static_metacall (_a=0xbfe84ffc, _id=0, _o=0x9ea65d8, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#15 KUniqueApplicationAdaptor::qt_static_metacall (_o=0x9ea65d8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfe84ffc) at ./kuniqueapplication_p.moc:52
#16 0xb74faf9c in KUniqueApplicationAdaptor::qt_metacall (this=0x9ea65d8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfe84ffc) at ./kuniqueapplication_p.moc:102
#17 0xb39d27be in QDBusConnectionPrivate::deliverCall (this=0x9da7330, object=0x9ea65d8, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:951
#18 0xb39d3104 in QDBusConnectionPrivate::activateCall (this=0x9da7330, object=0x9ea65d8, flags=337, msg=...) at qdbusintegrator.cpp:863
#19 0xb39d37e2 in QDBusConnectionPrivate::activateObject (this=0x9da7330, node=..., msg=..., pathStartPos=202847745) at qdbusintegrator.cpp:1427
#20 0xb39d3bd8 in QDBusActivateObjectEvent::placeMetaCall (this=0xc1e8b28) at qdbusintegrator.cpp:1541
#21 0xb6ef748b in QObject::event (this=this@entry=0xbfe85a18, e=e@entry=0xc1e8b28) at kernel/qobject.cpp:1194
#22 0xb6ee06da in QCoreApplication::event (this=this@entry=0xbfe85a18, e=e@entry=0xc1e8b28) at kernel/qcoreapplication.cpp:1758
#23 0xb63d33cd in QApplication::event (this=0xbfe85a18, e=0xc1e8b28) at kernel/qapplication.cpp:2549
#24 0xb63cac7c in QApplicationPrivate::notify_helper (this=0x9dc24a0, receiver=0xbfe85a18, e=0xc1e8b28) at kernel/qapplication.cpp:4567
#25 0xb63cdb94 in QApplication::notify (this=0xc1e8b28, receiver=0xbfe85a18, e=0xc1e8b28) at kernel/qapplication.cpp:3949
#26 0xb74f7491 in KApplication::notify (this=0xbfe85a18, receiver=0xbfe85a18, event=0xc1e8b28) at ../../kdeui/kernel/kapplication.cpp:311
#27 0xb6edb90e in QCoreApplication::notifyInternal (this=0xbfe85a18, receiver=0xbfe85a18, event=0xc1e8b28) at kernel/qcoreapplication.cpp:946
#28 0xb6edf721 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9d86390) at kernel/qcoreapplication.cpp:1570
#30 0xb6edfa8c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#31 0xb6f0daa4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=s@entry=0x9dc25e0) at kernel/qeventdispatcher_glib.cpp:279
#33 0xb30bf3b3 in g_main_dispatch (context=0x9db9540, context@entry=0x9d8c6b8) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3054
#34 g_main_context_dispatch (context=context@entry=0x9db9540) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3630
#35 0xb30bf750 in g_main_context_iterate (context=context@entry=0x9db9540, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3701
#36 0xb30bf831 in g_main_context_iteration (context=0x9db9540, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#37 0xb6f0dc21 in QEventDispatcherGlib::processEvents (this=this@entry=0x9d86f18, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0xb6481a5a in QGuiEventDispatcherGlib::processEvents (this=0x9d86f18, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0xb6eda3ec in QEventLoop::processEvents (this=this@entry=0xbfe85928, flags=...) at kernel/qeventloop.cpp:149
#40 0xb6eda6e1 in QEventLoop::exec (this=this@entry=0xbfe85928, flags=...) at kernel/qeventloop.cpp:204
#41 0xb6ee03fa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#42 0xb63c8fc4 in QApplication::exec () at kernel/qapplication.cpp:3828
#43 0x0804ab27 in main (argc=1, argv=0xbfe85af4) at ../../../kontact/src/main.cpp:219

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

Possible duplicates by query: bug 320449, bug 315612, bug 313028, bug 306003, bug 304391.

Reported using DrKonqi
Comment 1 Allen Winter 2013-07-12 23:48:26 UTC
Scott,
This is a dupe that has been around for a very long time and I have never been able to reproduce.

Any chance you could get us a valgrind report?
Comment 2 Scott Kitterman 2013-07-13 00:39:47 UTC
It happened a few times right after I upgraded to 4.10.5, but not since, so I don't know if I'll be able to do that or not.
Comment 3 Jekyll Wu 2013-08-21 19:22:58 UTC

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