Bug 270177

Summary: nepomuk crashes after several hours of system running
Product: [Unmaintained] nepomuk Reporter: maninred
Component: fileindexerAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED NOT A BUG    
Severity: crash CC: me, trueg
Priority: NOR    
Version: 4.6   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description maninred 2011-04-05 21:19:38 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.2 (4.6.2) "release 391"
Qt Version: 4.7.3
Operating System: Linux 2.6.37.1-1.2-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

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

Well, the system run the whole day, and in the evening  nepomuk crashed out of nothing.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f96bc94a760 (LWP 2969))]

Thread 3 (Thread 0x7f96ac1f1700 (LWP 2985)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f96b9e1bf2e in _L_lock_9927 () from /lib64/libc.so.6
#2  0x00007f96b9e1a2d1 in __libc_free (mem=0x7f96ba10ae80) at malloc.c:3731
#3  0x00007f96bc44d963 in cleanup (pointer=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:62
#4  ~QScopedPointer (this=0x92b1d8, __in_chrg=<optimized out>) at ../../src/corelib/tools/qscopedpointer.h:100
#5  QObject::~QObject (this=0x92b1d0, __in_chrg=<optimized out>) at kernel/qobject.cpp:818
#6  0x00007f96b8707613 in ~QWriteNotifier (this=0x92b1d0, __in_chrg=<optimized out>) at socket/qnativesocketengine.cpp:1118
#7  QWriteNotifier::~QWriteNotifier (this=0x92b1d0, __in_chrg=<optimized out>) at socket/qnativesocketengine.cpp:1118
#8  0x00007f96b8706d81 in QNativeSocketEngine::close (this=<optimized out>) at socket/qnativesocketengine.cpp:825
#9  0x00007f96b8712459 in QAbstractSocketPrivate::resetSocketLayer (this=0x7f96a4003d90) at socket/qabstractsocket.cpp:508
#10 0x00007f96b8718797 in QAbstractSocket::disconnectFromHostImplementation (this=0x7f96a4003d30) at socket/qabstractsocket.cpp:2415
#11 0x00007f96b8718d84 in QAbstractSocket::qt_metacall (this=0x7f96a4003d30, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7f96ac1f0290) at .moc/release-shared/moc_qabstractsocket.cpp:114
#12 0x00007f96bc43eadf in QMetaMethod::invoke (this=0x7f96ac1f04e0, object=0x7f96a4003d30, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1597
#13 0x00007f96bc43ff90 in QMetaObject::invokeMethod (obj=0x7f96a4003d30, member=<optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#14 0x00007f96b8712da4 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7f96b8750420 "disconnectFromHostImplementation", obj=<optimized out>) at ../../src/corelib/kernel/qobjectdefs.h:410
#15 QAbstractSocket::disconnectFromHost (this=<optimized out>) at socket/qabstractsocket.cpp:2373
#16 0x00007f96b8712e4b in QAbstractSocket::close (this=0x7f96a4003d30) at socket/qabstractsocket.cpp:2351
#17 0x00007f96b87186db in QAbstractSocket::waitForReadyRead (this=0x7f96a4003d30, msecs=<optimized out>) at socket/qabstractsocket.cpp:1875
#18 0x00007f96b63fea87 in Soprano::Client::ClientConnection::addStatement (this=0x754da0, modelId=106519261, statement=...) at /usr/src/debug/soprano-2.5.63/client/clientconnection.cpp:200
#19 0x00007f96b63ff80c in Soprano::Client::ClientModel::addStatement (this=0x71c710, statement=<optimized out>) at /usr/src/debug/soprano-2.5.63/client/clientmodel.cpp:64
#20 0x00007f96bb0d67e4 in Nepomuk::MainModel::addStatement (this=0x718b00, statement=...) at /usr/src/debug/kdelibs-4.6.2/nepomuk/core/nepomukmainmodel.cpp:252
#21 0x00007f96b66a0303 in Soprano::FilterModel::addStatement (this=0x719720, statement=<optimized out>) at /usr/src/debug/soprano-2.5.63/soprano/filtermodel.cpp:92
#22 0x00007f96bb0d5761 in Nepomuk::ResourceFilterModel::addStatement (this=0x719720, statement=<optimized out>) at /usr/src/debug/kdelibs-4.6.2/nepomuk/core/resourcefiltermodel.cpp:71
#23 0x00007f96ac825b53 in Nepomuk::IndexFeeder::addToModel (this=<optimized out>, rs=...) at /usr/src/debug/kdebase-runtime-4.6.2/nepomuk/services/strigi/nepomukindexfeeder.cpp:153
#24 0x00007f96ac826c4d in Nepomuk::IndexFeeder::handleRequest (this=0x7b62a0, request=...) at /usr/src/debug/kdebase-runtime-4.6.2/nepomuk/services/strigi/nepomukindexfeeder.cpp:248
#25 0x00007f96ac827109 in Nepomuk::IndexFeeder::run (this=0x7b62a0) at /usr/src/debug/kdebase-runtime-4.6.2/nepomuk/services/strigi/nepomukindexfeeder.cpp:176
#26 0x00007f96bc34d165 in QThreadPrivate::start (arg=0x7b62a0) at thread/qthread_unix.cpp:331
#27 0x00007f96bc0bca3f in start_thread (arg=0x7f96ac1f1700) at pthread_create.c:297
#28 0x00007f96b9e7567d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#29 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f96a29b7700 (LWP 2993)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f96bc34c263 in QMutexPrivate::wait (this=0x7195d0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f96bc348b85 in QMutex::lock (this=0x719bb0) at thread/qmutex.cpp:167
#3  0x00007f96bb0eec8f in QMutexLocker (m=0x719bb0, this=<optimized out>) at /usr/include/QtCore/qmutex.h:102
#4  Nepomuk::Resource::Resource (this=0x7f96a29b6590, uri=..., type=...) at /usr/src/debug/kdelibs-4.6.2/nepomuk/core/resource.cpp:106
#5  0x00007f96ac8237fe in FileMetaData (idx=<optimized out>, this=0x7f969f0d0db0) at /usr/include/QtCore/qstring.h:883
#6  Nepomuk::StrigiIndexWriter::startAnalysis (this=0x76f6b0, idx=0x7f96a29b69a0) at /usr/src/debug/kdebase-runtime-4.6.2/nepomuk/services/strigi/nepomukindexwriter.cpp:400
#7  0x00007f96ac829501 in Nepomuk::Indexer::indexFile (this=<optimized out>, info=...) at /usr/src/debug/kdebase-runtime-4.6.2/nepomuk/services/strigi/nepomukindexer.cpp:127
#8  0x00007f96ac81d707 in Nepomuk::IndexScheduler::analyzeDir (this=0x758910, dir_=<optimized out>, flags=...) at /usr/src/debug/kdebase-runtime-4.6.2/nepomuk/services/strigi/indexscheduler.cpp:376
#9  0x00007f96ac81e1ea in Nepomuk::IndexScheduler::run (this=0x758910) at /usr/src/debug/kdebase-runtime-4.6.2/nepomuk/services/strigi/indexscheduler.cpp:338
#10 0x00007f96bc34d165 in QThreadPrivate::start (arg=0x758910) at thread/qthread_unix.cpp:331
#11 0x00007f96bc0bca3f in start_thread (arg=0x7f96a29b7700) at pthread_create.c:297
#12 0x00007f96b9e7567d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f96bc94a760 (LWP 2969)):
[KCrash Handler]
#6  0x00007f96b9e156eb in malloc_consolidate (av=0x7f96ba10ae80) at malloc.c:5139
#7  0x00007f96b9e16e14 in _int_malloc (av=0x7f96ba10ae80, bytes=8016) at malloc.c:4367
#8  0x00007f96b9e19d99 in __libc_malloc (bytes=8016) at malloc.c:3655
#9  0x00007f96bc36affb in QListData::detach (this=<optimized out>, alloc=999) at tools/qlist.cpp:185
#10 0x00007f96bb106be7 in QList<Nepomuk::ResourceData*>::detach_helper (this=0x7fff5a3f4ac0, alloc=<optimized out>) at /usr/include/QtCore/qlist.h:694
#11 0x00007f96bb106cc5 in QHash<KUrl, Nepomuk::ResourceData*>::values (this=0x719bc0) at /usr/include/QtCore/qhash.h:694
#12 0x00007f96bb0ea907 in Nepomuk::ResourceManagerPrivate::allResourceData (this=<optimized out>) at /usr/src/debug/kdelibs-4.6.2/nepomuk/core/resourcemanager.cpp:169
#13 0x00007f96bb0eab51 in Nepomuk::ResourceManager::slotStoreChanged (this=<optimized out>) at /usr/src/debug/kdelibs-4.6.2/nepomuk/core/resourcemanager.cpp:517
#14 0x00007f96bb0ee32c in Nepomuk::ResourceManager::qt_metacall (this=0x70e190, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5a3f4bf0) at /usr/src/debug/kdelibs-4.6.2/build/nepomuk/resourcemanager.moc:89
#15 0x00007f96bc44abef in QMetaObject::activate (sender=0x719720, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#16 0x00007f96b66a0918 in Soprano::FilterModel::qt_metacall (this=0x719720, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5a3f4ce0) at /usr/src/debug/soprano-2.5.63/build/soprano/filtermodel.moc:78
#17 0x00007f96bc44abef in QMetaObject::activate (sender=0x718b00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#18 0x00007f96b6686e98 in Soprano::Model::qt_metacall (this=0x718b00, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5a3f4dd0) at /usr/src/debug/soprano-2.5.63/build/soprano/model.moc:80
#19 0x00007f96bc44abef in QMetaObject::activate (sender=0x71ab90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#20 0x00007f96b6686e98 in Soprano::Model::qt_metacall (this=0x71ab90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff5a3f4ec0) at /usr/src/debug/soprano-2.5.63/build/soprano/model.moc:80
#21 0x00007f96bc44abef in QMetaObject::activate (sender=0x75c540, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#22 0x00007f96b641a685 in statementsAdded (this=0x75c540) at /usr/src/debug/soprano-2.5.63/build/client/dbusmodelinterface.moc:185
#23 Soprano::Client::DBusModelInterface::qt_metacall (this=0x75c540, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff5a3f5500) at /usr/src/debug/soprano-2.5.63/build/client/dbusmodelinterface.moc:127
#24 0x00007f96bbe618f8 in QDBusConnectionPrivate::deliverCall (this=0x6b85e0, object=0x75c540, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:942
#25 0x00007f96bbe6bc3f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#26 0x00007f96bc44a50a in QObject::event (this=0x75c540, e=<optimized out>) at kernel/qobject.cpp:1217
#27 0x00007f96ba5e1944 in QApplicationPrivate::notify_helper (this=0x62aaa0, receiver=0x75c540, e=0x43b01e0) at kernel/qapplication.cpp:4462
#28 0x00007f96ba5e9efa in QApplication::notify (this=<optimized out>, receiver=0x75c540, e=0x43b01e0) at kernel/qapplication.cpp:4341
#29 0x00007f96bb4ead46 in KApplication::notify (this=0x7fff5a3f6160, receiver=0x75c540, event=0x43b01e0) at /usr/src/debug/kdelibs-4.6.2/kdeui/kernel/kapplication.cpp:311
#30 0x00007f96bc43654c in QCoreApplication::notifyInternal (this=0x7fff5a3f6160, receiver=0x75c540, event=0x43b01e0) at kernel/qcoreapplication.cpp:787
#31 0x00007f96bc439d45 in sendEvent (event=0x43b01e0, receiver=0x75c540) at kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x609590) at kernel/qcoreapplication.cpp:1428
#33 0x00007f96bc4611a3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0x62d9c0) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00007f96b92cbbd3 in g_main_dispatch (context=0x62d8e0) at gmain.c:2440
#36 g_main_context_dispatch (context=0x62d8e0) at gmain.c:3013
#37 0x00007f96b92cc3b0 in g_main_context_iterate (context=0x62d8e0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3091
#38 0x00007f96b92cc650 in g_main_context_iteration (context=0x62d8e0, may_block=1) at gmain.c:3154
#39 0x00007f96bc46133f in QEventDispatcherGlib::processEvents (this=0x60ec20, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#40 0x00007f96ba6874ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f96bc4359a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f96bc435bb5 in QEventLoop::exec (this=0x7fff5a3f5f30, flags=...) at kernel/qeventloop.cpp:201
#43 0x00007f96bc439ffb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#44 0x0000000000403ea2 in main (argc=2, argv=0x7fff5a3f65b8) at /usr/src/debug/kdebase-runtime-4.6.2/nepomuk/servicestub/main.cpp:165

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

Possible duplicates by query: bug 268901, bug 262057, bug 259188, bug 257258, bug 256215.

Reported using DrKonqi
Comment 1 Vishesh Handa 2012-12-03 07:38:33 UTC
Marking as INVALID. The code has changed too much from 4.6 for this backtrace to still hold any meaning.

This also means that the bug has been fixed :)