Bug 248244

Summary: Nepokuk server intermitently crashing while indexing.
Product: [Unmaintained] nepomuk Reporter: jbrsubscribe
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED FIXED    
Severity: crash CC: agente2012, david-sarah, evengard, j_macharia, mail, michael.murphy, nico.kruber, public, tonesenna, trueg, veresp
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.7.1
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
DrKonki crashlog
DrKonqi crashlog
valgrind logfile
valgrind shell output
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description jbrsubscribe 2010-08-18 14:38:39 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-default x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
Nepokuk server intermitently crashing while indexing. Not possible to say exactly when it crashes.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Aborted
[Current thread is 1 (Thread 0x7f8e430c1760 (LWP 572))]

Thread 2 (Thread 0x7f8e320a5710 (LWP 737)):
[KCrash Handler]
#6  0x00007f8e4063e9e5 in raise () from /lib64/libc.so.6
#7  0x00007f8e4063fee6 in abort () from /lib64/libc.so.6
#8  0x00007f8e40679c53 in __libc_message () from /lib64/libc.so.6
#9  0x00007f8e4067f226 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007f8e40683fcc in free () from /lib64/libc.so.6
#11 0x00007f8e42b5acac in QString::free (d=0x1d8aed0) at tools/qstring.cpp:1108
#12 0x00007f8e42b5b222 in QString::operator= (this=<value optimized out>, other=@0xc36f50) at tools/qstring.cpp:1282
#13 0x00007f8e32d2b974 in Nepomuk::IndexScheduler::updateDir (this=0x782df0, dir=..., analyzer=0x7f8e320a4e10, flags=...)
    at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/services/strigi/indexscheduler.cpp:337
#14 0x00007f8e32d2c325 in Nepomuk::IndexScheduler::updateDir (this=0x782df0, dir=<value optimized out>, analyzer=0x7f8e320a4e10, flags=...)
    at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/services/strigi/indexscheduler.cpp:422
#15 0x00007f8e32d2c325 in Nepomuk::IndexScheduler::updateDir (this=0x782df0, dir=<value optimized out>, analyzer=0x7f8e320a4e10, flags=...)
    at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/services/strigi/indexscheduler.cpp:422
#16 0x00007f8e32d2c325 in Nepomuk::IndexScheduler::updateDir (this=0x782df0, dir=<value optimized out>, analyzer=0x7f8e320a4e10, flags=...)
    at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/services/strigi/indexscheduler.cpp:422
#17 0x00007f8e32d2c325 in Nepomuk::IndexScheduler::updateDir (this=0x782df0, dir=<value optimized out>, analyzer=0x7f8e320a4e10, flags=...)
    at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/services/strigi/indexscheduler.cpp:422
#18 0x00007f8e32d2c325 in Nepomuk::IndexScheduler::updateDir (this=0x782df0, dir=<value optimized out>, analyzer=0x7f8e320a4e10, flags=...)
    at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/services/strigi/indexscheduler.cpp:422
#19 0x00007f8e32d2c325 in Nepomuk::IndexScheduler::updateDir (this=0x782df0, dir=<value optimized out>, analyzer=0x7f8e320a4e10, flags=...)
    at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/services/strigi/indexscheduler.cpp:422
#20 0x00007f8e32d2c325 in Nepomuk::IndexScheduler::updateDir (this=0x782df0, dir=<value optimized out>, analyzer=0x7f8e320a4e10, flags=...)
    at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/services/strigi/indexscheduler.cpp:422
#21 0x00007f8e32d2c829 in Nepomuk::IndexScheduler::run (this=0x782df0) at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/services/strigi/indexscheduler.cpp:314
#22 0x00007f8e42b16c05 in QThreadPrivate::start (arg=0x782df0) at thread/qthread_unix.cpp:248
#23 0x00007f8e42888a4f in start_thread () from /lib64/libpthread.so.0
#24 0x00007f8e406dc82d in clone () from /lib64/libc.so.6
#25 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8e430c1760 (LWP 572)):
#0  0x00007f8e406e9afe in __lll_lock_wait_private () from /lib64/libc.so.6
#1  0x00007f8e40685c03 in _L_lock_9787 () from /lib64/libc.so.6
#2  0x00007f8e40683fc1 in free () from /lib64/libc.so.6
#3  0x00007f8e42b31fc8 in QHashData::free_helper (this=0x972730, node_delete=0x7f8e3d1b7be0) at tools/qhash.cpp:276
#4  0x00007f8e406414e1 in __run_exit_handlers () from /lib64/libc.so.6
#5  0x00007f8e40641535 in exit () from /lib64/libc.so.6
#6  0x00007f8e40e9fd18 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:744
#7  0x00007f8e41cde068 in KApplication::xioErrhandler (this=0x7fffd9426d00, dpy=0x649e60) at /usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kapplication.cpp:416
#8  0x00007f8e3df3aa3e in _XIOError () from /usr/lib64/libX11.so.6
#9  0x00007f8e3df415a5 in ?? () from /usr/lib64/libX11.so.6
#10 0x00007f8e3df4190c in _XEventsQueued () from /usr/lib64/libX11.so.6
#11 0x00007f8e3df2a7ef in XEventsQueued () from /usr/lib64/libX11.so.6
#12 0x00007f8e40ed6ffc in x11EventSourceCheck (s=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:85
#13 0x00007f8e3fb3f618 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#14 0x00007f8e3fb3fef2 in ?? () from /usr/lib64/libglib-2.0.so.0
#15 0x00007f8e3fb40410 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f8e42c243c6 in QEventDispatcherGlib::processEvents (this=0x60b5e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#17 0x00007f8e40ed715e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#18 0x00007f8e42bfaf52 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#19 0x00007f8e42bfb155 in QEventLoop::exec (this=0x7fffd9426b30, flags=...) at kernel/qeventloop.cpp:201
#20 0x00007f8e42bff54b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#21 0x0000000000403a81 in main (argc=2, argv=0x7fffd9427128) at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/servicestub/main.cpp:152

Possible duplicates by query: bug 248227, bug 240783, bug 230687.

Reported using DrKonqi
Comment 1 Nico Kruber 2010-08-22 17:58:51 UTC
Created attachment 50836 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.5.00 (KDE 4.5.0) using Qt 4.6.3

- What I was doing when the application crashed:

letting strigi index my files using virtuoso backend (soprano-virtuoso.db ~4.2GB - but I'm working on an even larger DB on another computer and haven't seen a crash so far...)

-- Backtrace (Reduced):
#11 0x00007f3e0a936dac in QString::free (d=0xff4c30) at tools/qstring.cpp:1108
#12 0x00007f3e0a937322 in QString::operator= (this=0x6c1258, other=@0x1358090) at tools/qstring.cpp:1282
#13 0x00007f3dfb140974 in Nepomuk::IndexScheduler::updateDir (this=0x6c1200, dir=..., analyzer=0x7f3dfa276e10, flags=...)
    at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/services/strigi/indexscheduler.cpp:337
#14 0x00007f3dfb141325 in Nepomuk::IndexScheduler::updateDir (this=0x6c1200, dir=<value optimized out>, analyzer=0x7f3dfa276e10, flags=...)
    at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/services/strigi/indexscheduler.cpp:422
#15 0x00007f3dfb141325 in Nepomuk::IndexScheduler::updateDir (this=0x6c1200, dir=<value optimized out>, analyzer=0x7f3dfa276e10, flags=...)
    at /usr/src/debug/kdebase-runtime-4.5.0/nepomuk/services/strigi/indexscheduler.cpp:422
Comment 2 Sebastian Trueg 2010-09-08 09:30:15 UTC
*** Bug 248227 has been marked as a duplicate of this bug. ***
Comment 3 Sebastian Trueg 2010-09-08 09:31:24 UTC
*** Bug 248797 has been marked as a duplicate of this bug. ***
Comment 4 Alvise 2010-09-09 18:17:43 UTC
Created attachment 51483 [details]
DrKonki crashlog

The crash occurred after have :
- installed latest kernel patch for oS 11.3
- upgraded dbus to version 1.4
Comment 5 Sebastian Trueg 2010-09-09 22:07:33 UTC
@Alvise: can you reproduce this crash? And if so would you be willing to run it through valgrind?
You could do that my disabling Nepomuk in the systemsettings, then start "valgrind -v --log-file=XYZ nepomukservicestub nepomukstorage", and then once you got a ton of output re-enable Nepomuk in the systemsettings.
Comment 6 Alvise 2010-09-16 09:55:09 UTC
Created attachment 51704 [details]
DrKonqi crashlog

Sure.

Here is at last a crash while I was running with valgrind
Comment 7 Alvise 2010-09-16 09:56:13 UTC
Created attachment 51705 [details]
valgrind logfile
Comment 8 Alvise 2010-09-16 09:57:01 UTC
Created attachment 51706 [details]
valgrind shell output
Comment 9 agente2012 2010-11-01 08:02:47 UTC
Created attachment 53034 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

Whenever I ignite the equipment the application does crash

-- Backtrace (Reduced):
#14 0x00a540ad in qFree (ptr=0x9b057f8) at global/qmalloc.cpp:60
#15 0x00aa50b0 in QString::free (d=0x0) at tools/qstring.cpp:1151
#16 0x00aa550e in QString::operator= (this=0x972682c, other=...) at tools/qstring.cpp:1325
#17 0x021c7b0e in Nepomuk::IndexScheduler::updateDir (this=0x9726800, dir=..., analyzer=0xb54532fc, flags=...) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:337
#18 0x021c857a in Nepomuk::IndexScheduler::updateDir (this=0x9726800, dir=..., analyzer=0xb54532fc, flags=) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:421
Comment 10 Evengard 2010-11-05 14:00:45 UTC
Created attachment 53159 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

I was just using my KDE desktop normally, when the message of the crash appeared

-- Backtrace (Reduced):
#11 0x00007f4d4c9ee2ec in QString::free(QString::Data*) () from /usr/lib/libQtCore.so.4
#12 0x00007f4d4c9ee862 in QString::operator=(QString const&) () from /usr/lib/libQtCore.so.4
#13 0x00007f4d3d291cc4 in Nepomuk::IndexScheduler::updateDir(QString const&, Strigi::StreamAnalyzer*, QFlags<Nepomuk::IndexScheduler::UpdateDirFlag>) () from /usr/lib/kde4/nepomukstrigiservice.so
#14 0x00007f4d3d292675 in Nepomuk::IndexScheduler::updateDir(QString const&, Strigi::StreamAnalyzer*, QFlags<Nepomuk::IndexScheduler::UpdateDirFlag>) () from /usr/lib/kde4/nepomukstrigiservice.so
#15 0x00007f4d3d292675 in Nepomuk::IndexScheduler::updateDir(QString const&, Strigi::StreamAnalyzer*, QFlags<Nepomuk::IndexScheduler::UpdateDirFlag>) () from /usr/lib/kde4/nepomukstrigiservice.so
Comment 11 Evengard 2011-01-21 20:29:02 UTC
Is the bug abbandoned? The crashes persist on KDE 4.5.5
Comment 12 Christoph Feck 2011-02-11 00:39:37 UTC
Evengard, if you can reproduce it, please add a valgrind log.
Comment 13 Evengard 2011-02-11 03:09:38 UTC
in 4.6 it is reproduced VERY rarely, so for now I can't reproduce it with valgrind.
Comment 14 Sebastian Trueg 2011-09-21 17:44:36 UTC
*** Bug 279503 has been marked as a duplicate of this bug. ***
Comment 15 Sebastian Trueg 2011-09-21 17:45:03 UTC
*** Bug 241180 has been marked as a duplicate of this bug. ***
Comment 16 Sebastian Trueg 2011-09-21 17:45:37 UTC
*** Bug 270844 has been marked as a duplicate of this bug. ***
Comment 17 Sebastian Trueg 2011-09-21 17:48:21 UTC
Fixed in 4.7.1
Comment 18 Sebastian Trueg 2011-11-03 11:01:11 UTC
*** Bug 285618 has been marked as a duplicate of this bug. ***
Comment 19 michael.murphy 2011-12-08 17:12:02 UTC
Created attachment 66509 [details]
New crash information added by DrKonqi

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

- Unusual behavior I noticed: Seg faults repeatedly when matlab & eclipse are debugging.

-- Backtrace (Reduced):
#6  0x00007f8d49d06c07 in malloc_consolidate (av=0x7f8d4a01e1c0) at malloc.c:5161
#7  0x00007f8d49d08472 in _int_malloc (av=0x7f8d4a01e1c0, bytes=1048) at malloc.c:4373
#8  0x00007f8d49d0b31e in __libc_malloc (bytes=1048) at malloc.c:3660
[...]
#11 0x00007f8d4c0cc30f in QHashData::rehash (this=0x234a3d0, hint=<value optimized out>) at tools/qhash.cpp:364
#12 0x00007f8d4b0184b7 in reserve (this=0x7fff50f261f0) at /usr/include/qt4/QtCore/qhash.h:847