Bug 258384

Summary: nepomukservicestab crashes with facetted browsing in Dolphin
Product: [Unmaintained] nepomuk Reporter: Andreas Kuhl <mail>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: crash CC: trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas Kuhl 2010-11-30 15:22:26 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.5.80 (4.6 Beta1)
Qt Version: 4.7.1
Operating System: Linux 2.6.35-2-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
If I go to faceted browsing mode in Dolphin, filter for images and while the image list is loading, change the time range for "this month", nepomukservicestab crashes.

After the crash, faceted browsing finds nothing in Dolphin until restarting Akonadi.

The crash can be reproduced every time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8eff34b760 (LWP 23549))]

Thread 6 (Thread 0x7f8eeeffa710 (LWP 23580)):
#0  0x00007f8efeac3709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8efed4e072 in wait (this=<value optimized out>, mutex=0x75bf40, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x75bf40, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f8efed43e98 in QThreadPoolThread::run (this=0x7eea60) at concurrent/qthreadpool.cpp:140
#4  0x00007f8efed4da1e in QThreadPrivate::start (arg=0x7eea60) at thread/qthread_unix.cpp:285
#5  0x00007f8efeabea4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8efc83a82d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f8eee7f9710 (LWP 23581)):
#0  0x00007f8efeac3709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8efed4e072 in wait (this=<value optimized out>, mutex=0x75bf40, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x75bf40, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f8efed43e98 in QThreadPoolThread::run (this=0x7cc500) at concurrent/qthreadpool.cpp:140
#4  0x00007f8efed4da1e in QThreadPrivate::start (arg=0x7cc500) at thread/qthread_unix.cpp:285
#5  0x00007f8efeabea4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8efc83a82d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8eedff8710 (LWP 23582)):
[KCrash Handler]
#6  ref (this=0xfb3b60, isDelete=true) at /usr/include/QtCore/qatomic_x86_64.h:121
#7  QHash (this=0xfb3b60, isDelete=true) at /usr/include/QtCore/qhash.h:283
#8  QSet (this=0xfb3b60, isDelete=true) at /usr/include/QtCore/qset.h:60
#9  QForeachContainer (this=0xfb3b60, isDelete=true) at /usr/include/QtCore/qglobal.h:2249
#10 Nepomuk::ResourceData::resetAll (this=0xfb3b60, isDelete=true) at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resourcedata.cpp:154
#11 0x00007f8efdad63ce in Nepomuk::ResourceData::~ResourceData (this=0xfb3b60, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resourcedata.cpp:90
#12 0x00007f8efdad6b13 in Nepomuk::Resource::~Resource (this=0xf8d220, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resource.cpp:127
#13 0x00007f8ef55700f7 in ~ResourceTermPrivate (this=0xf8d210, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/resourceterm_p.h:33
#14 Nepomuk::Query::ResourceTermPrivate::~ResourceTermPrivate (this=0xf8d210, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/resourceterm_p.h:33
#15 0x00007f8ef5570931 in ~SimpleTermPrivate (this=0xfcb7d0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/simpleterm_p.h:30
#16 ~ComparisonTermPrivate (this=0xfcb7d0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/comparisonterm_p.h:36
#17 Nepomuk::Query::ComparisonTermPrivate::~ComparisonTermPrivate (this=0xfcb7d0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/comparisonterm_p.h:36
#18 0x00007f8ef55707f7 in ~SimpleTermPrivate (this=0xfc02b0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/simpleterm_p.h:30
#19 ~NegationTermPrivate (this=0xfc02b0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/negationterm_p.h:30
#20 Nepomuk::Query::NegationTermPrivate::~NegationTermPrivate (this=0xfc02b0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/negationterm_p.h:30
#21 0x00007f8ef5571344 in node_destruct (this=<value optimized out>, data=0xfcb720) at /usr/include/QtCore/qlist.h:418
#22 QList<Nepomuk::Query::Term>::free (this=<value optimized out>, data=0xfcb720) at /usr/include/QtCore/qlist.h:742
#23 0x00007f8ef5571457 in ~GroupTermPrivate (this=0xfa50f0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/groupterm_p.h:30
#24 ~AndTermPrivate (this=0xfa50f0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/andterm_p.h:30
#25 Nepomuk::Query::AndTermPrivate::~AndTermPrivate (this=0xfa50f0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/andterm_p.h:30
#26 0x00007f8ef5560c71 in Nepomuk::Query::Query::toSparqlQuery (this=<value optimized out>, sparqlFlags=...) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/query.cpp:469
#27 0x00007f8eef0071f6 in ?? () from /usr/lib64/kde4/nepomukqueryservice.so
#28 0x00007f8efed43e08 in QThreadPoolThread::run (this=0x785a60) at concurrent/qthreadpool.cpp:106
#29 0x00007f8efed4da1e in QThreadPrivate::start (arg=0x785a60) at thread/qthread_unix.cpp:285
#30 0x00007f8efeabea4f in start_thread () from /lib64/libpthread.so.0
#31 0x00007f8efc83a82d in clone () from /lib64/libc.so.6
#32 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8eed7f7710 (LWP 23583)):
#0  0x00007f8efeac339c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8efed4cb53 in QMutexPrivate::wait (this=0x75c070, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f8efed494c5 in QMutex::lock (this=0x75b450) at thread/qmutex.cpp:167
#3  0x00007f8efdad4fbc in QMutexLocker (this=0xfcb830) at /usr/include/QtCore/qmutex.h:102
#4  Nepomuk::ResourceData::determineUri (this=0xfcb830) at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resourcedata.cpp:607
#5  0x00007f8efdad649a in Nepomuk::Resource::determineFinalResourceData (this=0x7f8eed7f6c80) at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resource.cpp:921
#6  0x00007f8efdad66f3 in Nepomuk::Resource::resourceUri (this=0x7f8eed7f6c80) at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resource.cpp:170
#7  0x00007f8eef006919 in ?? () from /usr/lib64/kde4/nepomukqueryservice.so
#8  0x00007f8efed43e08 in QThreadPoolThread::run (this=0x786670) at concurrent/qthreadpool.cpp:106
#9  0x00007f8efed4da1e in QThreadPrivate::start (arg=0x786670) at thread/qthread_unix.cpp:285
#10 0x00007f8efeabea4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f8efc83a82d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8eecff6710 (LWP 23599)):
#0  0x00007f8efeac339c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8efed4cb53 in QMutexPrivate::wait (this=0x75c070, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f8efed494c5 in QMutex::lock (this=0x75b450) at thread/qmutex.cpp:167
#3  0x00007f8efdacad31 in QMutexLocker (this=0x75b430, uri=...) at /usr/include/QtCore/qmutex.h:102
#4  Nepomuk::ResourceManagerPrivate::findData (this=0x75b430, uri=...) at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resourcemanager.cpp:240
#5  0x00007f8efdadc78d in Nepomuk::ResourceManagerPrivate::data (this=0x75b430, uri=..., type=...) at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resourcemanager.cpp:70
#6  0x00007f8efdadcb0e in Nepomuk::Resource::Resource (this=0x7f8eecff53f0, uri=..., type=...) at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resource.cpp:100
#7  0x00007f8ef5560d01 in Nepomuk::Query::Query::toSparqlQuery (this=0xfa58c8, sparqlFlags=...) at /usr/src/debug/kdelibs-4.5.80/nepomuk/query/query.cpp:477
#8  0x00007f8eef0037ab in ?? () from /usr/lib64/kde4/nepomukqueryservice.so
#9  0x00007f8eef006601 in ?? () from /usr/lib64/kde4/nepomukqueryservice.so
#10 0x00007f8efed43e08 in QThreadPoolThread::run (this=0xab2e70) at concurrent/qthreadpool.cpp:106
#11 0x00007f8efed4da1e in QThreadPrivate::start (arg=0xab2e70) at thread/qthread_unix.cpp:285
#12 0x00007f8efeabea4f in start_thread () from /lib64/libpthread.so.0
#13 0x00007f8efc83a82d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8eff34b760 (LWP 23549)):
#0  0x00007f8efeac339c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8efed4cb53 in QMutexPrivate::wait (this=0x75c070, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f8efed494c5 in QMutex::lock (this=0x75b450) at thread/qmutex.cpp:167
#3  0x00007f8efdad8b44 in QMutexLocker (this=0x75b430, num=-1) at /usr/include/QtCore/qmutex.h:102
#4  Nepomuk::ResourceManagerPrivate::cleanupCache (this=0x75b430, num=-1) at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resourcemanager.cpp:182
#5  0x00007f8efdad8c8c in Nepomuk::ResourceManager::~ResourceManager (this=0x7e18d0, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resourcemanager.cpp:293
#6  0x00007f8efdadbf07 in ~ResourceManagerHelper () at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resourcemanager.cpp:307
#7  destroy () at /usr/src/debug/kdelibs-4.5.80/nepomuk/core/resourcemanager.cpp:311
#8  0x00007f8efc79f4e1 in __run_exit_handlers () from /lib64/libc.so.6
#9  0x00007f8efc79f535 in exit () from /lib64/libc.so.6
#10 0x00007f8efd00a478 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:773
#11 0x00007f8efdeca938 in KApplication::xioErrhandler (this=0x7fffa1bc4f90, dpy=0x64d7b0) at /usr/src/debug/kdelibs-4.5.80/kdeui/kernel/kapplication.cpp:417
#12 0x00007f8efa2eea3e in _XIOError () from /usr/lib64/libX11.so.6
#13 0x00007f8efa2f55a5 in ?? () from /usr/lib64/libX11.so.6
#14 0x00007f8efa2f590c in _XEventsQueued () from /usr/lib64/libX11.so.6
#15 0x00007f8efa2de7ef in XEventsQueued () from /usr/lib64/libX11.so.6
#16 0x00007f8efd042d4c in x11EventSourceCheck (s=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:85
#17 0x00007f8efbc9e718 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f8efbc9eff2 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f8efbc9f510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f8efee63a8f in QEventDispatcherGlib::processEvents (this=0x60f360, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007f8efd042eae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f8efee38262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f8efee38475 in QEventLoop::exec (this=0x7fffa1bc4d60, flags=...) at kernel/qeventloop.cpp:201
#24 0x00007f8efee3c8db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#25 0x0000000000403ea2 in _start ()

Reported using DrKonqi
Comment 1 Sebastian Trueg 2011-01-05 16:28:03 UTC

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