Bug 271031

Summary: Random crash when computer was locked
Product: [Unmaintained] nepomuk Reporter: Jeffrey <eljefedelito>
Component: fileindexerAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED FIXED    
Severity: crash CC: me, trueg
Priority: NOR    
Version: 4.6   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jeffrey 2011-04-15 15:19:47 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-2-686-bigmem i686
Distribution: Debian GNU/Linux unstable (sid)

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

The computer was locked (screensaver running) and I was home for the evening; when I returned to work this morning, I had this crash and a Firefox 4.0 crash both waiting for me.  (Firefox 4.0 has been very crashy lately for what that is worth).

Thanks for KDE!

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

Thread 3 (Thread 0xb52ecb70 (LWP 28207)):
#0  0xb788c424 in __kernel_vsyscall ()
#1  0x4a632c03 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x4a6302ce in _L_lock_27 () from /lib/i686/cmov/libpthread.so.0
#3  0x4a62feb5 in __pthread_cond_wait (cond=0x9d68320, mutex=0x9d68308) at pthread_cond_wait.c:105
#4  0x4a588e0d in __pthread_cond_wait (cond=0x9d68320, mutex=0x9d68308) at forward.c:139
#5  0x4b5e22aa in QMutexPrivate::wait (this=0x9d682f0, timeout=-1) at thread/qmutex_unix.cpp:84
#6  0x4b5de902 in QMutex::lock (this=0x9ab2444) at thread/qmutex.cpp:167
#7  0x4ac82f91 in Soprano::Error::ErrorCache::setError(Soprano::Error::Error const&) const () from /usr/lib/libsoprano.so.4
#8  0x4ab5743d in ?? () from /usr/lib/libsopranoclient.so.1
#9  0x4e3b59ce in Nepomuk::MainModel::addStatement (this=0x9aaf8c0, statement=...) at ../../nepomuk/core/nepomukmainmodel.cpp:252
#10 0x4ac9229b in Soprano::FilterModel::addStatement(Soprano::Statement const&) () from /usr/lib/libsoprano.so.4
#11 0x4e3b10d1 in Nepomuk::ResourceFilterModel::addStatement (this=0x9aaec30, statement=...) at ../../nepomuk/core/resourcefiltermodel.cpp:71
#12 0xb5315732 in Nepomuk::IndexFeeder::addToModel (this=0x9b29950, rs=...) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:153
#13 0xb53167ca in Nepomuk::IndexFeeder::handleRequest (this=0x9b29950, request=...) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:248
#14 0xb5316ca1 in Nepomuk::IndexFeeder::run (this=0x9b29950) at ../../../../nepomuk/services/strigi/nepomukindexfeeder.cpp:176
#15 0x4b5e3272 in QThreadPrivate::start (arg=0x9b29950) at thread/qthread_unix.cpp:320
#16 0x4a62b955 in start_thread (arg=0xb52ecb70) at pthread_create.c:300
#17 0x4a57be7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb46ffb70 (LWP 28217)):
#0  0xb788c424 in __kernel_vsyscall ()
#1  0x4a543782 in __getdents64 (fd=72, buf=0xb58c0d8 "^\231\202", nbytes=32768) at ../sysdeps/unix/sysv/linux/getdents.c:156
#2  0x4a543aad in __readdir64_r (dirp=0xb58c0c0, entry=0x9d9cba8, result=0x9fa5ee4) at ../sysdeps/unix/readdir_r.c:64
#3  0x4b6b4504 in QFSFileEngineIterator::advance (this=0xa0a82e8) at io/qfsfileengine_iterator_unix.cpp:79
#4  0x4b6b4851 in QFSFileEngineIterator::hasNext (this=0xa0a82e8) at io/qfsfileengine_iterator_unix.cpp:132
#5  0x4b665829 in QDirIteratorPrivate::advance (this=0xa295a80) at io/qdiriterator.cpp:215
#6  0x4b665c5d in QDirIteratorPrivate::QDirIteratorPrivate (this=0xa295a80, path=..., nameFilters=..., filters=..., flags=...) at io/qdiriterator.cpp:170
#7  0x4b665f5d in QDirIterator::QDirIterator (this=0xb46ff214, path=..., filters=..., flags=...) at io/qdiriterator.cpp:395
#8  0xb530c6fa in Nepomuk::IndexScheduler::analyzeDir (this=0x9adae08, dir_=..., flags=...) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:389
#9  0xb530d234 in Nepomuk::IndexScheduler::run (this=0x9adae08) at ../../../../nepomuk/services/strigi/indexscheduler.cpp:338
#10 0x4b5e3272 in QThreadPrivate::start (arg=0x9adae08) at thread/qthread_unix.cpp:320
#11 0x4a62b955 in start_thread (arg=0xb46ffb70) at pthread_create.c:300
#12 0x4a57be7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb785e710 (LWP 28189)):
[KCrash Handler]
#5  QMetaObjectPrivate::disconnect (sender=0xa0970e8, signal_index=-1, receiver=0x0, method_index=-1, disconnectType=QMetaObjectPrivate::DisconnectAll) at kernel/qobject.cpp:3020
#6  0x4b6eedd3 in QObject::disconnect (sender=0xa0970e8, signal=0x0, receiver=0x0, method=0x0) at kernel/qobject.cpp:2745
#7  0x4a8d466e in disconnect (this=0xa0ab648) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:227
#8  QAbstractSocketPrivate::resetSocketLayer (this=0xa0ab648) at socket/qabstractsocket.cpp:509
#9  0x4a8db229 in QAbstractSocket::disconnectFromHostImplementation (this=0xa0ab618) at socket/qabstractsocket.cpp:2464
#10 0x4a8db86b in QAbstractSocket::qt_metacall (this=0xa0ab618, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfe2e30c) at .moc/release-shared/moc_qabstractsocket.cpp:114
#11 0x4a904492 in QTcpSocket::qt_metacall (this=0xa0ab618, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0xbfe2e30c) at .moc/release-shared/moc_qtcpsocket.cpp:64
#12 0x4b6df51a in QMetaObject::metacall (object=0xa0ab618, cl=QMetaObject::InvokeMetaMethod, idx=18, argv=0xbfe2e30c) at kernel/qmetaobject.cpp:237
#13 0x4b6e24c9 in QMetaMethod::invoke (this=0xbfe2e6b4, object=0xa0ab618, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1578
#14 0x4b6e31a4 in QMetaObject::invokeMethod (obj=0xa0ab618, member=0x4a916d20 "disconnectFromHostImplementation", type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#15 0x4a8d4ecf in invokeMethod (this=0xa0ab618) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:408
#16 QAbstractSocket::disconnectFromHost (this=0xa0ab618) at socket/qabstractsocket.cpp:2373
#17 0x4a8d4f91 in QAbstractSocket::close (this=0xa0ab618) at socket/qabstractsocket.cpp:2351
#18 0x4a8e3ac8 in QLocalSocket::close (this=0xa0aac30) at socket/qlocalsocket_unix.cpp:436
#19 0x4ab56617 in ?? () from /usr/lib/libsopranoclient.so.1
#20 0x4ab528bd in ?? () from /usr/lib/libsopranoclient.so.1
#21 0x4ab52922 in ?? () from /usr/lib/libsopranoclient.so.1
#22 0x4b6eba55 in qDeleteInEventHandler (o=0x9ab1c90) at kernel/qobject.cpp:3986
#23 0x4b6ee2c0 in QObject::event (this=0x9ab1c90, e=0xb34a99b8) at kernel/qobject.cpp:1200
#24 0x4117def4 in QApplicationPrivate::notify_helper (this=0x99a06b8, receiver=0x9ab1c90, e=0xb34a99b8) at kernel/qapplication.cpp:4462
#25 0x41182b7e in QApplication::notify (this=0xbfe2f1c8, receiver=0x9ab1c90, e=0xb34a99b8) at kernel/qapplication.cpp:3862
#26 0x4e7c4b1a in KApplication::notify (this=0xbfe2f1c8, receiver=0x9ab1c90, event=0xb34a99b8) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x4b6d8e9b in QCoreApplication::notifyInternal (this=0xbfe2f1c8, receiver=0x9ab1c90, event=0xb34a99b8) at kernel/qcoreapplication.cpp:731
#28 0x4b6dcac5 in sendEvent (receiver=0x0, event_type=0, data=0x998c6c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x998c6c0) at kernel/qcoreapplication.cpp:1372
#30 0x4b6dcc9d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#31 0x4b706454 in sendPostedEvents (s=0x99a2b00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=0x99a2b00) at kernel/qeventdispatcher_glib.cpp:277
#33 0x4a222252 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x4a222a30 in ?? () from /lib/libglib-2.0.so.0
#35 0x4a222ce4 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x4b7065cc in QEventDispatcherGlib::processEvents (this=0x998c428, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#37 0x41231d25 in QGuiEventDispatcherGlib::processEvents (this=0x998c428, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x4b6d8049 in QEventLoop::processEvents (this=0xbfe2f024, flags=...) at kernel/qeventloop.cpp:149
#39 0x4b6d82ea in QEventLoop::exec (this=0xbfe2f024, flags=...) at kernel/qeventloop.cpp:201
#40 0x4b6dcd5f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#41 0x4117bd37 in QApplication::exec () at kernel/qapplication.cpp:3736
#42 0x0804b3ce in main (argc=) at ../../../nepomuk/servicestub/main.cpp:165

Possible duplicates by query: bug 263361.

Reported using DrKonqi
Comment 1 Vishesh Handa 2013-01-16 10:30:41 UTC
You're missing the Soprano debugging symbols, but this crash is most probably due to the socket problems in the Soprano client libraries. This has been fixed with Soprano 2.8