Bug 267674

Summary: nepomuk crashes when opening dolphin
Product: [Unmaintained] nepomuk Reporter: Paulo Dias <paulo.miguel.dias>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: crash CC: me, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paulo Dias 2011-03-05 03:26:18 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.38-020638rc7-generic x86_64
Distribution: Ubuntu 10.10

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

open dolphin, nepomukstub storage instantly crashes.

usually when i restart nepomuk it wont crash everytime, its kinda random.

The crash can be reproduced every time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7fb31c716760 (LWP 2395))]

Thread 3 (Thread 0x7fb30b894700 (LWP 2859)):
[KCrash Handler]
#6  _int_free (av=0x7fb304000020, p=0x500000001) at malloc.c:4892
#7  0x00007fb319ce5c83 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#8  0x00007fb31c125092 in QByteArray::operator= (this=0x7fb304007030, other=...) at tools/qbytearray.cpp:870
#9  0x00007fb31c1ca6e6 in QUrlPrivate::parse (this=0x7fb304006fd0, parseOptions=QUrlPrivate::ParseAndSet) at io/qurl.cpp:3844
#10 0x00007fb31c1d250b in QUrl::operator== (this=0x7fb30b892860, url=...) at io/qurl.cpp:5921
#11 0x00007fb31b04d9f2 in Nepomuk::Types::PropertyPrivate::addProperty (this=0x261e420, property=..., value=...) at ../../nepomuk/types/property.cpp:86
#12 0x00007fb31b044e4e in Nepomuk::Types::EntityPrivate::load (this=<value optimized out>) at ../../nepomuk/types/entity.cpp:108
#13 0x00007fb31b043a11 in Nepomuk::Types::EntityPrivate::init (this=0x261e420) at ../../nepomuk/types/entity.cpp:51
#14 0x00007fb31b04c5d7 in Nepomuk::Types::Property::maxCardinality (this=0x7fb3040010e8) at ../../nepomuk/types/property.cpp:384
#15 0x00007fb312b6b96b in uniqueVarName (this=0x7fb3040010d0, qbd=0x7fb30b893330) at ../../../nepomuk/query/querybuilderdata_p.h:120
#16 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x7fb3040010d0, qbd=0x7fb30b893330) at ../../../nepomuk/query/comparisonterm.cpp:357
#17 0x00007fb312b6c1ad in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x7fb3040010d0, resourceVarName=..., qbd=0x7fb30b893330) at ../../../nepomuk/query/comparisonterm.cpp:142
#18 0x00007fb312b696dd in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=<value optimized out>, resourceVarName=..., qbd=0x7fb30b893330) at ../../../nepomuk/query/andterm.cpp:34
#19 0x00007fb312b75f8e in Nepomuk::Query::Query::toSparqlQuery (this=0x25cfc08, sparqlFlags=<value optimized out>) at ../../../nepomuk/query/query.cpp:466
#20 0x00007fb30b89d7fb in Nepomuk::Query::Folder::sparqlQuery (this=<value optimized out>) at ../../../../nepomuk/services/queryservice/folder.cpp:122
#21 0x00007fb30b8a1006 in Nepomuk::Query::SearchRunnable::run (this=0x27784d0) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:80
#22 0x00007fb31c118d02 in QThreadPoolThread::run (this=0x2777890) at concurrent/qthreadpool.cpp:106
#23 0x00007fb31c12327e in QThreadPrivate::start (arg=0x2777890) at thread/qthread_unix.cpp:266
#24 0x00007fb319a52971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#25 0x00007fb319d4e92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#26 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb30b093700 (LWP 2860)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fb319ce71dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007fb319ce5c78 in __libc_free (mem=0x7fb304000020) at malloc.c:3736
#3  0x00007fb31c1d3279 in ~QByteArray (this=0x7fb30b0912e0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:383
#4  QUrlPrivate::~QUrlPrivate (this=0x7fb30b0912e0, __in_chrg=<value optimized out>) at io/qurl.cpp:295
#5  0x00007fb31c1d12eb in QUrlPrivate::normalized (this=<value optimized out>) at io/qurl.cpp:4048
#6  0x00007fb31c1d24cd in QUrl::operator== (this=0x7fb30b091860, url=...) at io/qurl.cpp:5922
#7  0x00007fb31b04d9f2 in Nepomuk::Types::PropertyPrivate::addProperty (this=0x26ddc30, property=..., value=...) at ../../nepomuk/types/property.cpp:86
#8  0x00007fb31b044e4e in Nepomuk::Types::EntityPrivate::load (this=<value optimized out>) at ../../nepomuk/types/entity.cpp:108
#9  0x00007fb31b043a11 in Nepomuk::Types::EntityPrivate::init (this=0x26ddc30) at ../../nepomuk/types/entity.cpp:51
#10 0x00007fb31b04c5d7 in Nepomuk::Types::Property::maxCardinality (this=0x26c9418) at ../../nepomuk/types/property.cpp:384
#11 0x00007fb312b6b96b in uniqueVarName (this=0x26c9400, qbd=0x7fb30b092330) at ../../../nepomuk/query/querybuilderdata_p.h:120
#12 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x26c9400, qbd=0x7fb30b092330) at ../../../nepomuk/query/comparisonterm.cpp:357
#13 0x00007fb312b6c1ad in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x26c9400, resourceVarName=..., qbd=0x7fb30b092330) at ../../../nepomuk/query/comparisonterm.cpp:142
#14 0x00007fb312b696dd in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=<value optimized out>, resourceVarName=..., qbd=0x7fb30b092330) at ../../../nepomuk/query/andterm.cpp:34
#15 0x00007fb312b75f8e in Nepomuk::Query::Query::toSparqlQuery (this=0x26e95e8, sparqlFlags=<value optimized out>) at ../../../nepomuk/query/query.cpp:466
#16 0x00007fb30b89d7fb in Nepomuk::Query::Folder::sparqlQuery (this=<value optimized out>) at ../../../../nepomuk/services/queryservice/folder.cpp:122
#17 0x00007fb30b8a1006 in Nepomuk::Query::SearchRunnable::run (this=0x2774180) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:80
#18 0x00007fb31c118d02 in QThreadPoolThread::run (this=0x2773ac0) at concurrent/qthreadpool.cpp:106
#19 0x00007fb31c12327e in QThreadPrivate::start (arg=0x2773ac0) at thread/qthread_unix.cpp:266
#20 0x00007fb319a52971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#21 0x00007fb319d4e92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#22 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb31c716760 (LWP 2395)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fb319ce71dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007fb319ce5c78 in __libc_free (mem=0x7fb304000020) at malloc.c:3736
#3  0x00007fb31c1d3239 in ~QByteArray (this=0x7fb304007b20, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:383
#4  QUrlPrivate::~QUrlPrivate (this=0x7fb304007b20, __in_chrg=<value optimized out>) at io/qurl.cpp:295
#5  0x00007fb31c1c8fc3 in QUrl::~QUrl (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qurl.cpp:4170
#6  0x00007fb316e0d7a5 in ?? () from /usr/lib/libsoprano.so.4
#7  0x00007fb316e0dc84 in ?? () from /usr/lib/libsoprano.so.4
#8  0x00007fb319ca14f2 in __run_exit_handlers (status=1) at exit.c:78
#9  exit (status=1) at exit.c:100
#10 0x00007fb31a520678 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:745
#11 0x00007fb31b505bd8 in KApplication::xioErrhandler (this=0x7fff6936f800, dpy=0x24eba90) at ../../kdeui/kernel/kapplication.cpp:417
#12 0x00007fb3179e686e in _XIOError () from /usr/lib/libX11.so.6
#13 0x00007fb3179ee415 in ?? () from /usr/lib/libX11.so.6
#14 0x00007fb3179eed07 in _XEventsQueued () from /usr/lib/libX11.so.6
#15 0x00007fb3179d747f in XEventsQueued () from /usr/lib/libX11.so.6
#16 0x00007fb31a55bc0c in x11EventSourceCheck (s=0x24ea260) at kernel/qguieventdispatcher_glib.cpp:87
#17 0x00007fb318f8366a in g_main_context_check () from /lib/libglib-2.0.so.0
#18 0x00007fb318f84023 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007fb318f8445c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007fb31c243193 in QEventDispatcherGlib::processEvents (this=0x24cef90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#21 0x00007fb31a55ba4e in QGuiEventDispatcherGlib::processEvents (this=0x7fb304000020, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007fb31c215a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007fb31c215dec in QEventLoop::exec (this=0x7fff6936f630, flags=) at kernel/qeventloop.cpp:201
#24 0x00007fb31c219ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#25 0x0000000000403b5d in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:165

Reported using DrKonqi
Comment 1 Sebastian Trueg 2011-09-20 12:50:09 UTC

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