Bug 291753

Summary: Kontact crash at startup
Product: [Applications] kontact Reporter: Simon <yodayado>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Simon 2012-01-17 09:43:35 UTC
Application: kontact (4.8 rc2)
KDE Platform Version: 4.7.97 (4.8 RC2 (4.7.97) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.1-gentoo x86_64
Distribution: "Gentoo Base System release 2.0.3"

-- Information about the crash:
Kontact often crash at startup after overloading my CPU. The GUI is non responsive.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f04236e6760 (LWP 27763))]

Thread 4 (Thread 0x7f040d1c9700 (LWP 27764)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f041ff8f62c in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f041ff8f759 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007f041b626e6c in start_thread (arg=0x7f040d1c9700) at pthread_create.c:301
#4  0x00007f0420c91b1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f040c8c8700 (LWP 27765)):
#0  0x00007f0420c88fe3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f041a47e82b in g_poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at gpoll.c:132
#2  0x00007f041a471d86 in g_main_context_poll (n_fds=1, fds=0x7f04080013d0, priority=<optimized out>, timeout=-1, context=0x7f0408000990) at gmain.c:3402
#3  g_main_context_iterate (context=0x7f0408000990, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#4  0x00007f041a471fa5 in g_main_context_iteration (context=0x7f0408000990, may_block=1) at gmain.c:3152
#5  0x00007f042208fd36 in QEventDispatcherGlib::processEvents (this=0x7f04080008b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f042205fb82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f042205fdd7 in QEventLoop::exec (this=0x7f040c8c7e20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0421f5fc87 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f0421f62cab in QThreadPrivate::start (arg=0x234abb0) at thread/qthread_unix.cpp:298
#10 0x00007f041b626e6c in start_thread (arg=0x7f040c8c8700) at pthread_create.c:301
#11 0x00007f0420c91b1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f03c05b3700 (LWP 27772)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f0421f6311f in wait (time=30000, this=0x2b1df30) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b1dea8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0421f5656f in QThreadPoolThread::run (this=0x2b31600) at concurrent/qthreadpool.cpp:141
#4  0x00007f0421f62cab in QThreadPrivate::start (arg=0x2b31600) at thread/qthread_unix.cpp:298
#5  0x00007f041b626e6c in start_thread (arg=0x7f03c05b3700) at pthread_create.c:301
#6  0x00007f0420c91b1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f04236e6760 (LWP 27763)):
[KCrash Handler]
#6  QMutex::lock (this=0x2a73498) at thread/qmutex.cpp:153
#7  0x00007f0414f8aa97 in lockInline (this=0x2a73498) at /usr/include/qt4/QtCore/qmutex.h:198
#8  QMutexLocker (m=0x2a73498, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qmutex.h:109
#9  Soprano::Client::SocketHandler::~SocketHandler (this=0x2a76980, __in_chrg=<optimized out>) at /usr/src/debug/dev-libs/soprano-2.7.3/soprano-2.7.3/client/clientconnection.cpp:58
#10 0x00007f0414f8ab1f in Soprano::Client::SocketHandler::~SocketHandler (this=0x2a76980, __in_chrg=<optimized out>) at /usr/src/debug/dev-libs/soprano-2.7.3/soprano-2.7.3/client/clientconnection.cpp:61
#11 0x00007f0414f8ab38 in qThreadStorage_deleteData<Soprano::Client::SocketHandler> (d=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:97
#12 QThreadStorage<Soprano::Client::SocketHandler*>::deleteData (x=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:140
#13 0x00007f0421f60c7d in QThreadStorageData::set (this=0x31462c0, p=0x31857d0) at thread/qthreadstorage.cpp:165
#14 0x00007f0414f8888c in qThreadStorage_setLocalData<Soprano::Client::SocketHandler> (t=<synthetic pointer>, d=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:92
#15 setLocalData (t=0x31857d0, this=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:155
#16 Soprano::Client::ClientConnection::socketForCurrentThread (this=0x312f820) at /usr/src/debug/dev-libs/soprano-2.7.3/soprano-2.7.3/client/clientconnection.cpp:95
#17 0x00007f0414f888bb in Soprano::Client::ClientConnection::connectInCurrentThread (this=<optimized out>) at /usr/src/debug/dev-libs/soprano-2.7.3/soprano-2.7.3/client/clientconnection.cpp:754
#18 0x00007f0414f87e02 in Soprano::Client::LocalSocketClient::connect (this=0x2a710c8, name=...) at /usr/src/debug/dev-libs/soprano-2.7.3/soprano-2.7.3/client/localsocketclient.cpp:141
#19 0x00007f04194990ce in init (forced=true, this=0x2a710a0) at /usr/src/debug/kde-base/kdelibs-4.7.97-r1/kdelibs-4.7.97/nepomuk/core/nepomukmainmodel.cpp:102
#20 Nepomuk::MainModel::init (this=0x289dd50) at /usr/src/debug/kde-base/kdelibs-4.7.97-r1/kdelibs-4.7.97/nepomuk/core/nepomukmainmodel.cpp:176
#21 0x00007f041949259f in Nepomuk::ResourceManager::init (this=0x21bfef0) at /usr/src/debug/kde-base/kdelibs-4.7.97-r1/kdelibs-4.7.97/nepomuk/core/resourcemanager.cpp:331
#22 0x00007f04194943a7 in Nepomuk::ResourceManagerPrivate::_k_storageServiceInitialized (this=0x2a6fd80, success=<optimized out>) at /usr/src/debug/kde-base/kdelibs-4.7.97-r1/kdelibs-4.7.97/nepomuk/core/resourcemanager.cpp:221
#23 0x00007f0419494422 in Nepomuk::ResourceManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kde-base/kdelibs-4.7.97-r1/kdelibs-4.7.97_build/nepomuk/resourcemanager.moc:67
#24 0x00007f041949447c in Nepomuk::ResourceManager::qt_metacall (this=0x21bfef0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff49d02e00) at /usr/src/debug/kde-base/kdelibs-4.7.97-r1/kdelibs-4.7.97_build/nepomuk/resourcemanager.moc:107
#25 0x00007f041ddf0281 in QDBusConnectionPrivate::deliverCall (this=0x21987d0, object=0x21bfef0, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:947
#26 0x00007f0422079ce6 in QObject::event (this=0x21bfef0, e=<optimized out>) at kernel/qobject.cpp:1195
#27 0x00007f0421412874 in notify_helper (e=0x245e490, receiver=0x21bfef0, this=0x21ae4a0) at kernel/qapplication.cpp:4550
#28 QApplicationPrivate::notify_helper (this=0x21ae4a0, receiver=0x21bfef0, e=0x245e490) at kernel/qapplication.cpp:4522
#29 0x00007f04214176f3 in QApplication::notify (this=0x7fff49d03940, receiver=0x21bfef0, e=0x245e490) at kernel/qapplication.cpp:4411
#30 0x00007f0422ab2181 in KApplication::notify (this=0x7fff49d03940, receiver=0x21bfef0, event=0x245e490) at /usr/src/debug/kde-base/kdelibs-4.7.97-r1/kdelibs-4.7.97/kdeui/kernel/kapplication.cpp:311
#31 0x00007f0422060d9c in QCoreApplication::notifyInternal (this=0x7fff49d03940, receiver=0x21bfef0, event=0x245e490) at kernel/qcoreapplication.cpp:876
#32 0x00007f042206463a in sendEvent (event=0x245e490, receiver=0x21bfef0) at src/corelib/kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2178830) at kernel/qcoreapplication.cpp:1500
#34 0x00007f042208f8a3 in sendPostedEvents () at src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x21c36d0) at kernel/qeventdispatcher_glib.cpp:279
#36 0x00007f041a47181c in g_main_dispatch (context=0x21b08e0) at gmain.c:2441
#37 g_main_context_dispatch (context=0x21b08e0) at gmain.c:3011
#38 0x00007f041a471ddb in g_main_context_iterate (context=0x21b08e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#39 0x00007f041a471fa5 in g_main_context_iteration (context=0x21b08e0, may_block=1) at gmain.c:3152
#40 0x00007f042208fccf in QEventDispatcherGlib::processEvents (this=0x21780c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#41 0x00007f04214b549e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f042205fb82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f042205fdd7 in QEventLoop::exec (this=0x7fff49d038d0, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f0422064935 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#45 0x00000000004040b3 in main (argc=1, argv=0x7fff49d03f88) at /usr/src/debug/kde-base/kontact-4.7.97/kontact-4.7.97/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2012-01-17 13:07:13 UTC

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