<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>272411</bug_id>
          
          <creation_ts>2011-05-04 08:51:26 +0000</creation_ts>
          <short_desc>Nepomuk-sesrver-stub segfaults when starting Dolphin</short_desc>
          <delta_ts>2011-07-31 14:50:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>nepomuk</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>273244</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Rutger Hendriks">rutgerhendriks</reporter>
          <assigned_to name="Sebastian Trueg">sebastian</assigned_to>
          <cc>me</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1114705</commentid>
    <comment_count>0</comment_count>
    <who name="Rutger Hendriks">rutgerhendriks</who>
    <bug_when>2011-05-04 08:51:26 +0000</bug_when>
    <thetext>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=&lt;value optimized out&gt;, mutex=0x11ed060, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;) at malloc.c:3738
#8  0x00007f10bf51b0fc in QString::free (d=0x7f10a8005850) at tools/qstring.cpp:1185
#9  0x00007f10bf57bba4 in ~QString (domain=&lt;value optimized out&gt;) at ../../include/QtCore/../../src/corelib/tools/qstring.h:883
#10 QUrl::toAce (domain=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) at ../../include/QtCore/../../src/corelib/tools/qbytearray.h:383
#4  ~QUrlPrivate (this=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) at io/qurl.cpp:294
#5  QUrl::~QUrl (this=&lt;value optimized out&gt;, __in_chrg=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#19 0x00007f10bd9b4dfe in QGuiEventDispatcherGlib::processEvents (this=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#20 0x00007f10bf5bc882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, 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=&lt;value optimized out&gt;) at ../../../nepomuk/servicestub/main.cpp:165

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

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1114708</commentid>
    <comment_count>1</comment_count>
    <who name="Rutger Hendriks">rutgerhendriks</who>
    <bug_when>2011-05-04 08:56:39 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1147779</commentid>
    <comment_count>2</comment_count>
    <who name="Vishesh Handa">me</who>
    <bug_when>2011-07-31 14:50:02 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 273244 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>