Bug 275553

Summary: Nepomuk crashes randomily (again and again...)
Product: [Unmaintained] nepomuk Reporter: Tom Kijas <t.kijas>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: crash CC: me, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tom Kijas 2011-06-13 15:38:20 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- Unusual behavior I noticed:
The Nepomuk crashes randomily, sometimes when I open dolphin, this time when I closed some windows. Please do something with it, it is really annoying.
Thanks
T.Kijas

The crash can be reproduced every time.

-- Backtrace:
Application: Pahýl služby Nepomuk (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 0x7fd5a7b23780 (LWP 4753))]

Thread 3 (Thread 0x7fd5a07bc700 (LWP 4765)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x000000316467e80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000000316467c8d8 in __libc_free (mem=0x316498f1c0) at malloc.c:3736
#3  0x00007fd5aa185645 in cleanup (this=0x1376110, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#4  ~QScopedPointer (this=0x1376110, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#5  QObject::~QObject (this=0x1376110, __in_chrg=<value optimized out>) at kernel/qobject.cpp:818
#6  0x00007fd5a7e309b3 in ~QWriteNotifier (this=<value optimized out>, __in_chrg=<value optimized out>) at socket/qnativesocketengine.cpp:1118
#7  QWriteNotifier::~QWriteNotifier (this=<value optimized out>, __in_chrg=<value optimized out>) at socket/qnativesocketengine.cpp:1118
#8  0x00007fd5a7e30121 in QNativeSocketEngine::close (this=<value optimized out>) at socket/qnativesocketengine.cpp:825
#9  0x00007fd5a7e3b789 in QAbstractSocketPrivate::resetSocketLayer (this=0x7fd598058bb0) at socket/qabstractsocket.cpp:508
#10 0x00007fd5a7e41b87 in QAbstractSocket::disconnectFromHostImplementation (this=0x7fd598058b50) at socket/qabstractsocket.cpp:2464
#11 0x00007fd5a7e4217c in QAbstractSocket::qt_metacall (this=0x7fd598058b50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fd5a07bb180) at .moc/release-shared/moc_qabstractsocket.cpp:114
#12 0x00007fd5aa176f4b in QMetaMethod::invoke (this=0x7fd5a07bb3d0, object=0x7fd598058b50, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1578
#13 0x00007fd5aa177ba8 in QMetaObject::invokeMethod (obj=0x7fd598058b50, member=<value optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#14 0x00007fd5a7e3c0b4 in invokeMethod (this=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:408
#15 QAbstractSocket::disconnectFromHost (this=<value optimized out>) at socket/qabstractsocket.cpp:2373
#16 0x00007fd5a7e3c15b in QAbstractSocket::close (this=0x7fd598058b50) at socket/qabstractsocket.cpp:2351
#17 0x00007fd5a7e41ada in QAbstractSocket::waitForReadyRead (this=0x7fd598058b50, msecs=600000) at socket/qabstractsocket.cpp:1875
#18 0x000000316fa15611 in ?? () from /usr/lib/libsopranoclient.so.1
#19 0x000000316fa166ed in ?? () from /usr/lib/libsopranoclient.so.1
#20 0x00007fd5a8ff2b68 in Nepomuk::MainModel::addStatement (this=0x1493f30, statement=...) at ../../nepomuk/core/nepomukmainmodel.cpp:252
#21 0x0000003173860321 in Soprano::FilterModel::addStatement(Soprano::Statement const&) () from /usr/lib/libsoprano.so.4
#22 0x00007fd5a8fee8c1 in Nepomuk::ResourceFilterModel::addStatement (this=0x1410ba0, statement=<value optimized out>) at ../../nepomuk/core/resourcefiltermodel.cpp:71
#23 0x00007fd5a0c2af37 in Nepomuk::IndexFeeder::addToModel (this=<value optimized out>, rs=...) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:153
#24 0x00007fd5a0c2bed5 in Nepomuk::IndexFeeder::handleRequest (this=0x14ef950, request=...) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:248
#25 0x00007fd5a0c2c33c in Nepomuk::IndexFeeder::run (this=0x14ef950) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:176
#26 0x00007fd5aa087175 in QThreadPrivate::start (arg=0x14ef950) at thread/qthread_unix.cpp:320
#27 0x0000003164e06d8c in start_thread (arg=0x7fd5a07bc700) at pthread_create.c:304
#28 0x00000031646e604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd597fff700 (LWP 5192)):
[KCrash Handler]
#6  malloc_consolidate (av=0x316498f1c0) at malloc.c:5161
#7  0x0000003164678528 in _int_free (av=0x316498f1c0, p=0x1dbdcc0) at malloc.c:5034
#8  0x000000316467c8e3 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#9  0x00000031646a939d in __closedir (dirp=<value optimized out>) at ../sysdeps/unix/closedir.c:52
#10 0x00007fd5aa14b008 in QFSFileEngineIterator::advance (this=0x1cdb990) at io/qfsfileengine_iterator_unix.cpp:86
#11 0x00007fd5aa143390 in QFSFileEngineIterator::next (this=0x1cdb990) at io/qfsfileengine_iterator.cpp:65
#12 0x00007fd5aa1022e4 in QDirIteratorPrivate::advance (this=0x161e540) at io/qdiriterator.cpp:217
#13 0x00007fd5aa10248d in QDirIterator::next (this=0x7fd597ffebc0) at io/qdiriterator.cpp:457
#14 0x00007fd5a0c22daa in Nepomuk::IndexScheduler::analyzeDir (this=0x14877b0, dir_=<value optimized out>, flags=...) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:391
#15 0x00007fd5a0c236ec in Nepomuk::IndexScheduler::run (this=0x14877b0) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:338
#16 0x00007fd5aa087175 in QThreadPrivate::start (arg=0x14877b0) at thread/qthread_unix.cpp:320
#17 0x0000003164e06d8c in start_thread (arg=0x7fd597fff700) at pthread_create.c:304
#18 0x00000031646e604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd5a7b23780 (LWP 4753)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x000000316467e80f in _L_lock_12013 () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x000000316467c8d8 in __libc_free (mem=0x316498f1c0) at malloc.c:3736
#3  0x0000003164639961 in __run_exit_handlers (status=1) at exit.c:78
#4  exit (status=1) at exit.c:100
#5  0x00007fd5a8527d48 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781
#6  0x00007fd5a94aa4e8 in KApplication::xioErrhandler (this=0x7fffa6e7d9e0, dpy=0x132bbc0) at ../../kdeui/kernel/kapplication.cpp:419
#7  0x0000003167242dee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#8  0x000000316724062d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#9  0x0000003167230f1f in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#10 0x00007fd5a8562c4c in x11EventSourceCheck (s=0x13117b0) at kernel/qguieventdispatcher_glib.cpp:85
#11 0x0000003166242854 in g_main_context_check (context=0x13108e0, max_priority=2147483647, fds=<value optimized out>, n_fds=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:2961
#12 0x0000003166243122 in g_main_context_iterate (context=0x13108e0, block=<value optimized out>, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3088
#13 0x0000003166243639 in g_main_context_iteration (context=0x13108e0, may_block=1) at /build/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#14 0x00007fd5aa1993ef in QEventDispatcherGlib::processEvents (this=0x12c84a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#15 0x00007fd5a8562dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#16 0x00007fd5aa16d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#17 0x00007fd5aa16dabc in QEventLoop::exec (this=0x7fffa6e7d7f0, flags=...) at kernel/qeventloop.cpp:201
#18 0x00007fd5aa171ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#19 0x0000000000403c3f in main (argc=2, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:165

This bug may be a duplicate of or related to bug 274359.

Possible duplicates by query: bug 274648, bug 274359, bug 261465, bug 256077.

Reported using DrKonqi
Comment 1 Dario Andres 2011-08-07 19:33:34 UTC
[Comment from a bug report cleaner]
This looks like bug 276242 but with a XIOError on thread 1
Comment 2 Sebastian Trueg 2011-09-20 12:25:35 UTC

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