Bug 277515

Summary: nepomukservicestub crashed while opening Dolphin (no XIOError) [_int_free, QUrl::*, Nepomuk::Types::PropertyPrivate::addProperty, Nepomuk::Types::EntityPrivate::load]
Product: [Unmaintained] nepomuk Reporter: Nathan <nathan>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, biby, FrankLausch, me, t.kijas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nathan 2011-07-11 00:41:01 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

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

I had just updated my computer to the latest versions of evertyhing.  Started dolphin and it crashed.  I was opening with a to a CD and about to copy to a NAS drive mounted via SMB4K.  Dolphin started correctly.

-- 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 0x7f529c24a780 (LWP 2021))]

Thread 3 (Thread 0x7f528b356700 (LWP 13185)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f52998ad80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f52998ab8d8 in __libc_free (mem=0x7f5299bbe1c0) at malloc.c:3736
#3  0x00007f529bce9889 in ~QByteArray (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:383
#4  ~QUrlPrivate (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qurl.cpp:294
#5  QUrl::~QUrl (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qurl.cpp:4186
#6  0x00007f529672efeb in ?? () from /usr/lib/libsoprano.so.4
#7  0x00007f529abcfa25 in Nepomuk::Types::EntityPrivate::load (this=0x1b6e770) at ../../nepomuk/types/entity.cpp:79
#8  0x00007f529abce961 in Nepomuk::Types::EntityPrivate::init (this=0x1b6e770) at ../../nepomuk/types/entity.cpp:51
#9  0x00007f529abd60d7 in Nepomuk::Types::Property::maxCardinality (this=<value optimized out>) at ../../nepomuk/types/property.cpp:384
#10 0x00007f52924c3700 in uniqueVarName (this=0x1bd6f90, qbd=0x7f528b355310) at ../../../nepomuk/query/querybuilderdata_p.h:121
#11 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x1bd6f90, qbd=0x7f528b355310) at ../../../nepomuk/query/comparisonterm.cpp:357
#12 0x00007f52924c3e8d in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x1bd6f90, resourceVarName=..., qbd=0x7f528b355310) at ../../../nepomuk/query/comparisonterm.cpp:142
#13 0x00007f52924c1e36 in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=<value optimized out>, resourceVarName=..., qbd=0x7f528b355310) at ../../../nepomuk/query/andterm.cpp:34
#14 0x00007f52924cc318 in Nepomuk::Query::Query::toSparqlQuery (this=0x1b7dae8, sparqlFlags=...) at ../../../nepomuk/query/query.cpp:466
#15 0x00007f528bb9b3db in Nepomuk::Query::Folder::sparqlQuery (this=<value optimized out>) at ../../../../nepomuk/services/queryservice/folder.cpp:122
#16 0x00007f528bb9e157 in Nepomuk::Query::SearchRunnable::run (this=0x1b92b90) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:81
#17 0x00007f529bc40188 in QThreadPoolThread::run (this=0x1b910e0) at concurrent/qthreadpool.cpp:106
#18 0x00007f529bc4b175 in QThreadPrivate::start (arg=0x1b910e0) at thread/qthread_unix.cpp:320
#19 0x00007f5299617d8c in start_thread (arg=0x7f528b356700) at pthread_create.c:304
#20 0x00007f529991504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f528ab55700 (LWP 13186)):
[KCrash Handler]
#6  _int_free (av=0x7f5299bbe1c0, p=0x1be22f0) at malloc.c:4892
#7  0x00007f52998ab8e3 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#8  0x00007f529bce8bbf in ~QByteArray (this=0x7f5284000e00, parseOptions=QUrlPrivate::ParseAndSet) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:383
#9  QUrlPrivate::parse (this=0x7f5284000e00, parseOptions=QUrlPrivate::ParseAndSet) at io/qurl.cpp:3836
#10 0x00007f529bcf423a in QUrl::operator== (this=0x7f528ab536a0, url=...) at io/qurl.cpp:5957
#11 0x00007f529bcf42a9 in QUrl::operator!= (this=<value optimized out>, url=<value optimized out>) at io/qurl.cpp:5968
#12 0x00007f529abd6815 in Nepomuk::Types::PropertyPrivate::addProperty (this=0x1b91d70, property=..., value=...) at ../../nepomuk/types/property.cpp:47
#13 0x00007f529abcff51 in Nepomuk::Types::EntityPrivate::load (this=0x1b91d70) at ../../nepomuk/types/entity.cpp:108
#14 0x00007f529abce961 in Nepomuk::Types::EntityPrivate::init (this=0x1b91d70) at ../../nepomuk/types/entity.cpp:51
#15 0x00007f529abd60d7 in Nepomuk::Types::Property::maxCardinality (this=<value optimized out>) at ../../nepomuk/types/property.cpp:384
#16 0x00007f52924c3700 in uniqueVarName (this=0x1b74650, qbd=0x7f528ab54310) at ../../../nepomuk/query/querybuilderdata_p.h:121
#17 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x1b74650, qbd=0x7f528ab54310) at ../../../nepomuk/query/comparisonterm.cpp:357
#18 0x00007f52924c3e8d in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x1b74650, resourceVarName=..., qbd=0x7f528ab54310) at ../../../nepomuk/query/comparisonterm.cpp:142
#19 0x00007f52924c1e36 in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=<value optimized out>, resourceVarName=..., qbd=0x7f528ab54310) at ../../../nepomuk/query/andterm.cpp:34
#20 0x00007f52924cc318 in Nepomuk::Query::Query::toSparqlQuery (this=0x1b90d48, sparqlFlags=...) at ../../../nepomuk/query/query.cpp:466
#21 0x00007f528bb9b3db in Nepomuk::Query::Folder::sparqlQuery (this=<value optimized out>) at ../../../../nepomuk/services/queryservice/folder.cpp:122
#22 0x00007f528bb9e157 in Nepomuk::Query::SearchRunnable::run (this=0x1b5df40) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:81
#23 0x00007f529bc40188 in QThreadPoolThread::run (this=0x1b92bc0) at concurrent/qthreadpool.cpp:106
#24 0x00007f529bc4b175 in QThreadPrivate::start (arg=0x1b92bc0) at thread/qthread_unix.cpp:320
#25 0x00007f5299617d8c in start_thread (arg=0x7f528ab55700) at pthread_create.c:304
#26 0x00007f529991504d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f529c24a780 (LWP 2021)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f52998ad80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f52998ab8d8 in __libc_free (mem=0x7f5299bbe1c0) at malloc.c:3736
#3  0x00007f529bd5ce57 in socketNotifierSourceCheck (source=0x1aa67c0) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f5298b3b854 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5298b3c122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f5298b3c639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f529bd5d3ef in QEventDispatcherGlib::processEvents (this=0x1a5d4a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007f529a129dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#9  0x00007f529bd31882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007f529bd31abc in QEventLoop::exec (this=0x7fffbebe39d0, flags=...) at kernel/qeventloop.cpp:201
#11 0x00007f529bd35ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#12 0x0000000000403c3f in main (argc=2, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:165

This bug may be a duplicate of or related to bug 275747.

Possible duplicates by query: bug 277513, bug 277138, bug 276125, bug 275747, bug 275675.

Reported using DrKonqi
Comment 1 Dario Andres 2011-08-07 19:50:24 UTC
[Comment from a bug triager]
From bug 272402 (KDE SC 4.6.2):
- What I was doing when the application crashed:
I was searching for a mail with kmail... then i decided to open (in the same
time!) a folder on the desktop... also this crash appeared!

From bug 275384 (another situation):
- What I was doing when the application crashed:
Hi, I just closed the systemsettings dialog (I set-up KDM login dialogues) and
nepomuk crashed.
Comment 2 Dario Andres 2011-08-07 19:50:31 UTC
*** Bug 272402 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2011-08-07 19:50:34 UTC
*** Bug 273277 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2011-08-07 19:50:38 UTC
*** Bug 275384 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2011-08-07 19:59:25 UTC
[Comment from a bug report cleaner]
Additionally, those crashes could be related to the reports at bug 273244.
Comment 6 Vishesh Handa 2011-08-07 22:10:26 UTC

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