Bug 285475 - Nepomuk crash with no apparent reason
Summary: Nepomuk crash with no apparent reason
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Unmaintained
Component: fileindexer (show other bugs)
Version: 4.6
Platform: Debian unstable Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-01 14:43 UTC by Jeffrey
Modified: 2012-08-20 12:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (7.70 KB, text/plain)
2012-08-20 12:37 UTC, quazgar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey 2011-11-01 14:43:21 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-2-686-pae i686
Distribution: Debian GNU/Linux unstable (sid)

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

I was just writing a message in Kopete when Nepomuk crashed and I am unsurte why.  I hope the backtrace helps.  If not, close the bug I suppose.  Thanks for KDE!

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

Thread 3 (Thread 0xb524cb70 (LWP 15126)):
#0  0xb7870424 in __kernel_vsyscall ()
#1  0x4cbb4db1 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x4cb4bba7 in _L_lock_9661 () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#3  0x4cb4a3d6 in *__GI___libc_free (mem=0x9760240) at malloc.c:3736
#4  0x4ceee3bf in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0x4d4e093c in QEventDispatcherGlib::unregisterSocketNotifier (this=0x967c3f0, notifier=0x9758700) at kernel/qeventdispatcher_glib.cpp:503
#6  0x4d4ce798 in setEnabled (enable=<optimized out>, this=0x9758700) at kernel/qsocketnotifier.cpp:298
#7  QSocketNotifier::setEnabled (this=0x9758700, enable=false) at kernel/qsocketnotifier.cpp:284
#8  0x4d6f1f73 in QNativeSocketEngine::setReadNotificationEnabled (this=0x9757460, enable=false) at socket/qnativesocketengine.cpp:1169
#9  0x4d703ef1 in QAbstractSocket::disconnectFromHostImplementation (this=0x975fd80) at socket/qabstractsocket.cpp:2409
#10 0x4d7046b4 in QAbstractSocket::qt_metacall (this=0x975fd80, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xb524bad8) at .moc/release-shared/moc_qabstractsocket.cpp:114
#11 0x4d730dc3 in QTcpSocket::qt_metacall (this=0x975fd80, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0xb524bad8) at .moc/release-shared/moc_qtcpsocket.cpp:64
#12 0x4d4b887d in metacall (argv=0xb524bad8, idx=18, cl=QMetaObject::InvokeMetaMethod, object=0x975fd80) at kernel/qmetaobject.cpp:237
#13 QMetaObject::metacall (object=0x975fd80, cl=QMetaObject::InvokeMetaMethod, idx=18, argv=0xb524bad8) at kernel/qmetaobject.cpp:232
#14 0x4d4ba2d0 in QMetaMethod::invoke (this=0xb524be44, object=0x975fd80, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1578
#15 0x4d4bc6f8 in QMetaObject::invokeMethod (obj=0x975fd80, member=0x4d743644 "disconnectFromHostImplementation", type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#16 0x4d6fe600 in invokeMethod (val9=<optimized out>, val8=<optimized out>, val7=<optimized out>, val6=<optimized out>, val5=<optimized out>, val4=<optimized out>, val3=<optimized out>, val2=<optimized out>, val1=<optimized out>, val0=<optimized out>, type=Qt::DirectConnection, member=0x4d743644 "disconnectFromHostImplementation", obj=0x975fd80) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:408
#17 QAbstractSocket::disconnectFromHost (this=0x975fd80) at socket/qabstractsocket.cpp:2373
#18 0x4d6fe75f in QAbstractSocket::close (this=0x975fd80) at socket/qabstractsocket.cpp:2351
#19 0x4d70580a in QAbstractSocket::waitForReadyRead (this=0x975fd80, msecs=600000) at socket/qabstractsocket.cpp:1875
#20 0x4d70e771 in QLocalSocket::waitForReadyRead (this=0x975f088, msecs=600000) at socket/qlocalsocket_unix.cpp:576
#21 0x4f7a17b4 in ?? () from /usr/lib/libsopranoclient.so.1
#22 0x4f7a2564 in ?? () from /usr/lib/libsopranoclient.so.1
#23 0x4f1277c0 in Nepomuk::MainModel::addStatement (this=0x960f208, statement=...) at ../../nepomuk/core/nepomukmainmodel.cpp:252
#24 0x4f6f112f in Soprano::FilterModel::addStatement(Soprano::Statement const&) () from /usr/lib/libsoprano.so.4
#25 0x4f12453d in Nepomuk::ResourceFilterModel::addStatement (this=0x95b3030, statement=...) at ../../nepomuk/core/resourcefiltermodel.cpp:71
#26 0xb5298233 in Nepomuk::IndexFeeder::addToModel (this=0x969c2c0, rs=...) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:153
#27 0xb5299503 in Nepomuk::IndexFeeder::handleRequest (this=0x969c2c0, request=...) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:248
#28 0xb5299e57 in Nepomuk::IndexFeeder::run (this=0x969c2c0) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:176
#29 0x4d3b77a3 in QThreadPrivate::start (arg=0x969c2c0) at thread/qthread_unix.cpp:320
#30 0x4cc6ac39 in start_thread (arg=0xb524cb70) at pthread_create.c:304
#31 0x4cba796e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb43e1b70 (LWP 18024)):
#0  0xb7870424 in __kernel_vsyscall ()
#1  0x4cbb4db1 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x4cb4bba7 in _L_lock_9661 () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#3  0x4cb4a3d6 in *__GI___libc_free (mem=0x98ccc48) at malloc.c:3736
#4  0x4ceee3bf in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0xb528f9d1 in node_destruct (n=0x979ef58, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:375
#6  erase (it=<optimized out>, this=0x96196f8) at /usr/include/qt4/QtCore/qlist.h:452
#7  removeFirst (this=0x96196f8) at /usr/include/qt4/QtCore/qlist.h:273
#8  takeFirst (this=0x96196f8) at /usr/include/qt4/QtCore/qlist.h:477
#9  dequeue (this=0x96196f8) at /usr/include/qt4/QtCore/qqueue.h:60
#10 Nepomuk::IndexScheduler::run (this=0x96196e0) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:334
#11 0x4d3b77a3 in QThreadPrivate::start (arg=0x96196e0) at thread/qthread_unix.cpp:320
#12 0x4cc6ac39 in start_thread (arg=0xb43e1b70) at pthread_create.c:304
#13 0x4cba796e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7840930 (LWP 14988)):
[KCrash Handler]
#7  0x4cb45e0a in malloc_consolidate (av=<optimized out>) at malloc.c:5161
#8  0x4cb48035 in _int_malloc (av=<optimized out>, bytes=<optimized out>) at malloc.c:4373
#9  0x4cb4a4ac in *__GI___libc_malloc (bytes=4016) at malloc.c:3660
#10 0x4d3b0e9b in qMalloc (size=4016) at global/qmalloc.cpp:55
#11 0x4d3d7b58 in QListData::detach (this=0xbfda0ab8, alloc=999) at tools/qlist.cpp:185
#12 0x4f123e4b in QList<Nepomuk::ResourceData*>::detach_helper (this=0xbfda0ab8, alloc=999) at /usr/include/qt4/QtCore/qlist.h:694
#13 0x4f123ef7 in reserve (alloc=<optimized out>, this=0xbfda0ab8) at /usr/include/qt4/QtCore/qlist.h:487
#14 reserve (alloc=<optimized out>, this=0xbfda0ab8) at ./resourcemanager.moc:123
#15 QHash<KUrl, Nepomuk::ResourceData*>::values (this=0x960ec40) at /usr/include/qt4/QtCore/qhash.h:694
#16 0x4f121cf9 in Nepomuk::ResourceManagerPrivate::allResourceData (this=0x960ec28) at ../../nepomuk/core/resourcemanager.cpp:169
#17 0x4f121f74 in Nepomuk::ResourceManager::slotStoreChanged (this=0x9597c90) at ../../nepomuk/core/resourcemanager.cpp:517
#18 0x4f122114 in Nepomuk::ResourceManager::qt_metacall (this=0x9597c90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfda0c04) at ./resourcemanager.moc:89
#19 0x4d4b887d in metacall (argv=0xbfda0c04, idx=8, cl=QMetaObject::InvokeMetaMethod, object=0x9597c90) at kernel/qmetaobject.cpp:237
#20 QMetaObject::metacall (object=0x9597c90, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfda0c04) at kernel/qmetaobject.cpp:232
#21 0x4d4c75c0 in QMetaObject::activate (sender=0x95b3030, m=0x4f78845c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#22 0x4f6d5a65 in Soprano::Model::statementsAdded() () from /usr/lib/libsoprano.so.4
#23 0x4f6f0b5b in Soprano::FilterModel::parentStatementsAdded() () from /usr/lib/libsoprano.so.4
#24 0x4f6f1a9f in Soprano::FilterModel::slotStatementsAdded() () from /usr/lib/libsoprano.so.4
#25 0x4f6f1bf0 in Soprano::FilterModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsoprano.so.4
#26 0x4f1241d3 in Nepomuk::ResourceFilterModel::qt_metacall (this=0x95b3030, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfda0d74) at ./resourcefiltermodel.moc:66
#27 0x4d4b887d in metacall (argv=0xbfda0d74, idx=8, cl=QMetaObject::InvokeMetaMethod, object=0x95b3030) at kernel/qmetaobject.cpp:237
#28 QMetaObject::metacall (object=0x95b3030, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfda0d74) at kernel/qmetaobject.cpp:232
#29 0x4d4c75c0 in QMetaObject::activate (sender=0x960f208, m=0x4f78845c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#30 0x4f6d5a65 in Soprano::Model::statementsAdded() () from /usr/lib/libsoprano.so.4
#31 0x4f6d5c30 in Soprano::Model::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsoprano.so.4
#32 0x4f126563 in Nepomuk::MainModel::qt_metacall (this=0x960f208, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfda0ea4) at ./nepomukmainmodel.moc:66
#33 0x4d4b887d in metacall (argv=0xbfda0ea4, idx=4, cl=QMetaObject::InvokeMetaMethod, object=0x960f208) at kernel/qmetaobject.cpp:237
#34 QMetaObject::metacall (object=0x960f208, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfda0ea4) at kernel/qmetaobject.cpp:232
#35 0x4d4c75c0 in QMetaObject::activate (sender=0x96112a8, m=0x4f78845c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#36 0x4f6d5a65 in Soprano::Model::statementsAdded() () from /usr/lib/libsoprano.so.4
#37 0x4f6d5c30 in Soprano::Model::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsoprano.so.4
#38 0x4f6f1cd3 in Soprano::StorageModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsoprano.so.4
#39 0x4f7c7333 in Soprano::Client::DBusModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsopranoclient.so.1
#40 0x4d4b887d in metacall (argv=0xbfda0ff4, idx=4, cl=QMetaObject::InvokeMetaMethod, object=0x96112a8) at kernel/qmetaobject.cpp:237
#41 QMetaObject::metacall (object=0x96112a8, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfda0ff4) at kernel/qmetaobject.cpp:232
#42 0x4d4c75c0 in QMetaObject::activate (sender=0x960dfd0, m=0x4f7df7d8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3278
#43 0x4f7bcbc5 in ?? () from /usr/lib/libsopranoclient.so.1
#44 0x4f7bd2cb in ?? () from /usr/lib/libsopranoclient.so.1
#45 0x4d7a4b8d in QDBusConnectionPrivate::deliverCall (this=0x9567be0, object=0x960dfd0, msg=..., metaTypes=..., slotIdx=-1924206592) at qdbusintegrator.cpp:941
#46 0x4d7aed96 in QDBusCallDeliveryEvent::placeMetaCall (this=0x9d24540, object=0x960dfd0) at qdbusintegrator_p.h:103
#47 0x4d4ca6df in QObject::event (this=0x960dfd0, e=0x9d24540) at kernel/qobject.cpp:1217
#48 0x4daf1b44 in notify_helper (e=0x9d24540, receiver=0x960dfd0, this=0x950fba8) at kernel/qapplication.cpp:4467
#49 QApplicationPrivate::notify_helper (this=0x950fba8, receiver=0x960dfd0, e=0x9d24540) at kernel/qapplication.cpp:4439
#50 0x4daf6ed2 in QApplication::notify (this=0x9d24540, receiver=0x960dfd0, e=0x9d24540) at kernel/qapplication.cpp:4214
#51 0x4eb0f191 in KApplication::notify (this=0xbfda1ca4, receiver=0x960dfd0, event=0x9d24540) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x4d4b24ce in QCoreApplication::notifyInternal (this=0xbfda1ca4, receiver=0x960dfd0, event=0x9d24540) at kernel/qcoreapplication.cpp:731
#53 0x4d4b5c94 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x94f6c70) at kernel/qcoreapplication.cpp:1372
#55 0x4d4b5ddc in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#56 0x4d4e02e4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#57 postEventSourceDispatch (s=0x9511d00) at kernel/qeventdispatcher_glib.cpp:277
#58 0x4cf6e8bf in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#59 0x4cf6f020 in ?? () from /lib/libglib-2.0.so.0
#60 0x4cf6f34a in g_main_context_iteration () from /lib/libglib-2.0.so.0
#61 0x4d4e0717 in QEventDispatcherGlib::processEvents (this=0x94f7980, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#62 0x4dba6aca in QGuiEventDispatcherGlib::processEvents (this=0x94f7980, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x4d4b14ed in QEventLoop::processEvents (this=0xbfda1b14, flags=...) at kernel/qeventloop.cpp:149
#64 0x4d4b1731 in QEventLoop::exec (this=0xbfda1b14, flags=...) at kernel/qeventloop.cpp:201
#65 0x4d4b5e8a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#66 0x4daef9c4 in QApplication::exec () at kernel/qapplication.cpp:3741
#67 0x0804b105 in main (argc=) at ../../../nepomuk/servicestub/main.cpp:167

Possible duplicates by query: bug 283019, bug 278957, bug 277970, bug 277810, bug 277090.

Reported using DrKonqi
Comment 1 quazgar 2012-08-20 12:37:52 UTC
Created attachment 73320 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

The crash happened when I recompiled a Latex document. This was done using a Makefile which recompiles the resulting pdf several times, to resolve all changed references etc., so the pdf changed its content quickly over a short period of time.  Not sure if this helps, but accessing a rapidly changing document is probably prone to produce bugs every now and then.

-- Backtrace (Reduced):
#6  0x00007f09b0f36707 in malloc_consolidate (av=0x7f09b124e1c0) at malloc.c:5161
#7  0x00007f09b0f37f72 in _int_malloc (av=0x7f09b124e1c0, bytes=8016) at malloc.c:4373
#8  0x00007f09b0f3ae1e in __libc_malloc (bytes=8016) at malloc.c:3660
[...]
#11 0x00007f09b2248155 in QHash<KUrl, Nepomuk::ResourceData*>::values (this=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:694
#12 0x00007f09b2245e16 in Nepomuk::ResourceManagerPrivate::allResourceData (this=<value optimized out>) at ../../nepomuk/core/resourcemanager.cpp:169
Comment 2 Vishesh Handa 2012-08-20 12:49:08 UTC
Definitely fixed in KDE 4.9. 

The code has drastically changed since 4.6, the bug might even have been fixed before 4.9. Can't say.