Bug 277139

Summary: Kontact crash after restarting nepomuk
Product: [Applications] kontact Reporter: S. Burmeister <sven.burmeister>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description S. Burmeister 2011-07-05 13:21:39 UTC
Application: kontact (4.6.0)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.3
Operating System: Linux 2.6.37.6-0.5-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: I had kontact open and disabled nepomuk because I had to test some things, i.e. virtuoso-t was constanlty using one core and stuck in a loop, i.e. did not quit even minutes after nepomuk was already disabled.

I got some notifications about nepomuk not being available anymore. When I finished anylysing the virtuoso-t process I had to kill it and restart nepomuk. After this was done I tried to clear the filter in kontact by clicking on the "x" within the input line. Kontact was busy (I guess coping with nepomuk's restart) and that's when the crash happened. An akonadi agent (nepomuk email feeder bug 277138) crashed and kontact crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7f22a840c760 (LWP 27121))]

Thread 3 (Thread 0x7f2290c3d700 (LWP 27122)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f22a4e8e1d4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f22a0813a3f in start_thread (arg=0x7f2290c3d700) at pthread_create.c:297
#3  0x00007f22a5a2f67d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2284ba6700 (LWP 27436)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fffb8c897a1 in ?? ()
#2  0x00007f229f7532b3 in clock_gettime (clock_id=1, tp=0x7f2284ba5b20) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f22a6d3c8d2 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007f22a6dffc4d in QTimerInfoList::updateCurrentTime (this=0x1a1bfb0) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007f22a6dfffc5 in QTimerInfoList::timerWait (this=0x1a1bfb0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007f22a6dfea8c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f2284ba5c4c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007f22a6dfeb35 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007f229f4a2087 in g_main_context_prepare (context=0x1d2f9b0, priority=0x7f2284ba5cbc) at gmain.c:2761
#10 0x00007f229f4a2fa9 in g_main_context_iterate (context=0x1d2f9b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3071
#11 0x00007f229f4a3650 in g_main_context_iteration (context=0x1d2f9b0, may_block=1) at gmain.c:3154
#12 0x00007f22a6dff286 in QEventDispatcherGlib::processEvents (this=0x1c6c3b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007f22a6dd38d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007f22a6dd3ae5 in QEventLoop::exec (this=0x7f2284ba5de0, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007f22a6ce87a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#16 0x00007f22a6db5008 in QInotifyFileSystemWatcherEngine::run (this=0x1301470) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x00007f22a6ceb095 in QThreadPrivate::start (arg=0x1301470) at thread/qthread_unix.cpp:320
#18 0x00007f22a0813a3f in start_thread (arg=0x7f2284ba6700) at pthread_create.c:297
#19 0x00007f22a5a2f67d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f22a840c760 (LWP 27121)):
[KCrash Handler]
#6  0x00007f22a598eab5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f22a598ffb6 in abort () at abort.c:92
#8  0x00007f22a5987385 in __assert_fail (assertion=0x7f22a081e3e5 "(-(e)) != 3 || !robust", file=<value optimized out>, line=312, function=<value optimized out>) at assert.c:81
#9  0x00007f22a0815f0d in __pthread_mutex_lock_full (mutex=0xcd2630) at pthread_mutex_lock.c:312
#10 0x00007f22a6cea043 in QMutexPrivate::wait (this=0xcd2610, timeout=-1) at thread/qmutex_unix.cpp:80
#11 0x00007f22a6ce6ab5 in QMutex::lock (this=0xaac088) at thread/qmutex.cpp:167
#12 0x00007f229aca8512 in QMutexLocker (this=0xc87ce0, __in_chrg=<value optimized out>) at /usr/include/QtCore/qmutex.h:102
#13 Soprano::Client::SocketHandler::~SocketHandler (this=0xc87ce0, __in_chrg=<value optimized out>) at /usr/src/debug/soprano-2.6.0/client/clientconnection.cpp:58
#14 0x00007f229aca8699 in Soprano::Client::SocketHandler::~SocketHandler (this=0xc87ce0, __in_chrg=<value optimized out>) at /usr/src/debug/soprano-2.6.0/client/clientconnection.cpp:61
#15 0x00007f22a6ce9612 in QThreadStorageData::set (this=0x55a7ad0, p=0x3ad0470) at thread/qthreadstorage.cpp:165
#16 0x00007f229aca8b9f in qThreadStorage_setLocalData<Soprano::Client::SocketHandler> (this=0x6d87f20) at /usr/include/QtCore/qthreadstorage.h:92
#17 setLocalData (this=0x6d87f20) at /usr/include/QtCore/qthreadstorage.h:148
#18 Soprano::Client::ClientConnection::socketForCurrentThread (this=0x6d87f20) at /usr/src/debug/soprano-2.6.0/client/clientconnection.cpp:95
#19 0x00007f229aca8c59 in Soprano::Client::ClientConnection::connectInCurrentThread (this=<value optimized out>) at /usr/src/debug/soprano-2.6.0/client/clientconnection.cpp:754
#20 0x00007f229aca7ddf in Soprano::Client::LocalSocketClient::connect (this=0xcc4af8, name=...) at /usr/src/debug/soprano-2.6.0/client/localsocketclient.cpp:141
#21 0x00007f229e067e7e in (anonymous namespace)::GlobalModelContainer::init (this=0xcc4ad0, forced=<value optimized out>) at /usr/src/debug/kdelibs-4.6.4/nepomuk/core/nepomukmainmodel.cpp:102
#22 0x00007f229e06803e in Nepomuk::MainModel::init (this=0xcaa940) at /usr/src/debug/kdelibs-4.6.4/nepomuk/core/nepomukmainmodel.cpp:176
#23 0x00007f229e068487 in Nepomuk::ResourceManager::init (this=0xade7f0) at /usr/src/debug/kdelibs-4.6.4/nepomuk/core/resourcemanager.cpp:328
#24 0x00007f229e082545 in Nepomuk::ResourceManagerPrivate::_k_storageServiceInitialized (this=0xcc32f0, success=<value optimized out>) at /usr/src/debug/kdelibs-4.6.4/nepomuk/core/resourcemanager.cpp:219
#25 0x00007f229e082645 in Nepomuk::ResourceManager::qt_metacall (this=0xade7f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb8c17ea0) at /usr/src/debug/kdelibs-4.6.4/build/nepomuk/resourcemanager.moc:90
#26 0x00007f22a2f8c568 in QDBusConnectionPrivate::deliverCall (this=0x62d3e0, object=0xade7f0, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:941
#27 0x00007f22a2f96b8f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#28 0x00007f22a6de837a in QObject::event (this=0xade7f0, e=<value optimized out>) at kernel/qobject.cpp:1217
#29 0x00007f22a619c144 in QApplicationPrivate::notify_helper (this=0x643860, receiver=0xade7f0, e=0x45c79e0) at kernel/qapplication.cpp:4462
#30 0x00007f22a61a46fa in QApplication::notify (this=<value optimized out>, receiver=0xade7f0, e=0x45c79e0) at kernel/qapplication.cpp:4341
#31 0x00007f22a77373c6 in KApplication::notify (this=0x7fffb8c18980, receiver=0xade7f0, event=0x45c79e0) at /usr/src/debug/kdelibs-4.6.4/kdeui/kernel/kapplication.cpp:311
#32 0x00007f22a6dd447c in QCoreApplication::notifyInternal (this=0x7fffb8c18980, receiver=0xade7f0, event=0x45c79e0) at kernel/qcoreapplication.cpp:731
#33 0x00007f22a6dd7c75 in sendEvent (receiver=0x0, event_type=0, data=0x60d4a0) at kernel/qcoreapplication.h:215
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60d4a0) at kernel/qcoreapplication.cpp:1372
#35 0x00007f22a6dff093 in sendPostedEvents (s=0x63b9c0) at kernel/qcoreapplication.h:220
#36 postEventSourceDispatch (s=0x63b9c0) at kernel/qeventdispatcher_glib.cpp:277
#37 0x00007f229f4a2bd3 in g_main_dispatch (context=0x63b8e0) at gmain.c:2440
#38 g_main_context_dispatch (context=0x63b8e0) at gmain.c:3013
#39 0x00007f229f4a33b0 in g_main_context_iterate (context=0x63b8e0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#40 0x00007f229f4a3650 in g_main_context_iteration (context=0x63b8e0, may_block=1) at gmain.c:3154
#41 0x00007f22a6dff22f in QEventDispatcherGlib::processEvents (this=0x6133b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#42 0x00007f22a6241bae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f22a6dd38d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f22a6dd3ae5 in QEventLoop::exec (this=0x7fffb8c188d0, flags=...) at kernel/qeventloop.cpp:201
#45 0x00007f22a6dd7f2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#46 0x000000000040416f in main (argc=1, argv=0x7fffb8c18fa8) at /usr/src/debug/kdepim-4.6.0/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2011-07-05 20:39:10 UTC

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