Bug 272411 - Nepomuk-sesrver-stub segfaults when starting Dolphin
Summary: Nepomuk-sesrver-stub segfaults when starting Dolphin
Status: RESOLVED DUPLICATE of bug 273244
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-05-04 08:51 UTC by Rutger Hendriks
Modified: 2011-07-31 14:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rutger Hendriks 2011-05-04 08:51:26 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:
Start Dolphin

Result:
The nepomuk-server-stub segfaults with attached logs. After restarting this stub, it again crashes on the next start of Dolphin

The crash can be reproduced every time.

-- Backtrace:
Application: Nepomuk-server-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 0x7f10bfad8780 (LWP 1960))]

Thread 3 (Thread 0x7f10aebdd700 (LWP 3715)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f10bf4d679e in wait (this=<value optimized out>, mutex=0x11ed060, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x11ed060, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f10bf4cb218 in QThreadPoolThread::run (this=0x1239ef0) at concurrent/qthreadpool.cpp:140
#4  0x00007f10bf4d6175 in QThreadPrivate::start (arg=0x1239ef0) at thread/qthread_unix.cpp:320
#5  0x00007f10bcea2d8c in start_thread (arg=0x7f10aebdd700) at pthread_create.c:304
#6  0x00007f10bd1a004d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f10ae3dc700 (LWP 3716)):
[KCrash Handler]
#6  _int_free (av=0x7f10a8000020, p=0x7f10a8005840) at malloc.c:4892
#7  0x00007f10bd1368e3 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#8  0x00007f10bf51b0fc in QString::free (d=0x7f10a8005850) at tools/qstring.cpp:1185
#9  0x00007f10bf57bba4 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 0x00007f10bf57e602 in QUrlPrivate::toEncoded (this=0x7f10ae3da390, options=...) at io/qurl.cpp:3948
#12 0x00007f10bf57db3f in QUrlPrivate::normalized (this=0x7f10a8004fc0) at io/qurl.cpp:4059
#13 0x00007f10bf57f205 in QUrl::operator== (this=0x7f10ae3da890, url=...) at io/qurl.cpp:5959
#14 0x00007f10be4619bd in Nepomuk::Types::PropertyPrivate::addProperty (this=0x1218150, property=..., value=...) at ../../nepomuk/types/property.cpp:48
#15 0x00007f10be45af51 in Nepomuk::Types::EntityPrivate::load (this=0x1218150) at ../../nepomuk/types/entity.cpp:108
#16 0x00007f10be459961 in Nepomuk::Types::EntityPrivate::init (this=0x1218150) at ../../nepomuk/types/entity.cpp:51
#17 0x00007f10be4610d7 in Nepomuk::Types::Property::maxCardinality (this=<value optimized out>) at ../../nepomuk/types/property.cpp:384
#18 0x00007f10b5d4c700 in uniqueVarName (this=0x7f10a8001f50, qbd=0x7f10ae3db310) at ../../../nepomuk/query/querybuilderdata_p.h:121
#19 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x7f10a8001f50, qbd=0x7f10ae3db310) at ../../../nepomuk/query/comparisonterm.cpp:357
#20 0x00007f10b5d4ce8d in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x7f10a8001f50, resourceVarName=..., qbd=0x7f10ae3db310) at ../../../nepomuk/query/comparisonterm.cpp:142
#21 0x00007f10b5d4ae36 in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=<value optimized out>, resourceVarName=..., qbd=0x7f10ae3db310) at ../../../nepomuk/query/andterm.cpp:34
#22 0x00007f10b5d55318 in Nepomuk::Query::Query::toSparqlQuery (this=0x1236e58, sparqlFlags=...) at ../../../nepomuk/query/query.cpp:466
#23 0x00007f10af4223db in Nepomuk::Query::Folder::sparqlQuery (this=<value optimized out>) at ../../../../nepomuk/services/queryservice/folder.cpp:122
#24 0x00007f10af425157 in Nepomuk::Query::SearchRunnable::run (this=0x1226860) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:81
#25 0x00007f10bf4cb188 in QThreadPoolThread::run (this=0x1239730) at concurrent/qthreadpool.cpp:106
#26 0x00007f10bf4d6175 in QThreadPrivate::start (arg=0x1239730) at thread/qthread_unix.cpp:320
#27 0x00007f10bcea2d8c in start_thread (arg=0x7f10ae3dc700) at pthread_create.c:304
#28 0x00007f10bd1a004d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f10bfad8780 (LWP 1960)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f10bd13880f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f10bd1368d8 in __libc_free (mem=0x7f10a8000020) at malloc.c:3736
#3  0x00007f10bf574889 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  0x00007f10b9fde80a in ?? () from /usr/lib/libsoprano.so.4
#7  0x00007f10bd0f3961 in __run_exit_handlers (status=1) at exit.c:78
#8  exit (status=1) at exit.c:100
#9  0x00007f10bd979d48 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#10 0x00007f10be8fa638 in KApplication::xioErrhandler (this=0x7fff1844c440, dpy=0x11338f0) at ../../kdeui/kernel/kapplication.cpp:419
#11 0x00007f10babe4dee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007f10babe262d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f10babd2f1f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f10bd9b4c4c in x11EventSourceCheck (s=0x1115ed0) at kernel/qguieventdispatcher_glib.cpp:85
#15 0x00007f10bc3c6854 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f10bc3c7122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f10bc3c7639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f10bf5e83ef in QEventDispatcherGlib::processEvents (this=0x10cd4a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#19 0x00007f10bd9b4dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#20 0x00007f10bf5bc882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007f10bf5bcabc in QEventLoop::exec (this=0x7fff1844c250, flags=...) at kernel/qeventloop.cpp:201
#22 0x00007f10bf5c0ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#23 0x0000000000403c3f in main (argc=2, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:165

Possible duplicates by query: bug 266792, bug 264409, bug 259288, bug 255319, bug 243262.

Reported using DrKonqi
Comment 1 Rutger Hendriks 2011-05-04 08:56:39 UTC
This happens on a (nearly) fresh install of Ubuntu 11.04. It is installed a few days ago and there have been no changes to nepomuk settings.
Comment 2 Vishesh Handa 2011-07-31 14:50:02 UTC

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