Bug 277379 - Nepomuk segmentation fault
Summary: Nepomuk segmentation fault
Status: RESOLVED DUPLICATE of bug 280818
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 19:06 UTC by Maciej Wiśniowski
Modified: 2011-09-18 09:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
nepomukservicestub-related messages in .xsession-errors (30.17 KB, text/plain)
2011-09-17 12:57 UTC, Michele Gastaldo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Wiśniowski 2011-07-08 19:06:41 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've started Doplhin by clicking folder icon at my desktop. Same error happened few times recently, some package was possibly updated during last two weeks as I've never seen this before. I also have another computer that was yesterday installed with fresk -kubuntu 11.04 and I've also seen this error there

The crash can be reproduced some of the time.

-- Backtrace:
Application: Tymczasowa usługa Nepomuka (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 0x7fd07b541780 (LWP 3064))]

Thread 3 (Thread 0x7fd06a4f1700 (LWP 4797)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fd078baa80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fd078ba88d8 in __libc_free (mem=0x7fd078ebb1c0) at malloc.c:3736
#3  0x00007fd06ad64a07 in Nepomuk::Query::SearchRunnable::~SearchRunnable (this=0x16153d0, __in_chrg=<value optimized out>) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:62
#4  0x00007fd06ad64a29 in Nepomuk::Query::SearchRunnable::~SearchRunnable (this=0x16153d0, __in_chrg=<value optimized out>) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:64
#5  0x00007fd07af3d1bb in QThreadPoolThread::run (this=0x16158a0) at concurrent/qthreadpool.cpp:119
#6  0x00007fd07af48175 in QThreadPrivate::start (arg=0x16158a0) at thread/qthread_unix.cpp:320
#7  0x00007fd078914d8c in start_thread (arg=0x7fd06a4f1700) at pthread_create.c:304
#8  0x00007fd078c1204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd069cf0700 (LWP 4798)):
[KCrash Handler]
#6  _int_free (av=0x7fd078ebb1c0, p=0x1619a50) at malloc.c:4892
#7  0x00007fd078ba88e3 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#8  0x00007fd07af8d0fc in QString::free (d=0x1619a60) at tools/qstring.cpp:1185
#9  0x00007fd07afedba4 in ~QString (domain=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:883
#10 QUrl::toAce (domain=<value optimized out>) at io/qurl.cpp:5884
#11 0x00007fd07aff0602 in QUrlPrivate::toEncoded (this=0x7fd05c004140, options=...) at io/qurl.cpp:3948
#12 0x00007fd07aff080d in QUrl::toEncoded (this=<value optimized out>, options=<value optimized out>) at io/qurl.cpp:5692
#13 0x00007fd075a2a622 in Soprano::Node::resourceToN3(QUrl const&) () from /usr/lib/libsoprano.so.4
#14 0x00007fd079ecc7e2 in Nepomuk::Types::EntityPrivate::load (this=0x161a3d0) at ../../nepomuk/types/entity.cpp:73
#15 0x00007fd079ecb961 in Nepomuk::Types::EntityPrivate::init (this=0x161a3d0) at ../../nepomuk/types/entity.cpp:51
#16 0x00007fd079ed30d7 in Nepomuk::Types::Property::maxCardinality (this=<value optimized out>) at ../../nepomuk/types/property.cpp:384
#17 0x00007fd0716a1700 in uniqueVarName (this=0x161df20, qbd=0x7fd069cef310) at ../../../nepomuk/query/querybuilderdata_p.h:121
#18 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x161df20, qbd=0x7fd069cef310) at ../../../nepomuk/query/comparisonterm.cpp:357
#19 0x00007fd0716a1e8d in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x161df20, resourceVarName=..., qbd=0x7fd069cef310) at ../../../nepomuk/query/comparisonterm.cpp:142
#20 0x00007fd07169fe36 in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=<value optimized out>, resourceVarName=..., qbd=0x7fd069cef310) at ../../../nepomuk/query/andterm.cpp:34
#21 0x00007fd0716aa318 in Nepomuk::Query::Query::toSparqlQuery (this=0x160f8e8, sparqlFlags=...) at ../../../nepomuk/query/query.cpp:466
#22 0x00007fd06ad623db in Nepomuk::Query::Folder::sparqlQuery (this=<value optimized out>) at ../../../../nepomuk/services/queryservice/folder.cpp:122
#23 0x00007fd06ad65157 in Nepomuk::Query::SearchRunnable::run (this=0x1617c20) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:81
#24 0x00007fd07af3d188 in QThreadPoolThread::run (this=0x1619030) at concurrent/qthreadpool.cpp:106
#25 0x00007fd07af48175 in QThreadPrivate::start (arg=0x1619030) at thread/qthread_unix.cpp:320
#26 0x00007fd078914d8c in start_thread (arg=0x7fd069cf0700) at pthread_create.c:304
#27 0x00007fd078c1204d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#28 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd07b541780 (LWP 3064)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fd078baa80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007fd078ba88d8 in __libc_free (mem=0x7fd078ebb1c0) at malloc.c:3736
#3  0x00007fd07af8d0fc in QString::free (d=0x1618ac0) at tools/qstring.cpp:1185
#4  0x00007fd07ac892f9 in ~QString (this=0x161b0b0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:883
#5  QDBusMessagePrivate::~QDBusMessagePrivate (this=0x161b0b0, __in_chrg=<value optimized out>) at qdbusmessage.cpp:72
#6  0x00007fd07ac8941f in QDBusMessage::~QDBusMessage (this=<value optimized out>, __in_chrg=<value optimized out>) at qdbusmessage.cpp:536
#7  0x00007fd07ac782a6 in QDBusActivateObjectEvent::~QDBusActivateObjectEvent (this=0x1618640, __in_chrg=<value optimized out>) at qdbusintegrator.cpp:1506
#8  0x00007fd07ac78359 in QDBusActivateObjectEvent::~QDBusActivateObjectEvent (this=0x1618640, __in_chrg=<value optimized out>) at qdbusintegrator.cpp:1516
#9  0x00007fd07b032c2e in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14888a0) at kernel/qcoreapplication.cpp:1388
#10 0x00007fd07b05a253 in sendPostedEvents (s=0x14d28e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#11 postEventSourceDispatch (s=0x14d28e0) at kernel/qeventdispatcher_glib.cpp:277
#12 0x00007fd077e38bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fd077e393a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fd077e39639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fd07b05a3ef in QEventDispatcherGlib::processEvents (this=0x14884a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#16 0x00007fd079426dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#17 0x00007fd07b02e882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#18 0x00007fd07b02eabc in QEventLoop::exec (this=0x7fff454ff270, flags=...) at kernel/qeventloop.cpp:201
#19 0x00007fd07b032ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#20 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 272815.

Possible duplicates by query: bug 276373, bug 276125, bug 275986, bug 275747, bug 275675.

Reported using DrKonqi
Comment 1 Michele Gastaldo 2011-09-17 12:57:03 UTC
Created attachment 63729 [details]
nepomukservicestub-related messages in .xsession-errors
Comment 2 Michele Gastaldo 2011-09-17 12:57:31 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-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
I keep having repetitive and frequent crashes of nepomukservicestub with signal Segmentation fault (11). For some reason, although kdebase-dbg and kdebase-runtime-dbg are installed, backtrace fails to be generated (I only get the first line "Application: Nepomuk etc (nepomukservicestub), signal Segmentation fault (11)".
I'm guessing my problem is related to this bug then.

I'm unable to relate crashes to any specific event, it appears to happen randomly.

Only thing I could find is some a number of messages in .xsession-erros, reported in attachment. Hope it helps.
Comment 3 Sebastian Trueg 2011-09-18 09:37:15 UTC

*** This bug has been marked as a duplicate of bug 273244 ***
Comment 4 Sebastian Trueg 2011-09-18 09:41:46 UTC

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