Bug 277090

Summary: Nepomuk crashed while indexing files
Product: [Unmaintained] nepomuk Reporter: S. Burmeister <sven.burmeister>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED DUPLICATE    
Severity: crash CC: me
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description S. Burmeister 2011-07-04 21:07:27 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.3
Operating System: Linux 2.6.37.6-0.5-default i686
Distribution: "openSUSE 11.4 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:

I re-enabled nepomuk and strigi and they started indexing files. After some time they crashed.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5646710 (LWP 9969))]

Thread 3 (Thread 0xb2937b70 (LWP 9983)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb754b105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb75c3080 in wait (this=0x819d3ec, mutex=0x819d3e8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x819d3ec, mutex=0x819d3e8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb2984699 in Nepomuk::IndexFeeder::run (this=0x819d3d8) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/nepomukindexfeeder.cpp:188
#5  0xb75c2993 in QThreadPrivate::start (arg=0x819d3d8) at thread/qthread_unix.cpp:320
#6  0xb7546b05 in start_thread () from /lib/libpthread.so.0
#7  0xb60e7d5e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xae5c2b70 (LWP 9994)):
[KCrash Handler]
#7  0xb608218c in malloc_consolidate () from /lib/libc.so.6
#8  0xb6083743 in _int_malloc () from /lib/libc.so.6
#9  0xb608659a in malloc () from /lib/libc.so.6
#10 0xb75bc5bb in qMalloc (size=65536) at global/qmalloc.cpp:55
#11 0xb75c4c3e in QByteArray::realloc (this=0x82860e4, alloc=65516) at tools/qbytearray.cpp:1428
#12 0xb75c4d67 in QByteArray::resize (this=0x82860e4, size=32768) at tools/qbytearray.cpp:1396
#13 0xb5d9e184 in reserve (this=0x82899e8, data=0xae5c1d1c "\021", size=2) at ../../src/corelib/tools/qringbuffer_p.h:158
#14 QAbstractSocket::writeData (this=0x82899e8, data=0xae5c1d1c "\021", size=2) at socket/qabstractsocket.cpp:2214
#15 0xb5daa34b in writeData (this=0x80da870, data=0xae5c1d1c "\021", c=2) at socket/qlocalsocket_p.h:109
#16 QLocalSocket::writeData (this=0x80da870, data=0xae5c1d1c "\021", c=2) at socket/qlocalsocket_unix.cpp:406
#17 0xb76533cb in QIODevice::write (this=0x80da870, data=0xae5c1d1c "\021", maxSize=2) at io/qiodevice.cpp:1362
#18 0xb584b51e in Soprano::DataStream::writeUnsignedInt16 (this=0xae5c1d54, v=17) at /usr/src/debug/soprano-2.6.0/server/datastream.cpp:95
#19 0xb5853ef4 in Soprano::Client::ClientConnection::executeQuery (this=0x8150490, modelId=660389056, query=..., type=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/src/debug/soprano-2.6.0/client/clientconnection.cpp:253
#20 0xb5855a78 in Soprano::Client::ClientModel::executeQuery (this=0x814d468, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/src/debug/soprano-2.6.0/client/clientmodel.cpp:101
#21 0xb6d63b7d in Nepomuk::MainModel::executeQuery (this=0x814e268, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at /usr/src/debug/kdelibs-4.6.4/nepomuk/core/nepomukmainmodel.cpp:212
#22 0xb58ef85f in Soprano::FilterModel::executeQuery (this=0x814d580, query=..., language=512, userQueryLanguage=...) at /usr/src/debug/soprano-2.6.0/soprano/filtermodel.cpp:164
#23 0xb298288a in Nepomuk::IndexFeeder::clearIndexedDataForResourceUri (res=...) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/nepomukindexfeeder.cpp:323
#24 0xb2980731 in Nepomuk::StrigiIndexWriter::startAnalysis (this=0x81aae38, idx=0xae5c2108) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/nepomukindexwriter.cpp:403
#25 0xb50ba4a0 in Strigi::AnalysisResult::AnalysisResult (this=0xae5c2108, path=..., mt=1309809843, w=..., indexer=..., parentpath=...) at /usr/src/debug/strigi-0.7.3.99/libstreamanalyzer/lib/analysisresult.cpp:178
#26 0xb2986f05 in Nepomuk::Indexer::indexFile (this=0x80d10b0, info=...) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/nepomukindexer.cpp:127
#27 0xb297a0fd in Nepomuk::IndexScheduler::analyzeDir (this=0x819e3d0, dir_=..., flags=...) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/indexscheduler.cpp:450
#28 0xb297a4c2 in Nepomuk::IndexScheduler::run (this=0x819e3d0) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/services/strigi/indexscheduler.cpp:338
#29 0xb75c2993 in QThreadPrivate::start (arg=0x819e3d0) at thread/qthread_unix.cpp:320
#30 0xb7546b05 in start_thread () from /lib/libpthread.so.0
#31 0xb60e7d5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5646710 (LWP 9969)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb60f5e53 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb60882fb in _L_lock_10372 () from /lib/libc.so.6
#3  0xb6086a66 in free () from /lib/libc.so.6
#4  0xb6232b0f in operator delete(void*) () from /usr/lib/libstdc++.so.6
#5  0xb76ee3c2 in QEventDispatcherGlib::unregisterSocketNotifier (this=0x8054478, notifier=0x80d9d88) at kernel/qeventdispatcher_glib.cpp:503
#6  0xb76dc1b8 in QSocketNotifier::setEnabled (this=0x80d9d88, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0xb76ed9de in socketNotifierSourceCheck (source=0x806f500) at kernel/qeventdispatcher_glib.cpp:92
#8  0xb5f36180 in g_main_context_check () from /lib/libglib-2.0.so.0
#9  0xb5f36ac8 in ?? () from /lib/libglib-2.0.so.0
#10 0xb5f36fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0xb76edf7b in QEventDispatcherGlib::processEvents (this=0x8054478, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#12 0xb64661da in QGuiEventDispatcherGlib::processEvents (this=0x8054478, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#13 0xb76bea6d in QEventLoop::processEvents (this=0xbfa8c024, flags=...) at kernel/qeventloop.cpp:149
#14 0xb76bec99 in QEventLoop::exec (this=0xbfa8c024, flags=...) at kernel/qeventloop.cpp:201
#15 0xb76c3740 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#16 0xb63ad3d4 in QApplication::exec () at kernel/qapplication.cpp:3736
#17 0x0804b36e in main (argc=) at /usr/src/debug/kdebase-runtime-4.6.4/nepomuk/servicestub/main.cpp:165

Possible duplicates by query: bug 272642, bug 272474.

Reported using DrKonqi
Comment 1 Dario Andres 2011-08-07 20:20:55 UTC
[Comment from a bug triager]
This issue is now being tracked at bug 275768, merging.
Thanks

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