Bug 292360

Summary: Nepomuk keeps crashing
Product: [Unmaintained] nepomuk Reporter: Thilo-Alexander Ginkel <thilo>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: crash CC: knut.tr, ljones3, me
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Thilo-Alexander Ginkel 2012-01-24 21:31:37 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.1.0-030100-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

Since upgrading from KDE 4.7.3 to 4.7.4 Nepomuk keeps crashing with the attached backtrace, which basically renders the system unusable. The crashes immediately start happening after logging in.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7f4c32ae7780 (LWP 21193))]

Thread 9 (Thread 0x7f4c17fff700 (LWP 21203)):
#0  0x00007f4c30150773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c2f383f68 in g_main_context_poll (n_fds=1, fds=0x7f4c18006c00, timeout=-1, context=0xc71e30, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#2  g_main_context_iterate (context=0xc71e30, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3  0x00007f4c2f384429 in g_main_context_iteration (context=0xc71e30, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#4  0x00007f4c3260ef3e in QEventDispatcherGlib::processEvents (this=0xc51a50, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f4c325e2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c325e2ef7 in QEventLoop::exec (this=0x7f4c17ffedd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f4c324fa27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f4c325c5cbf in QInotifyFileSystemWatcherEngine::run (this=0xcb4cd0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f4c324fcd05 in QThreadPrivate::start (arg=0xcb4cd0) at thread/qthread_unix.cpp:331
#10 0x00007f4c2fe65efc in start_thread (arg=0x7f4c17fff700) at pthread_create.c:304
#11 0x00007f4c3015c89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f4c1cd2b700 (LWP 21204)):
[KCrash Handler]
#6  same_key (key0=..., h0=<optimized out>, this=0x7f4c00000307) at /usr/include/qt4/QtCore/qhash.h:225
#7  QHash<QUrl, QHashDummyValue>::findNode (this=0xf4b8c8, akey=..., ahp=0x0) at /usr/include/qt4/QtCore/qhash.h:885
#8  0x00007f4c2310dfde in contains (this=0xf4b8c8, akey=...) at /usr/include/qt4/QtCore/qhash.h:872
#9  contains (value=..., this=0xf4b8c8) at /usr/include/qt4/QtCore/qset.h:86
#10 Nepomuk::ClassAndPropertyTree::isChildOf (this=<optimized out>, type=<optimized out>, superClass=...) at ../../../../nepomuk/services/storage/classandpropertytree.cpp:121
#11 0x00007f4c230ea806 in CrappyInferencer2::UpdateAllResourcesThread::run (this=0x12d2d60) at ../../../../nepomuk/services/storage/crappyinferencer2.cpp:107
#12 0x00007f4c324fcd05 in QThreadPrivate::start (arg=0x12d2d60) at thread/qthread_unix.cpp:331
#13 0x00007f4c2fe65efc in start_thread (arg=0x7f4c1cd2b700) at pthread_create.c:304
#14 0x00007f4c3015c89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f4c177fe700 (LWP 21205)):
#0  0x00007f4c30150773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c2f383f68 in g_main_context_poll (n_fds=1, fds=0x7f4c18007f30, timeout=-1, context=0x7f4c180085e0, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#2  g_main_context_iterate (context=0x7f4c180085e0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3  0x00007f4c2f384429 in g_main_context_iteration (context=0x7f4c180085e0, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#4  0x00007f4c3260ef3e in QEventDispatcherGlib::processEvents (this=0x7f4c18000a30, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f4c325e2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c325e2ef7 in QEventLoop::exec (this=0x7f4c177fddb0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f4c324fa27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f4c22eb2728 in ?? () from /usr/lib/libsopranoserver.so.1
#9  0x00007f4c324fcd05 in QThreadPrivate::start (arg=0x12e7100) at thread/qthread_unix.cpp:331
#10 0x00007f4c2fe65efc in start_thread (arg=0x7f4c177fe700) at pthread_create.c:304
#11 0x00007f4c3015c89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f4c16ffd700 (LWP 21206)):
#0  0x00007f4c30150773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c2f383f68 in g_main_context_poll (n_fds=1, fds=0xc73760, timeout=-1, context=0x12ee840, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#2  g_main_context_iterate (context=0x12ee840, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3  0x00007f4c2f384429 in g_main_context_iteration (context=0x12ee840, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#4  0x00007f4c3260ef3e in QEventDispatcherGlib::processEvents (this=0x124e430, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f4c325e2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c325e2ef7 in QEventLoop::exec (this=0x7f4c16ffcd60, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f4c324fa27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f4c22ea20ae in ?? () from /usr/lib/libsopranoserver.so.1
#9  0x00007f4c324fcd05 in QThreadPrivate::start (arg=0xc7a5b0) at thread/qthread_unix.cpp:331
#10 0x00007f4c2fe65efc in start_thread (arg=0x7f4c16ffd700) at pthread_create.c:304
#11 0x00007f4c3015c89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f4c167fc700 (LWP 21207)):
#0  0x00007f4c3016aad4 in pthread_mutex_unlock (mutex=0xce4248) at forward.c:184
#1  0x00007f4c2f38372e in g_main_context_check (context=0xce4240, max_priority=2147483647, fds=<optimized out>, n_fds=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2957
#2  0x00007f4c2f383f82 in g_main_context_iterate (context=0xce4240, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3086
#3  0x00007f4c2f384429 in g_main_context_iteration (context=0xce4240, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#4  0x00007f4c3260ef3e in QEventDispatcherGlib::processEvents (this=0xcaf930, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f4c325e2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c325e2ef7 in QEventLoop::exec (this=0x7f4c167fbd60, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f4c324fa27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f4c22ea20ae in ?? () from /usr/lib/libsopranoserver.so.1
#9  0x00007f4c324fcd05 in QThreadPrivate::start (arg=0x7f4c1800a7d0) at thread/qthread_unix.cpp:331
#10 0x00007f4c2fe65efc in start_thread (arg=0x7f4c167fc700) at pthread_create.c:304
#11 0x00007f4c3015c89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4c15ffb700 (LWP 21208)):
#0  0x00007f4c30150773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c2f383f68 in g_main_context_poll (n_fds=1, fds=0xc87190, timeout=-1, context=0xc78880, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#2  g_main_context_iterate (context=0xc78880, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3  0x00007f4c2f384429 in g_main_context_iteration (context=0xc78880, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#4  0x00007f4c3260ef3e in QEventDispatcherGlib::processEvents (this=0xc50920, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f4c325e2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c325e2ef7 in QEventLoop::exec (this=0x7f4c15ffad60, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f4c324fa27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f4c22ea20ae in ?? () from /usr/lib/libsopranoserver.so.1
#9  0x00007f4c324fcd05 in QThreadPrivate::start (arg=0x7f4c18014d40) at thread/qthread_unix.cpp:331
#10 0x00007f4c2fe65efc in start_thread (arg=0x7f4c15ffb700) at pthread_create.c:304
#11 0x00007f4c3015c89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4c14ff9700 (LWP 21210)):
#0  0x00007f4c2fe691fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0xc9fb58) at pthread_mutex_unlock.c:290
#2  0x00007f4c2f382687 in g_main_context_acquire (context=0xc9fb50) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2542
#3  0x00007f4c2f383d81 in g_main_context_iterate (context=0xc9fb50, block=1, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3033
#4  0x00007f4c2f384429 in g_main_context_iteration (context=0xc9fb50, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#5  0x00007f4c3260ef3e in QEventDispatcherGlib::processEvents (this=0xc2dac0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f4c325e2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4c325e2ef7 in QEventLoop::exec (this=0x7f4c14ff8d60, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f4c324fa27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#9  0x00007f4c22ea20ae in ?? () from /usr/lib/libsopranoserver.so.1
#10 0x00007f4c324fcd05 in QThreadPrivate::start (arg=0xc948e0) at thread/qthread_unix.cpp:331
#11 0x00007f4c2fe65efc in start_thread (arg=0x7f4c14ff9700) at pthread_create.c:304
#12 0x00007f4c3015c89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4c147f8700 (LWP 21217)):
#0  0x00007f4c30150773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c2f383f68 in g_main_context_poll (n_fds=1, fds=0xc4ac40, timeout=-1, context=0xc811d0, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#2  g_main_context_iterate (context=0xc811d0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3  0x00007f4c2f384429 in g_main_context_iteration (context=0xc811d0, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#4  0x00007f4c3260ef3e in QEventDispatcherGlib::processEvents (this=0xc79bd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f4c325e2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c325e2ef7 in QEventLoop::exec (this=0x7f4c147f7d60, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f4c324fa27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f4c22ea20ae in ?? () from /usr/lib/libsopranoserver.so.1
#9  0x00007f4c324fcd05 in QThreadPrivate::start (arg=0xc6fe80) at thread/qthread_unix.cpp:331
#10 0x00007f4c2fe65efc in start_thread (arg=0x7f4c147f8700) at pthread_create.c:304
#11 0x00007f4c3015c89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4c32ae7780 (LWP 21193)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4c324fd1ab in wait (time=18446744073709551615, this=0xce9da0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xc51d00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f4c324fca4c in QThread::wait (this=<optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:745
#4  0x00007f4c230e46dc in CrappyInferencer2::~CrappyInferencer2 (this=0xbf9b00, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/crappyinferencer2.cpp:252
#5  0x00007f4c230e47a9 in CrappyInferencer2::~CrappyInferencer2 (this=0xbf9b00, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/crappyinferencer2.cpp:255
#6  0x00007f4c230d6ff9 in Nepomuk::Repository::close (this=0xb46b10) at ../../../../nepomuk/services/storage/repository.cpp:104
#7  0x00007f4c230d98b7 in Nepomuk::Repository::slotVirtuosoStopped (this=0xb46b10, normalExit=<optimized out>) at ../../../../nepomuk/services/storage/repository.cpp:445
#8  0x00007f4c230da1e4 in Nepomuk::Repository::qt_metacall (this=0xb46b10, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffd9a49ca0) at ./repository.moc:92
#9  0x00007f4c325f6eba in QMetaObject::activate (sender=0xc21b70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd9a49ca0) at kernel/qobject.cpp:3278
#10 0x00007f4c1e0c5f8f in ?? () from /usr/lib/soprano/libsoprano_virtuosobackend.so
#11 0x00007f4c1e0c5fe0 in ?? () from /usr/lib/soprano/libsoprano_virtuosobackend.so
#12 0x00007f4c325faa5e in QObject::event (this=0xc21b70, e=<optimized out>) at kernel/qobject.cpp:1217
#13 0x00007f4c3091d424 in notify_helper (e=0xcd3350, receiver=0xc21b70, this=0x9a0e70) at kernel/qapplication.cpp:4486
#14 QApplicationPrivate::notify_helper (this=0x9a0e70, receiver=0xc21b70, e=0xcd3350) at kernel/qapplication.cpp:4458
#15 0x00007f4c30922291 in QApplication::notify (this=0x7fffd9a4a5f0, receiver=0xc21b70, e=0xcd3350) at kernel/qapplication.cpp:4365
#16 0x00007f4c318fd466 in KApplication::notify (this=0x7fffd9a4a5f0, receiver=0xc21b70, event=0xcd3350) at ../../kdeui/kernel/kapplication.cpp:311
#17 0x00007f4c325e3afc in QCoreApplication::notifyInternal (this=0x7fffd9a4a5f0, receiver=0xc21b70, event=0xcd3350) at kernel/qcoreapplication.cpp:787
#18 0x00007f4c325e751f in sendEvent (event=0xcd3350, receiver=0xc21b70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x976620) at kernel/qcoreapplication.cpp:1428
#20 0x00007f4c3260ea73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#21 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00007f4c2f383a5d in g_main_dispatch (context=0x9a2e80) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#23 g_main_context_dispatch (context=0x9a2e80) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#24 0x00007f4c2f384258 in g_main_context_iterate (context=0x9a2e80, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#25 0x00007f4c2f384429 in g_main_context_iteration (context=0x9a2e80, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#26 0x00007f4c3260eed6 in QEventDispatcherGlib::processEvents (this=0x977ce0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#27 0x00007f4c309c507e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f4c325e2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f4c325e2ef7 in QEventLoop::exec (this=0x7fffd9a4a460, flags=...) at kernel/qeventloop.cpp:201
#30 0x00007f4c325e7789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#31 0x00000000004039b0 in main (argc=2, argv=0x7fffd9a4aa98) at ../../../nepomuk/servicestub/main.cpp:170

Reported using DrKonqi
Comment 1 ljones3 2012-03-02 15:29:23 UTC
Created attachment 69240 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

Nepomuk indexer will periodically crash.  Maybe it is finding a file that it can't index?  Prior to this upgrade the indexing stubs would hang with full processor utilization.  I suppose this is an improvement.

-- Backtrace (Reduced):
#6  same_key (key0=..., h0=<optimized out>, this=0x5) at /usr/include/qt4/QtCore/qhash.h:225
#7  QHash<QUrl, QHashDummyValue>::findNode (this=0x7f58900aeb58, akey=..., ahp=0x0) at /usr/include/qt4/QtCore/qhash.h:885
#8  0x00007f58ad00afde in contains (this=0x7f58900aeb58, akey=...) at /usr/include/qt4/QtCore/qhash.h:872
#9  contains (value=..., this=0x7f58900aeb58) at /usr/include/qt4/QtCore/qset.h:86
#10 Nepomuk::ClassAndPropertyTree::isChildOf (this=<optimized out>, type=<optimized out>, superClass=...) at ../../../../nepomuk/services/storage/classandpropertytree.cpp:121
Comment 2 Christophe Marin 2012-03-08 21:57:07 UTC
*** Bug 295050 has been marked as a duplicate of this bug. ***
Comment 3 Vishesh Handa 2012-06-15 21:45:01 UTC

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