Bug 273244

Summary: Nepomuk Service crashes on opening Dolphin
Product: nepomuk Reporter: workingwriter
Component: generalAssignee: Sebastian Trueg <trueg>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: abeltrup, dani.otero1, daniel, dankjel, dieterkaufmann1, donald, faycpercussion, garystriplett, imseven, jemand, juanantonio_garcia_01, laurent.lacote, lbickley, littarae, lucatersi, m.schilhabel, mail, mat69, me, micheluzzo, mozammel.hossain, nathan, nonameflas, paulo.miguel.dias, pa_ubach, pigletto, roger.wiberg, rutgerhendriks, salsa_temps, schmirrwurst, sebadamus, sven.burmeister, wuseldusel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
Patch against Soprano (quick and dirty hack)

Description workingwriter 2011-05-14 04:58:27 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.3 (4.6.3) "release 4"
Qt Version: 4.7.3
Operating System: Linux 2.6.37.6-0.5-default i686
Distribution: "openSUSE 11.4 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
I've been trying to determine why KDE no longer recognizes and mounts my external NTFS drive. Opened Dolphin, and Nepomuk crashed.

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

Thread 3 (Thread 0xb29acb70 (LWP 7135)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb61ade53 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb61402fb in _L_lock_10372 () from /lib/libc.so.6
#3  0xb613ea66 in free () from /lib/libc.so.6
#4  0xb76745db in qFree (ptr=0x8150dc8) at global/qmalloc.cpp:60
#5  0xb76c7052 in QString::free (d=0x8150dc8) at tools/qstring.cpp:1185
#6  0xb76c7630 in QString::operator= (this=0x8151034, other=...) at tools/qstring.cpp:1359
#7  0xb7727cbc in QUrlPrivate::parse (this=0x8151030, parseOptions=QUrlPrivate::ParseAndSet) at io/qurl.cpp:3831
#8  0xb7732dba in QUrlPrivate::toEncoded (this=0x8151030, options=...) at io/qurl.cpp:3900
#9  0xb7733632 in QUrl::toEncoded (this=0xb29ab7b4, options=...) at io/qurl.cpp:5692
#10 0xb59d0c68 in ?? () from /usr/lib/libsoprano.so.4
#11 0xb59d39de in Soprano::LiteralValue::typeFromDataTypeUri(QUrl const&) () from /usr/lib/libsoprano.so.4
#12 0xb59d70bb in Soprano::LiteralValue::fromString(QString const&, QUrl const&) () from /usr/lib/libsoprano.so.4
#13 0xb593f3de in ?? () from /usr/lib/libsopranoclient.so.1
#14 0xb593f7e0 in ?? () from /usr/lib/libsopranoclient.so.1
#15 0xb593fe37 in ?? () from /usr/lib/libsopranoclient.so.1
#16 0xb5943b80 in ?? () from /usr/lib/libsopranoclient.so.1
#17 0xb59485f7 in ?? () from /usr/lib/libsopranoclient.so.1
#18 0xb5947eda in ?? () from /usr/lib/libsopranoclient.so.1
#19 0xb59bc87c in Soprano::QueryResultIterator::binding(QString const&) const () from /usr/lib/libsoprano.so.4
#20 0xb6e335d3 in Nepomuk::Types::EntityPrivate::load (this=0x811d028) at /usr/src/debug/kdelibs-4.6.3/nepomuk/types/entity.cpp:78
#21 0xb6e13aa8 in Nepomuk::Types::EntityPrivate::init (this=0x811d028) at /usr/src/debug/kdelibs-4.6.3/nepomuk/types/entity.cpp:51
#22 0xb6e154ec in Nepomuk::Types::Property::maxCardinality (this=0x8140190) at /usr/src/debug/kdelibs-4.6.3/nepomuk/types/property.cpp:384
#23 0xb6e1552b in Nepomuk::Types::Property::maxCardinality (this=0x8140190) at /usr/src/debug/kdelibs-4.6.3/nepomuk/types/property.cpp:400
#24 0xb504e538 in uniqueVarName (this=0x8140180, qbd=0xb29abfc8) at /usr/src/debug/kdelibs-4.6.3/nepomuk/query/querybuilderdata_p.h:121
#25 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x8140180, qbd=0xb29abfc8) at /usr/src/debug/kdelibs-4.6.3/nepomuk/query/comparisonterm.cpp:357
#26 0xb504e95f in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x8140180, resourceVarName=..., qbd=0xb29abfc8) at /usr/src/debug/kdelibs-4.6.3/nepomuk/query/comparisonterm.cpp:142
#27 0xb503a3c6 in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=0x8134260, resourceVarName=..., qbd=0xb29abfc8) at /usr/src/debug/kdelibs-4.6.3/nepomuk/query/andterm.cpp:34
#28 0xb503fc9e in Nepomuk::Query::Query::toSparqlQuery (this=0x810c8f4, sparqlFlags=...) at /usr/src/debug/kdelibs-4.6.3/nepomuk/query/query.cpp:466
#29 0xb29b48b3 in ?? () from /usr/lib/kde4/nepomukqueryservice.so
#30 0xb29b7e31 in ?? () from /usr/lib/kde4/nepomukqueryservice.so
#31 0xb766edb3 in QThreadPoolThread::run (this=0x80f9a08) at concurrent/qthreadpool.cpp:106
#32 0xb767a993 in QThreadPrivate::start (arg=0x80f9a08) at thread/qthread_unix.cpp:320
#33 0xb75feb05 in start_thread () from /lib/libpthread.so.0
#34 0xb619fd5e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb21abb70 (LWP 7136)):
[KCrash Handler]
#7  0xb613b648 in _int_malloc () from /lib/libc.so.6
#8  0xb613e59a in malloc () from /lib/libc.so.6
#9  0xb76745bb in qMalloc (size=35) at global/qmalloc.cpp:55
#10 0xb767ca5d in QByteArray::QByteArray (this=0xb21aa5f8, data=0x8150d19 "/2001/XMLSchema#negativeInteger", size=15) at tools/qbytearray.cpp:1306
#11 0xb7727db1 in QUrlPrivate::parse (this=0x8151030, parseOptions=QUrlPrivate::ParseAndSet) at io/qurl.cpp:3841
#12 0xb7732dba in QUrlPrivate::toEncoded (this=0x8151030, options=...) at io/qurl.cpp:3900
#13 0xb7733632 in QUrl::toEncoded (this=0xb21aa7b4, options=...) at io/qurl.cpp:5692
#14 0xb59d0c68 in ?? () from /usr/lib/libsoprano.so.4
#15 0xb59d39de in Soprano::LiteralValue::typeFromDataTypeUri(QUrl const&) () from /usr/lib/libsoprano.so.4
#16 0xb59d70bb in Soprano::LiteralValue::fromString(QString const&, QUrl const&) () from /usr/lib/libsoprano.so.4
#17 0xb593f3de in ?? () from /usr/lib/libsopranoclient.so.1
#18 0xb593f7e0 in ?? () from /usr/lib/libsopranoclient.so.1
#19 0xb593fe37 in ?? () from /usr/lib/libsopranoclient.so.1
#20 0xb5943b80 in ?? () from /usr/lib/libsopranoclient.so.1
#21 0xb59485f7 in ?? () from /usr/lib/libsopranoclient.so.1
#22 0xb5947eda in ?? () from /usr/lib/libsopranoclient.so.1
#23 0xb59bc87c in Soprano::QueryResultIterator::binding(QString const&) const () from /usr/lib/libsoprano.so.4
#24 0xb6e335d3 in Nepomuk::Types::EntityPrivate::load (this=0x8142730) at /usr/src/debug/kdelibs-4.6.3/nepomuk/types/entity.cpp:78
#25 0xb6e13aa8 in Nepomuk::Types::EntityPrivate::init (this=0x8142730) at /usr/src/debug/kdelibs-4.6.3/nepomuk/types/entity.cpp:51
#26 0xb6e154ec in Nepomuk::Types::Property::maxCardinality (this=0x81493a0) at /usr/src/debug/kdelibs-4.6.3/nepomuk/types/property.cpp:384
#27 0xb6e1552b in Nepomuk::Types::Property::maxCardinality (this=0x81493a0) at /usr/src/debug/kdelibs-4.6.3/nepomuk/types/property.cpp:400
#28 0xb504e538 in uniqueVarName (this=0x8149390, qbd=0xb21aafc8) at /usr/src/debug/kdelibs-4.6.3/nepomuk/query/querybuilderdata_p.h:121
#29 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x8149390, qbd=0xb21aafc8) at /usr/src/debug/kdelibs-4.6.3/nepomuk/query/comparisonterm.cpp:357
#30 0xb504e95f in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x8149390, resourceVarName=..., qbd=0xb21aafc8) at /usr/src/debug/kdelibs-4.6.3/nepomuk/query/comparisonterm.cpp:142
#31 0xb503a3c6 in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=0x811bc68, resourceVarName=..., qbd=0xb21aafc8) at /usr/src/debug/kdelibs-4.6.3/nepomuk/query/andterm.cpp:34
#32 0xb503fc9e in Nepomuk::Query::Query::toSparqlQuery (this=0x81420b4, sparqlFlags=...) at /usr/src/debug/kdelibs-4.6.3/nepomuk/query/query.cpp:466
#33 0xb29b48b3 in ?? () from /usr/lib/kde4/nepomukqueryservice.so
#34 0xb29b7e31 in ?? () from /usr/lib/kde4/nepomukqueryservice.so
#35 0xb766edb3 in QThreadPoolThread::run (this=0x811c080) at concurrent/qthreadpool.cpp:106
#36 0xb767a993 in QThreadPrivate::start (arg=0x811c080) at thread/qthread_unix.cpp:320
#37 0xb75feb05 in start_thread () from /lib/libpthread.so.0
#38 0xb619fd5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5737710 (LWP 3591)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb61ade53 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb61402fb in _L_lock_10372 () from /lib/libc.so.6
#3  0xb613ea66 in free () from /lib/libc.so.6
#4  0xb62eab0f in operator delete(void*) () from /usr/lib/libstdc++.so.6
#5  0xb77a63c2 in QEventDispatcherGlib::unregisterSocketNotifier (this=0x8054478, notifier=0x80f1e70) at kernel/qeventdispatcher_glib.cpp:503
#6  0xb77941b8 in QSocketNotifier::setEnabled (this=0x80f1e70, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0xb77a59de in socketNotifierSourceCheck (source=0x806f328) at kernel/qeventdispatcher_glib.cpp:92
#8  0xb5fee050 in g_main_context_check () from /lib/libglib-2.0.so.0
#9  0xb5fee998 in ?? () from /lib/libglib-2.0.so.0
#10 0xb5feee9e in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0xb77a5f7b in QEventDispatcherGlib::processEvents (this=0x8054478, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#12 0xb651e1da in QGuiEventDispatcherGlib::processEvents (this=0x8054478, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#13 0xb7776a6d in QEventLoop::processEvents (this=0xbfa38e24, flags=...) at kernel/qeventloop.cpp:149
#14 0xb7776c99 in QEventLoop::exec (this=0xbfa38e24, flags=...) at kernel/qeventloop.cpp:201
#15 0xb777b740 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#16 0xb64653d4 in QApplication::exec () at kernel/qapplication.cpp:3736
#17 0x0804b36e in _start ()

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

Possible duplicates by query: bug 269896.

Reported using DrKonqi
Comment 1 S. Burmeister 2011-05-24 12:37:07 UTC
Created attachment 60264 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.6.3 (4.6.3) using Qt 4.7.3

- What I was doing when the application crashed:

After the KDE session started opening dolphin crashed nepomuk.

-- Backtrace (Reduced):
#14 0xb756e5db in qFree (ptr=0xb18008b8) at global/qmalloc.cpp:60
#15 0xb75c1052 in QString::free (d=0xb18008b8) at tools/qstring.cpp:1185
#16 0xb75c1630 in QString::operator= (this=0xb292d9e0, other=...) at tools/qstring.cpp:1359
#17 0xb762a8a6 in QUrlPrivate::canonicalHost (this=0xb292d9d0) at io/qurl.cpp:3418
#18 0xb762c48f in QUrlPrivate::normalized (this=0x818b878) at io/qurl.cpp:3993
Comment 2 Vishesh Handa 2011-07-31 13:22:00 UTC
*** Bug 266644 has been marked as a duplicate of this bug. ***
Comment 3 Vishesh Handa 2011-07-31 13:22:08 UTC
*** Bug 264887 has been marked as a duplicate of this bug. ***
Comment 4 Vishesh Handa 2011-07-31 13:31:14 UTC
*** Bug 274891 has been marked as a duplicate of this bug. ***
Comment 5 Vishesh Handa 2011-07-31 13:37:41 UTC
*** Bug 277970 has been marked as a duplicate of this bug. ***
Comment 6 Vishesh Handa 2011-07-31 13:44:31 UTC
*** Bug 265618 has been marked as a duplicate of this bug. ***
Comment 7 Vishesh Handa 2011-07-31 14:27:51 UTC
*** Bug 273477 has been marked as a duplicate of this bug. ***
Comment 8 Vishesh Handa 2011-07-31 14:30:42 UTC
*** Bug 272278 has been marked as a duplicate of this bug. ***
Comment 9 Vishesh Handa 2011-07-31 14:31:27 UTC
*** Bug 271403 has been marked as a duplicate of this bug. ***
Comment 10 Vishesh Handa 2011-07-31 14:50:02 UTC
*** Bug 272411 has been marked as a duplicate of this bug. ***
Comment 11 Vishesh Handa 2011-07-31 14:53:01 UTC
*** Bug 274535 has been marked as a duplicate of this bug. ***
Comment 12 Vishesh Handa 2011-07-31 15:13:05 UTC
*** Bug 272815 has been marked as a duplicate of this bug. ***
Comment 13 Vishesh Handa 2011-08-07 13:30:42 UTC
*** Bug 270894 has been marked as a duplicate of this bug. ***
Comment 14 Vishesh Handa 2011-08-07 22:10:26 UTC
*** Bug 277515 has been marked as a duplicate of this bug. ***
Comment 15 Vishesh Handa 2011-08-13 08:27:24 UTC
*** Bug 279068 has been marked as a duplicate of this bug. ***
Comment 16 Vishesh Handa 2011-08-13 08:34:18 UTC
*** Bug 272173 has been marked as a duplicate of this bug. ***
Comment 17 Vishesh Handa 2011-08-13 08:36:48 UTC
*** Bug 278218 has been marked as a duplicate of this bug. ***
Comment 18 Sebastian Trueg 2011-09-08 17:30:03 UTC
Created attachment 63512 [details]
Patch against Soprano (quick and dirty hack)

I never experienced this bug and have no way of reproducing it. Thus, I need someone to test patches for me.

The first one is this Soprano patch which is no real fix but a workaround which hopefully helps to pin down the problem.

If this patch solves the bug then I know what the problem is and can fix it properly. If this patch does not solve the problem I can at least exclude one possibe reason.
Comment 19 Sebastian Trueg 2011-09-18 09:37:15 UTC
*** Bug 277379 has been marked as a duplicate of this bug. ***
Comment 20 Sebastian Trueg 2011-09-18 09:37:40 UTC
*** Bug 281664 has been marked as a duplicate of this bug. ***
Comment 21 Sebastian Trueg 2011-09-18 09:44:12 UTC
*** Bug 275747 has been marked as a duplicate of this bug. ***
Comment 22 Sebastian Trueg 2011-09-18 09:45:14 UTC
*** Bug 273503 has been marked as a duplicate of this bug. ***
Comment 23 Sebastian Trueg 2011-09-18 09:46:15 UTC
*** Bug 272343 has been marked as a duplicate of this bug. ***
Comment 24 Sebastian Trueg 2011-09-18 09:46:46 UTC
*** Bug 269896 has been marked as a duplicate of this bug. ***
Comment 25 Sebastian Trueg 2011-09-18 09:47:50 UTC
*** Bug 267368 has been marked as a duplicate of this bug. ***
Comment 26 Sebastian Trueg 2011-09-18 09:48:23 UTC
*** Bug 264409 has been marked as a duplicate of this bug. ***
Comment 27 Michele Gastaldo 2011-09-18 12:28:36 UTC
Thanks for the patch, I applied it and installed soprano packages, nevertheless I still get the crashes (as stated in #277379)
Comment 28 Sebastian Trueg 2011-09-18 13:32:32 UTC
(In reply to comment #27)
> Thanks for the patch, I applied it and installed soprano packages, nevertheless
> I still get the crashes (as stated in #277379)

Actually I realized today that these are 2 different bugs (#280818 and this one) which stem from the same problem in two different places. #277379 is actually a duplicate of #280818 for which I will have a patch soon. Thanks for testing.
Comment 29 Sebastian Trueg 2011-09-19 10:40:12 UTC
*** Bug 274359 has been marked as a duplicate of this bug. ***
Comment 30 Sebastian Trueg 2011-09-23 18:39:06 UTC
*** Bug 279990 has been marked as a duplicate of this bug. ***
Comment 31 Sebastian Trueg 2011-10-04 09:30:35 UTC
*** Bug 283123 has been marked as a duplicate of this bug. ***
Comment 32 Sebastian Trueg 2011-10-18 17:52:12 UTC
*** Bug 284382 has been marked as a duplicate of this bug. ***
Comment 33 Sebastian Trueg 2011-10-18 17:52:45 UTC
*** Bug 281151 has been marked as a duplicate of this bug. ***
Comment 34 Sebastian Trueg 2011-10-18 17:53:24 UTC
Someone needs to test the patch. I cannot test it since this crash never occurs on my system.
Comment 35 Thijs 2012-01-03 08:01:13 UTC
*** Bug 290457 has been marked as a duplicate of this bug. ***
Comment 36 Jekyll Wu 2012-02-28 07:47:22 UTC
*** Bug 294973 has been marked as a duplicate of this bug. ***
Comment 37 Andrew Crouthamel 2018-09-04 15:23:12 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Development has moved to Baloo, please try again using the latest version and applications, and submit a new ticket for frameworks-baloo if you still have an issue. Thank you!