Summary: | Crash in Nepomuk::Types::EntityPrivate::load | ||
---|---|---|---|
Product: | [Unmaintained] nepomuk | Reporter: | lucatersi |
Component: | libnepomukcore | Assignee: | Sebastian Trueg <trueg> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cyberang3l, dima, dnadoublehelix-buggy, faycpercussion, GSinsley, hrvoje.senjan, i.proudler, kde, lbickley, liquidsunshine+kde, maninred, manuavazquez, me, micheluzzo, micro_corvalan, nonameflas, p92, patric.beinschob, paulo.miguel.dias, pigletto, rufus_1_2, salsa_temps, sorell7, Sroka.Steven, stephan.menzel, toperek, vivekumasuthan, wooly1111, workingwriter, yugenekr |
Priority: | NOR | ||
Version: | 4.6 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Patch against soprano 2.7
Patch against soprano 2.7 New crash information added by DrKonqi New crash information added by DrKonqi |
Description
lucatersi
2011-08-26 06:43:43 UTC
*** Bug 277379 has been marked as a duplicate of this bug. *** *** Bug 276044 has been marked as a duplicate of this bug. *** *** Bug 275791 has been marked as a duplicate of this bug. *** *** Bug 273521 has been marked as a duplicate of this bug. *** *** Bug 272882 has been marked as a duplicate of this bug. *** *** Bug 267728 has been marked as a duplicate of this bug. *** *** Bug 265017 has been marked as a duplicate of this bug. *** 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.
*** Bug 280828 has been marked as a duplicate of this bug. *** *** Bug 280006 has been marked as a duplicate of this bug. *** *** Bug 275732 has been marked as a duplicate of this bug. *** *** Bug 275251 has been marked as a duplicate of this bug. *** *** Bug 275001 has been marked as a duplicate of this bug. *** *** Bug 273164 has been marked as a duplicate of this bug. *** *** Bug 272825 has been marked as a duplicate of this bug. *** *** Bug 271304 has been marked as a duplicate of this bug. *** *** Bug 269787 has been marked as a duplicate of this bug. *** *** Bug 267674 has been marked as a duplicate of this bug. *** 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. (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.) Shall I remove the old Soprano? and what about kdelibs? is this 'sudo apt-get install --reinstall kdelibs' enough? (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 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.
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 ../ (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 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 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
(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. (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. :) 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. *** Bug 282890 has been marked as a duplicate of this bug. *** (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... (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 (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. :) *** Bug 284009 has been marked as a duplicate of this bug. *** *** Bug 274031 has been marked as a duplicate of this bug. *** *** Bug 251684 has been marked as a duplicate of this bug. *** 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
*** Bug 285931 has been marked as a duplicate of this bug. *** *** Bug 285851 has been marked as a duplicate of this bug. *** *** Bug 285912 has been marked as a duplicate of this bug. *** *** Bug 283982 has been marked as a duplicate of this bug. *** *** Bug 289270 has been marked as a duplicate of this bug. *** 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 () 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. *** Bug 294933 has been marked as a duplicate of this bug. *** *** Bug 274416 has been marked as a duplicate of this bug. *** |