Bug 280818 - Crash in Nepomuk::Types::EntityPrivate::load
Summary: Crash in Nepomuk::Types::EntityPrivate::load
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Miscellaneous
Component: libnepomukcore (show other bugs)
Version: 4.6
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
: 251684 265017 267674 267728 269787 271304 272825 272882 273164 273521 274031 274416 275001 275251 275732 275791 276044 277379 280006 280828 282890 283982 284009 285851 285912 285931 289270 294933 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-26 06:43 UTC by lucatersi
Modified: 2012-08-06 08:33 UTC (History)
30 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch against soprano 2.7 (78.02 KB, patch)
2011-09-18 14:00 UTC, Sebastian Trueg
Details
Patch against soprano 2.7 (78.02 KB, patch)
2011-09-21 12:24 UTC, Sebastian Trueg
Details
New crash information added by DrKonqi (5.78 KB, text/plain)
2011-09-21 14:30 UTC, Vivek Umasuthan
Details
New crash information added by DrKonqi (5.22 KB, text/plain)
2011-11-06 02:56 UTC, Steven Sroka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lucatersi 2011-08-26 06:43:43 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:
- What I was doing when the application crashed:
Nepomuk crashed at startup, but it is crashing also randomly...

The crash can be reproduced some of the time.

-- 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 0x7f812291f780 (LWP 2105))]

Thread 3 (Thread 0x7f81118b4700 (LWP 2145)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f811ff8280f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f811ff808d8 in __libc_free (mem=0x7f81202931c0) at malloc.c:3736
#3  0x00007f81223c2889 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  0x00007f811ce03feb in ?? () from /usr/lib/libsoprano.so.4
#7  0x00007f81212a8a25 in Nepomuk::Types::EntityPrivate::load (this=0x13006b0) at ../../nepomuk/types/entity.cpp:79
#8  0x00007f81212a7961 in Nepomuk::Types::EntityPrivate::init (this=0x13006b0) at ../../nepomuk/types/entity.cpp:51
#9  0x00007f81212af0d7 in Nepomuk::Types::Property::maxCardinality (this=<value optimized out>) at ../../nepomuk/types/property.cpp:384
#10 0x00007f8118a33700 in uniqueVarName (this=0x12a0470, qbd=0x7f81118b3310) at ../../../nepomuk/query/querybuilderdata_p.h:121
#11 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x12a0470, qbd=0x7f81118b3310) at ../../../nepomuk/query/comparisonterm.cpp:357
#12 0x00007f8118a33e8d in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x12a0470, resourceVarName=..., qbd=0x7f81118b3310) at ../../../nepomuk/query/comparisonterm.cpp:142
#13 0x00007f8118a31e36 in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=<value optimized out>, resourceVarName=..., qbd=0x7f81118b3310) at ../../../nepomuk/query/andterm.cpp:34
#14 0x00007f8118a3c318 in Nepomuk::Query::Query::toSparqlQuery (this=0x12fb9c8, sparqlFlags=...) at ../../../nepomuk/query/query.cpp:466
#15 0x00007f81120f93db in Nepomuk::Query::Folder::sparqlQuery (this=<value optimized out>) at ../../../../nepomuk/services/queryservice/folder.cpp:122
#16 0x00007f81120fc157 in Nepomuk::Query::SearchRunnable::run (this=0x133fb00) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:81
#17 0x00007f8122319188 in QThreadPoolThread::run (this=0x133fad0) at concurrent/qthreadpool.cpp:106
#18 0x00007f8122324175 in QThreadPrivate::start (arg=0x133fad0) at thread/qthread_unix.cpp:320
#19 0x00007f811fcecd8c in start_thread (arg=0x7f81118b4700) at pthread_create.c:304
#20 0x00007f811ffea04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f81110b3700 (LWP 2146)):
[KCrash Handler]
#6  _int_free (av=0x7f81202931c0, p=0x1349cf0) at malloc.c:4892
#7  0x00007f811ff808e3 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#8  0x00007f81223690fc in QString::free (d=0x1349d00) at tools/qstring.cpp:1185
#9  0x00007f81223c9ba4 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 0x00007f81223cc602 in QUrlPrivate::toEncoded (this=0x7f81110b1390, options=...) at io/qurl.cpp:3948
#12 0x00007f81223cbb3f in QUrlPrivate::normalized (this=0x7f810c005590) at io/qurl.cpp:4059
#13 0x00007f81223cd205 in QUrl::operator== (this=0x7f81110b1890, url=...) at io/qurl.cpp:5959
#14 0x00007f81212af5f7 in Nepomuk::Types::PropertyPrivate::addProperty (this=0x1340b20, property=..., value=...) at ../../nepomuk/types/property.cpp:58
#15 0x00007f81212a8f51 in Nepomuk::Types::EntityPrivate::load (this=0x1340b20) at ../../nepomuk/types/entity.cpp:108
#16 0x00007f81212a7961 in Nepomuk::Types::EntityPrivate::init (this=0x1340b20) at ../../nepomuk/types/entity.cpp:51
#17 0x00007f81212af0d7 in Nepomuk::Types::Property::maxCardinality (this=<value optimized out>) at ../../nepomuk/types/property.cpp:384
#18 0x00007f8118a33700 in uniqueVarName (this=0x7f810c001ed0, qbd=0x7f81110b2310) at ../../../nepomuk/query/querybuilderdata_p.h:121
#19 Nepomuk::Query::ComparisonTermPrivate::getMainVariableName (this=0x7f810c001ed0, qbd=0x7f81110b2310) at ../../../nepomuk/query/comparisonterm.cpp:357
#20 0x00007f8118a33e8d in Nepomuk::Query::ComparisonTermPrivate::toSparqlGraphPattern (this=0x7f810c001ed0, resourceVarName=..., qbd=0x7f81110b2310) at ../../../nepomuk/query/comparisonterm.cpp:142
#21 0x00007f8118a31e36 in Nepomuk::Query::AndTermPrivate::toSparqlGraphPattern (this=<value optimized out>, resourceVarName=..., qbd=0x7f81110b2310) at ../../../nepomuk/query/andterm.cpp:34
#22 0x00007f8118a3c318 in Nepomuk::Query::Query::toSparqlQuery (this=0x133c998, sparqlFlags=...) at ../../../nepomuk/query/query.cpp:466
#23 0x00007f81120f93db in Nepomuk::Query::Folder::sparqlQuery (this=<value optimized out>) at ../../../../nepomuk/services/queryservice/folder.cpp:122
#24 0x00007f81120fc157 in Nepomuk::Query::SearchRunnable::run (this=0x7f810c0010a0) at ../../../../nepomuk/services/queryservice/searchrunnable.cpp:81
#25 0x00007f8122319188 in QThreadPoolThread::run (this=0x7f810c001190) at concurrent/qthreadpool.cpp:106
#26 0x00007f8122324175 in QThreadPrivate::start (arg=0x7f810c001190) at thread/qthread_unix.cpp:320
#27 0x00007f811fcecd8c in start_thread (arg=0x7f81110b3700) at pthread_create.c:304
#28 0x00007f811ffea04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f812291f780 (LWP 2105)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f811ff8280f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f811ff808d8 in __libc_free (mem=0x7f81202931c0) at malloc.c:3736
#3  0x00007f8122435e57 in socketNotifierSourceCheck (source=0x12126c0) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f811f210854 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f811f211122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f811f211639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f81224363ef in QEventDispatcherGlib::processEvents (this=0x11ca4a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#8  0x00007f81208014de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#9  0x00007f812240a882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007f812240aabc in QEventLoop::exec (this=0x7fff34415d80, flags=...) at kernel/qeventloop.cpp:201
#11 0x00007f812240eecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#12 0x0000000000403c3f in main (argc=2, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:165

Possible duplicates by query: bug 280506, bug 280474, bug 280336, bug 280275, bug 280262.

Reported using DrKonqi
Comment 1 Sebastian Trueg 2011-09-18 09:41:46 UTC
*** Bug 277379 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Trueg 2011-09-18 09:43:09 UTC
*** Bug 276044 has been marked as a duplicate of this bug. ***
Comment 3 Sebastian Trueg 2011-09-18 09:43:27 UTC
*** Bug 275791 has been marked as a duplicate of this bug. ***
Comment 4 Sebastian Trueg 2011-09-18 09:44:53 UTC
*** Bug 273521 has been marked as a duplicate of this bug. ***
Comment 5 Sebastian Trueg 2011-09-18 09:46:00 UTC
*** Bug 272882 has been marked as a duplicate of this bug. ***
Comment 6 Sebastian Trueg 2011-09-18 09:47:32 UTC
*** Bug 267728 has been marked as a duplicate of this bug. ***
Comment 7 Sebastian Trueg 2011-09-18 09:48:09 UTC
*** Bug 265017 has been marked as a duplicate of this bug. ***
Comment 8 Sebastian Trueg 2011-09-18 14:00:43 UTC
Created attachment 63747 [details]
Patch against soprano 2.7

Please apply this patch to Soprano and then also rebuild kdelibs. If that fixes the problem (which I assume) then I will push it to Soprano 2.7, 2.6, and master.
Comment 9 Sebastian Trueg 2011-09-20 12:39:51 UTC
*** Bug 280828 has been marked as a duplicate of this bug. ***
Comment 10 Sebastian Trueg 2011-09-20 12:40:59 UTC
*** Bug 280006 has been marked as a duplicate of this bug. ***
Comment 11 Sebastian Trueg 2011-09-20 12:43:00 UTC
*** Bug 275732 has been marked as a duplicate of this bug. ***
Comment 12 Sebastian Trueg 2011-09-20 12:43:19 UTC
*** Bug 275251 has been marked as a duplicate of this bug. ***
Comment 13 Sebastian Trueg 2011-09-20 12:43:32 UTC
*** Bug 275001 has been marked as a duplicate of this bug. ***
Comment 14 Sebastian Trueg 2011-09-20 12:45:21 UTC
*** Bug 273164 has been marked as a duplicate of this bug. ***
Comment 15 Sebastian Trueg 2011-09-20 12:45:34 UTC
*** Bug 272825 has been marked as a duplicate of this bug. ***
Comment 16 Sebastian Trueg 2011-09-20 12:49:12 UTC
*** Bug 271304 has been marked as a duplicate of this bug. ***
Comment 17 Sebastian Trueg 2011-09-20 12:49:46 UTC
*** Bug 269787 has been marked as a duplicate of this bug. ***
Comment 18 Sebastian Trueg 2011-09-20 12:50:09 UTC
*** Bug 267674 has been marked as a duplicate of this bug. ***
Comment 19 lucatersi 2011-09-20 12:59:23 UTC
I don't know how to do this, if anybody else is applying the patch, caould you please guide me?
 

(In reply to comment #8)
> Created an attachment (id=63747) [details]
> Patch against soprano 2.7
> 
> Please apply this patch to Soprano and then also rebuild kdelibs. If that fixes
> the problem (which I assume) then I will push it to Soprano 2.7, 2.6, and
> master.
Comment 20 Sebastian Trueg 2011-09-20 13:12:46 UTC
(In reply to comment #19)
> I don't know how to do this, if anybody else is applying the patch, caould you
> please guide me?

Basically it means:
* getting the sources from Soprano 2.7 from http://soprano.sf.net
* extracting the in some tmp folder: tar xjf soprano-2.7.0.tar.bz2
* creating a build dir: cd soprano-2.7.0; mkdir build; cd build
* configuring: cmake -DCMAKE_INSTALL_PREFIX=/usr .. (or as an alternative omit the -D... to install to /usr/local which works on most distributions and allows you to easily remove the self-compiled Soprano afterwards)
* check which dependencies are missing from the output. You might need to install a bunch of -devel packages.
* build it: make
* install it: sudo make install (Caution: this will overwrite your installation of soprano if you use the -D... stuff mentioned above.)
Comment 21 lucatersi 2011-09-21 09:57:48 UTC
Shall I remove the old Soprano?
and what about kdelibs? is this 'sudo apt-get install --reinstall kdelibs' enough?
Comment 22 Sebastian Trueg 2011-09-21 11:00:15 UTC
(In reply to comment #21)
> Shall I remove the old Soprano?

No need, you either overwrite it or you install into /usr/local which takes precedence over /usr where your old soprano lives.

> and what about kdelibs? is this 'sudo apt-get install --reinstall kdelibs'
> enough?

sadly not. I did not think of that. You actually have to go through the same steps as with soprano, except that it is sufficient to only install the nepomuk parts:

- download and extract kdelibs-4.x.tar.bz2
- cd kdelibs-4.x
- mkdir build
- cd build
- cmake -D.... (same as above) ..
- cd nepomuk
- make
- sudo make install
Comment 23 Sebastian Trueg 2011-09-21 12:24:05 UTC
Created attachment 63817 [details]
Patch against soprano 2.7

Sorry, the former patch had a serious issue which made Nepomuk fail to return any string values.
Comment 24 lucatersi 2011-09-21 12:32:27 UTC
Do I need to download the source again and repeat the installation? Or do I need to run a specific command to apply the patch soprano-voc.diff?

Moreover, I think I've installed all the required dependencies to build kdelibs, but I've no 'nepomuk' folder inside 'build' after using: cmake ../
Comment 25 Sebastian Trueg 2011-09-21 12:46:30 UTC
(In reply to comment #24)
> Do I need to download the source again and repeat the installation? Or do I
> need to run a specific command to apply the patch soprano-voc.diff?
> 
> Moreover, I think I've installed all the required dependencies to build
> kdelibs, but I've no 'nepomuk' folder inside 'build' after using: cmake ../

Stupid me. I never explained how to apply the patch. Sorry. Just cd into the soprano folder which you extracted and apply the patch like so:
* cd soprano-2.7.0
* patch -p1 < /path/to/patch/soprano-voc.diff
Then rebuild soprano:
* cd build
* make
* sudo make install
Comment 26 lucatersi 2011-09-21 13:24:37 UTC
Sorry, I'm giving up.. I've got problems with the new version, related to this cmake message:

-- Soprano Components that will NOT be built:
   * Sesame2 storage backend (java-based)
   * Raptor RDF parser (missing libraptor - http://librdf.org)
   * Raptor RDF serializer (missing libraptor - http://librdf.org)

that leads to this error while trying to build soprano:

In file included from /usr/include/librdf.h:33:0,                                                              
                 from /usr/include/redland.h:30,
                 from /home/lt/soprano-2.7.0/backends/redland/redlandworld.h:26,
                 from /home/lt/soprano-2.7.0/backends/redland/redlandworld.cpp:23:
/usr/include/rasqal/rasqal.h:910:81: error: ‘raptor_message_handler’ has not been declared
/usr/include/rasqal/rasqal.h:912:75: error: ‘raptor_message_handler’ has not been declared
/usr/include/rasqal/rasqal.h:914:77: error: ‘raptor_message_handler’ has not been declared
make[2]: *** [backends/redland/CMakeFiles/soprano_redlandcore.dir/redlandworld.cpp.o] Error 1
make[1]: *** [backends/redland/CMakeFiles/soprano_redlandcore.dir/all] Error 2
make: *** [all] Error 2



Then I tried to install a new version of rasqal, but I get this:

rasqal_format_sv.c: In function ‘rasqal_query_results_write_sv’:
rasqal_format_sv.c:171:11: error: implicit declaration of function ‘raptor_bnodeid_ntriples_write’
rasqal_format_sv.c:171:11: warning: nested extern declaration of ‘raptor_bnodeid_ntriples_write’
make[2]: *** [rasqal_format_sv.lo] Error 1
make[2]: Leaving directory `/home/lt/rasqal-0.9.27/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/lt/rasqal-0.9.27/src'
make: *** [all-recursive] Error 1


To many nested errors, sorry
Comment 27 Vivek Umasuthan 2011-09-21 14:30:35 UTC
Created attachment 63820 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

The system booted up and Dolphin started automatically. The Nepomuk stub crashed right after that. I hadn't even touched the keyboard or mouse.

-- Backtrace (Reduced):
#8  0x00007ff2dc10fd7b in __libc_message (do_abort=2, fmt=0x7ff2dc1f8400 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007ff2dc119bb6 in malloc_printerr (action=3, str=0x7ff2dc1f8980 "malloc(): memory corruption (fast)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007ff2dc11ce78 in _int_malloc (av=0x7ff2c8000020, bytes=<value optimized out>) at malloc.c:4308
#11 0x00007ff2dc11f31e in __libc_malloc (bytes=55) at malloc.c:3660
#12 0x00007ff2de4c5036 in QByteArray::QByteArray (this=0x7ff2cdbac670, data=0x1abcddf "www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSymbol", size=23) at tools/qbytearray.cpp:1306
Comment 28 Sebastian Trueg 2011-09-21 17:17:57 UTC
(In reply to comment #26)
> To many nested errors, sorry

It's fine. It is a tedious thing if one never builds anything from source normally.
But typically you only need to install the related -devel packages - in this case redland, raptor, and rasqal.
Comment 29 Sebastian Trueg 2011-09-21 17:19:00 UTC
(In reply to comment #27)
> Created an attachment (id=63820) [details]
> New crash information added by DrKonqi
> 
> nepomukservicestub (0.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2
> 
> - What I was doing when the application crashed:
> 
> The system booted up and Dolphin started automatically. The Nepomuk stub
> crashed right after that. I hadn't even touched the keyboard or mouse.
> 
> -- Backtrace (Reduced):
> #8  0x00007ff2dc10fd7b in __libc_message (do_abort=2, fmt=0x7ff2dc1f8400 "***
> glibc detected *** %s: %s: 0x%s ***\n") at
> ../sysdeps/unix/sysv/linux/libc_fatal.c:189
> #9  0x00007ff2dc119bb6 in malloc_printerr (action=3, str=0x7ff2dc1f8980
> "malloc(): memory corruption (fast)", ptr=<value optimized out>) at
> malloc.c:6283
> #10 0x00007ff2dc11ce78 in _int_malloc (av=0x7ff2c8000020, bytes=<value
> optimized out>) at malloc.c:4308
> #11 0x00007ff2dc11f31e in __libc_malloc (bytes=55) at malloc.c:3660
> #12 0x00007ff2de4c5036 in QByteArray::QByteArray (this=0x7ff2cdbac670,
> data=0x1abcddf "www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSymbol",
> size=23) at tools/qbytearray.cpp:1306

Is this with the patch applied or not? We are at a point in this bug report where it does not make much sense anymore to post duplicated backtraces. :)
Comment 30 Michele Gastaldo 2011-09-23 14:13:32 UTC
I tried, but cmake keeps finding raptor-1.4.21 even after I installed 2.0.4 in /usr/local . I also tried to add /usr/local/ to CMAKE_PREFIX_PATH and the relevant subdirs - bin,include,lib - to the respective path - program,include,library - but I get the error anyway.

-- Could NOT find Raptor: Found unsuitable version "2.0.0", but required is at least "2.0.4" (found /usr/lib/libraptor2.so)
-- You have raptor1 version 1.4.21 installed. Please update.
Comment 31 Sebastian Trueg 2011-09-27 12:38:07 UTC
*** Bug 282890 has been marked as a duplicate of this bug. ***
Comment 32 Sebastian Trueg 2011-09-27 12:41:30 UTC
(In reply to comment #30)
> I tried, but cmake keeps finding raptor-1.4.21 even after I installed 2.0.4 in
> /usr/local . I also tried to add /usr/local/ to CMAKE_PREFIX_PATH and the
> relevant subdirs - bin,include,lib - to the respective path -
> program,include,library - but I get the error anyway.
> 
> -- Could NOT find Raptor: Found unsuitable version "2.0.0", but required is at
> least "2.0.4" (found /usr/lib/libraptor2.so)
> -- You have raptor1 version 1.4.21 installed. Please update.

Hm, the raptor check in Soprano has its problems... any chance you could update
to KDE 4.7? Because that would also update raptor...
Comment 33 Michele Gastaldo 2011-10-02 16:08:18 UTC
(In reply to comment #32)
> Hm, the raptor check in Soprano has its problems... any chance you could update
> to KDE 4.7? Because that would also update raptor...

Ehm, I did update to 4.7 and that seemed to be enough to solve the problem for me :) Only drawback is that I'm then unable to test the patch.. anything else I could do?
thank you for your time and your big work anyway
Comment 34 Sebastian Trueg 2011-10-04 11:15:54 UTC
(In reply to comment #33)
> (In reply to comment #32)
> > Hm, the raptor check in Soprano has its problems... any chance you could update
> > to KDE 4.7? Because that would also update raptor...
> 
> Ehm, I did update to 4.7 and that seemed to be enough to solve the problem for
> me :) Only drawback is that I'm then unable to test the patch.. anything else I
> could do?
> thank you for your time and your big work anyway

Oh well, at least it works for you now. Thanks for your help. :)
Comment 35 Sebastian Trueg 2011-10-14 16:42:23 UTC
*** Bug 284009 has been marked as a duplicate of this bug. ***
Comment 36 Sebastian Trueg 2011-10-17 08:10:56 UTC
*** Bug 274031 has been marked as a duplicate of this bug. ***
Comment 37 Sebastian Trueg 2011-10-17 08:21:00 UTC
*** Bug 251684 has been marked as a duplicate of this bug. ***
Comment 38 Steven Sroka 2011-11-06 02:56:16 UTC
Created attachment 65279 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

I was browsing through my local filesystem with Dolphin.

-- Backtrace (Reduced):
#6  _int_free (av=0x7f792a3ad1c0, p=0x17234b0) at malloc.c:4892
#7  0x00007f792a08fd7c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#8  0x00007f792c4d90ac in QString::free (d=0x17234c0) at tools/qstring.cpp:1186
#9  0x00007f792c538a7a in ~QString (this=0x7f7917ffe200, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qstring.h:883
#10 QUrlPrivate::canonicalHost (this=0x1726d30) at io/qurl.cpp:3418
Comment 39 Lamarque V. Souza 2011-11-06 22:55:44 UTC
*** Bug 285931 has been marked as a duplicate of this bug. ***
Comment 40 Sebastian Trueg 2011-11-16 09:29:43 UTC
*** Bug 285851 has been marked as a duplicate of this bug. ***
Comment 41 Sebastian Trueg 2011-12-12 10:22:39 UTC
*** Bug 285912 has been marked as a duplicate of this bug. ***
Comment 42 Sebastian Trueg 2011-12-13 12:28:32 UTC
*** Bug 283982 has been marked as a duplicate of this bug. ***
Comment 43 Sebastian Trueg 2012-01-30 15:46:01 UTC
*** Bug 289270 has been marked as a duplicate of this bug. ***
Comment 44 William 2012-04-12 09:13:14 UTC
The first boot after install of Kubuntu 12.04 and the mouse froze and and the following was dugup, but I couldn't do a trace since I couldn't find a keyboard shortcut to access the internet via my wifi and download the bug symbols. So I had to reboot via alt-f4. Prior to that though I logged out and back in which got the plasma search and launch to work again but not the mouse, but tab to the searched item doesn't let you launch it with space or return keys. The main reason I am posting here is because of the Krash handler listing Nepomuk and lib on a first boot crash.

Application: KDE Activity Manager (kactivitymanagerd), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb5450740 (LWP 1394))]

Thread 2 (Thread 0xb2777b40 (LWP 1525)):
[KCrash Handler]
#7  0xb6f8ca53 in ?? () from /usr/lib/libnepomuk.so.4
#8  0xb277d5ac in ?? () from /usr/lib/kde4/activitymanager_plugin_nepomuk.so
#9  0xb2784c02 in ?? () from /usr/lib/kde4/activitymanager_plugin_nepomuk.so
#10 0xb6c4dde0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb5cd9d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb5f73ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb5450740 (LWP 1394)):
#0  0xb774b424 in __kernel_vsyscall ()
#1  0xb5f6317b in read () from /lib/i386-linux-gnu/libc.so.6
#2  0xb575b9be in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb571cb90 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb571d0a2 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb571d261 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb6d95067 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb630889a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#8  0xb6d60c8d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb6d60f29 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb6d6663a in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb624d8c4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#12 0x0804c597 in ?? ()
#13 0xb5ea24d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#14 0x0804c5dd in _start ()
Comment 45 Vishesh Handa 2012-08-02 07:18:02 UTC
Fixed with Soprano 2.8.1

It turns out that QUrl is not thread-safe even on constant operations which are not supposed to modify its contents. This is because of the lazy-parsing feature in QUrl. An appropriate bug report has been filed for Qt4, and this has been fixed with Qt 5.

Soprano 2.8 has been patched to use QThreadStorage, so that each thread has its own copy of the vocabularies.
Comment 46 Vishesh Handa 2012-08-02 07:19:44 UTC
*** Bug 294933 has been marked as a duplicate of this bug. ***
Comment 47 Vishesh Handa 2012-08-06 08:33:28 UTC
*** Bug 274416 has been marked as a duplicate of this bug. ***