Bug 318879

Summary: Nepomuk crash
Product: [Unmaintained] nepomuk Reporter: Sergey <serdud>
Component: storageAssignee: Nepomuk Bugs Coordination <nepomuk-bugs>
Status: RESOLVED BACKTRACE    
Severity: crash CC: mailbox4den, me, nepomuk-bugs
Priority: NOR    
Version: 4.10.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Sergey 2013-04-25 22:11:52 UTC
Application: nepomukservicestub (0.1.0)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-generic i686
Distribution: Ubuntu 13.04

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

No action at this time was not made. Was launched steam, skype, google chrome.

-- Backtrace:
Application: Заглушка службы Nepomuk (nepomukservicestub), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb541a740 (LWP 3548))]

Thread 7 (Thread 0xb01feb40 (LWP 3909)):
#0  0xb5d8dd28 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb5d49711 in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb5d4a578 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5d4a831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb75e4c3f in QEventDispatcherGlib::processEvents (this=0xaee00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb75b13ec in QEventLoop::processEvents (this=this@entry=0xb01fe218, flags=...) at kernel/qeventloop.cpp:149
#6  0xb75b16e1 in QEventLoop::exec (this=this@entry=0xb01fe218, flags=...) at kernel/qeventloop.cpp:204
#7  0xb749cfec in QThread::exec (this=0x9489fd0) at thread/qthread.cpp:542
#8  0xb2201f2c in ?? () from /usr/lib/libsopranoserver.so.1
#9  0xb749fb18 in QThreadPrivate::start (arg=0x9489fd0) at thread/qthread_unix.cpp:338
#10 0xb5e27d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0xb5f2d3de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xaf9fdb40 (LWP 3910)):
#0  0xb5d8d8da in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb5d8e2c8 in g_private_get () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb5d705c4 in g_thread_self () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5d4a81f in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb75e4c3f in QEventDispatcherGlib::processEvents (this=0xaf000468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb75b13ec in QEventLoop::processEvents (this=this@entry=0xaf9fd218, flags=...) at kernel/qeventloop.cpp:149
#6  0xb75b16e1 in QEventLoop::exec (this=this@entry=0xaf9fd218, flags=...) at kernel/qeventloop.cpp:204
#7  0xb749cfec in QThread::exec (this=0x93bf588) at thread/qthread.cpp:542
#8  0xb2201f2c in ?? () from /usr/lib/libsopranoserver.so.1
#9  0xb749fb18 in QThreadPrivate::start (arg=0x93bf588) at thread/qthread_unix.cpp:338
#10 0xb5e27d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0xb5f2d3de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xb09ffb40 (LWP 3914)):
#0  0xb773d424 in __kernel_vsyscall ()
#1  0xb5f408e2 in clock_gettime () from /lib/i386-linux-gnu/libc.so.6
#2  0xb74fe0d5 in do_gettime (frac=0xb09fef50, sec=0xb09fef48) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0xb75e580e in QTimerInfoList::updateCurrentTime (this=this@entry=0x91b1fa4) at kernel/qeventdispatcher_unix.cpp:354
#5  0xb75e5b9a in QTimerInfoList::timerWait (this=0x91b1fa4, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0xb75e4373 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb09ff07c) at kernel/qeventdispatcher_glib.cpp:136
#7  0xb75e440d in timerSourcePrepare (source=0x91b1f70, timeout=0xb09ff07c) at kernel/qeventdispatcher_glib.cpp:169
#8  0xb5d49d21 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb5d4a5cf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb5d4a831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb75e4c3f in QEventDispatcherGlib::processEvents (this=0x9405190, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0xb75b13ec in QEventLoop::processEvents (this=this@entry=0xb09ff218, flags=...) at kernel/qeventloop.cpp:149
#13 0xb75b16e1 in QEventLoop::exec (this=this@entry=0xb09ff218, flags=...) at kernel/qeventloop.cpp:204
#14 0xb749cfec in QThread::exec (this=0x94a9ea8) at thread/qthread.cpp:542
#15 0xb2201f2c in ?? () from /usr/lib/libsopranoserver.so.1
#16 0xb749fb18 in QThreadPrivate::start (arg=0x94a9ea8) at thread/qthread_unix.cpp:338
#17 0xb5e27d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#18 0xb5f2d3de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xaedffb40 (LWP 3917)):
#0  0xb5d8dd84 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb5d4a5bf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb5d4a831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb75e4c3f in QEventDispatcherGlib::processEvents (this=0xaee02868, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0xb75b13ec in QEventLoop::processEvents (this=this@entry=0xaedff218, flags=...) at kernel/qeventloop.cpp:149
#5  0xb75b16e1 in QEventLoop::exec (this=this@entry=0xaedff218, flags=...) at kernel/qeventloop.cpp:204
#6  0xb749cfec in QThread::exec (this=0x9493648) at thread/qthread.cpp:542
#7  0xb2201f2c in ?? () from /usr/lib/libsopranoserver.so.1
#8  0xb749fb18 in QThreadPrivate::start (arg=0x9493648) at thread/qthread_unix.cpp:338
#9  0xb5e27d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0xb5f2d3de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xadc15b40 (LWP 5919)):
#0  0xb75e432c in timerSourcePrepareHelper (src=0xb0a03700, timeout=0xadc1507c) at kernel/qeventdispatcher_glib.cpp:134
#1  0xb75e440d in timerSourcePrepare (source=0xb0a03700, timeout=0xadc1507c) at kernel/qeventdispatcher_glib.cpp:169
#2  0xb5d49d21 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5d4a5cf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb5d4a831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb75e4c3f in QEventDispatcherGlib::processEvents (this=0xb0a020e8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb75b13ec in QEventLoop::processEvents (this=this@entry=0xadc15218, flags=...) at kernel/qeventloop.cpp:149
#7  0xb75b16e1 in QEventLoop::exec (this=this@entry=0xadc15218, flags=...) at kernel/qeventloop.cpp:204
#8  0xb749cfec in QThread::exec (this=0x952be20) at thread/qthread.cpp:542
#9  0xb2201f2c in ?? () from /usr/lib/libsopranoserver.so.1
#10 0xb749fb18 in QThreadPrivate::start (arg=0x952be20) at thread/qthread_unix.cpp:338
#11 0xb5e27d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb5f2d3de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xad414b40 (LWP 6246)):
#0  0xb773d424 in __kernel_vsyscall ()
#1  0xb5f28377 in syscall () from /lib/i386-linux-gnu/libc.so.6
#2  0xb749e3b7 in _q_futex (timeout=0x0, val=2, op=0, addr=0x92eb528, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#3  QMutexPrivate::wait (this=this@entry=0x92eb528, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#4  0xb7499f9c in QMutex::lockInternal (this=this@entry=0x931c08c) at thread/qmutex.cpp:450
#5  0xb749a270 in QMutex::lock (this=0x931c08c) at thread/qmutex.cpp:177
#6  0xb573a8ad in Soprano::Error::ErrorCache::setError(Soprano::Error::Error const&) const () from /usr/lib/libsoprano.so.4
#7  0xb16eedaa in ?? () from /usr/lib/soprano/libsoprano_virtuosobackend.so
#8  0xb16ef272 in ?? () from /usr/lib/soprano/libsoprano_virtuosobackend.so
#9  0xb16deb06 in ?? () from /usr/lib/soprano/libsoprano_virtuosobackend.so
#10 0xb16e00fb in ?? () from /usr/lib/soprano/libsoprano_virtuosobackend.so
#11 0xb57482c3 in Soprano::FilterModel::executeQuery(QString const&, Soprano::Query::QueryLanguage, QString const&) const () from /usr/lib/libsoprano.so.4
#12 0xb22a55e8 in Nepomuk2::VirtuosoInferenceModel::executeQuery (this=0x92f07d8, query=..., language=Soprano::Query::QueryLanguageUser, userQueryLanguage=...) at ../../../services/storage/virtuosoinferencemodel.cpp:61
#13 0xb57482c3 in Soprano::FilterModel::executeQuery(QString const&, Soprano::Query::QueryLanguage, QString const&) const () from /usr/lib/libsoprano.so.4
#14 0xb57482c3 in Soprano::FilterModel::executeQuery(QString const&, Soprano::Query::QueryLanguage, QString const&) const () from /usr/lib/libsoprano.so.4
#15 0xb2202365 in ?? () from /usr/lib/libsopranoserver.so.1
#16 0xb22035fd in ?? () from /usr/lib/libsopranoserver.so.1
#17 0xb2203703 in ?? () from /usr/lib/libsopranoserver.so.1
#18 0xb75c8b56 in QMetaObject::activate (sender=sender@entry=0x923eb90, m=m@entry=0xb771ca38 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#19 0xb76193f5 in QIODevice::readyRead (this=this@entry=0x923eb90) at .moc/release-shared/moc_qiodevice.cpp:105
#20 0xb7619584 in QIODevice::qt_static_metacall (_o=0x923eb90, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xad413b8c) at .moc/release-shared/moc_qiodevice.cpp:54
#21 0xb75c8b56 in QMetaObject::activate (sender=sender@entry=0x931d304, m=m@entry=0xb771ca38 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#22 0xb76193f5 in QIODevice::readyRead (this=this@entry=0x931d304) at .moc/release-shared/moc_qiodevice.cpp:105
#23 0xb5b86e99 in QAbstractSocketPrivate::canReadNotification (this=0x953a800) at socket/qabstractsocket.cpp:654
#24 0xb5b77579 in QAbstractSocketEngine::readNotification (this=0x9528500) at socket/qabstractsocketengine.cpp:168
#25 0xb5b9316b in event (this=0x931b720, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#26 QReadNotifier::event (this=0x931b720, e=0xad414014) at socket/qnativesocketengine.cpp:1148
#27 0xb6213c7c in QApplicationPrivate::notify_helper (this=0x916d7b0, receiver=0x931b720, e=0xad414014) at kernel/qapplication.cpp:4567
#28 0xb6216b94 in QApplication::notify (this=0xad414014, receiver=0x931b720, e=0xad414014) at kernel/qapplication.cpp:3949
#29 0xb6e9cd01 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0xb75b290e in QCoreApplication::notifyInternal (this=0xbfa33638, receiver=0x931b720, event=event@entry=0xad414014) at kernel/qcoreapplication.cpp:946
#31 0xb75e52d8 in sendEvent (event=0xad414014, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 socketNotifierSourceDispatch (source=0x9248690) at kernel/qeventdispatcher_glib.cpp:110
#33 0xb5d4a3b3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb5d4a750 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0xb5d4a831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0xb75e4c3f in QEventDispatcherGlib::processEvents (this=0x939eb58, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#37 0xb75b13ec in QEventLoop::processEvents (this=this@entry=0xad414218, flags=...) at kernel/qeventloop.cpp:149
#38 0xb75b16e1 in QEventLoop::exec (this=this@entry=0xad414218, flags=...) at kernel/qeventloop.cpp:204
#39 0xb749cfec in QThread::exec (this=0x91b20b0) at thread/qthread.cpp:542
#40 0xb2201f2c in ?? () from /usr/lib/libsopranoserver.so.1
#41 0xb749fb18 in QThreadPrivate::start (arg=0x91b20b0) at thread/qthread_unix.cpp:338
#42 0xb5e27d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#43 0xb5f2d3de in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb541a740 (LWP 3548)):
[KCrash Handler]
#6  count (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvector.h:259
#7  QObject::~QObject (this=0x930f0f0, __in_chrg=<optimized out>) at kernel/qobject.cpp:867
#8  0xb75d1b41 in QSocketNotifier::~QSocketNotifier (this=0x930f0f0, __in_chrg=<optimized out>) at kernel/qsocketnotifier.cpp:226
#9  0xb75d1b92 in QSocketNotifier::~QSocketNotifier (this=0x930f0f0, __in_chrg=<optimized out>) at kernel/qsocketnotifier.cpp:229
#10 0xb75c6873 in qDeleteInEventHandler (o=0x930f0f0) at kernel/qobject.cpp:4269
#11 0xb75403f8 in QProcessPrivate::cleanup (this=this@entry=0x92ec950) at io/qprocess.cpp:830
#12 0xb7544985 in QProcessPrivate::_q_processDied (this=this@entry=0x92ec950) at io/qprocess.cpp:1058
#13 0xb758be9f in QProcessPrivate::waitForFinished (this=this@entry=0x92ec950, msecs=msecs@entry=29965) at io/qprocess_unix.cpp:1251
#14 0xb753ff96 in QProcess::waitForFinished (this=0xbfa32b28, msecs=29965) at io/qprocess.cpp:1759
#15 0xb16e2e38 in ?? () from /usr/lib/soprano/libsoprano_virtuosobackend.so
#16 0xb16e32db in ?? () from /usr/lib/soprano/libsoprano_virtuosobackend.so
#17 0xb224f4ae in Nepomuk2::Repository::open (this=this@entry=0x92e85a8) at ../../../services/storage/repository.cpp:136
#18 0xb2251050 in Nepomuk2::Repository::slotVirtuosoStopped (this=0x92e85a8, normalExit=false) at ../../../services/storage/repository.cpp:439
#19 0xb75c8b56 in QMetaObject::activate (sender=0x930c3e0, m=0xb16fdb3c, local_signal_index=0, argv=0xbfa32dd8) at kernel/qobject.cpp:3539
#20 0xb16e02cd in ?? () from /usr/lib/soprano/libsoprano_virtuosobackend.so
#21 0xb75c4b4a in QMetaCallEvent::placeMetaCall (this=0x9546b18, object=0x930c3e0) at kernel/qobject.cpp:524
#22 0xb75ce48b in QObject::event (this=0x930c3e0, e=0x9546b18) at kernel/qobject.cpp:1194
#23 0xb6213c7c in QApplicationPrivate::notify_helper (this=0x916d7b0, receiver=0x930c3e0, e=0x9546b18) at kernel/qapplication.cpp:4567
#24 0xb6216b94 in QApplication::notify (this=0x9546b18, receiver=0x930c3e0, e=0x9546b18) at kernel/qapplication.cpp:3949
#25 0xb6e9cd01 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0xb75b290e in QCoreApplication::notifyInternal (this=0xbfa33638, receiver=0x930c3e0, event=0x9546b18) at kernel/qcoreapplication.cpp:946
#27 0xb75b6721 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9147f78) at kernel/qcoreapplication.cpp:1570
#29 0xb75b6a8c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#30 0xb75e4aa4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=0x91658b8) at kernel/qeventdispatcher_glib.cpp:279
#32 0xb5d4a3b3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xb5d4a750 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb5d4a831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0xb75e4c21 in QEventDispatcherGlib::processEvents (this=this@entry=0x9148d40, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#36 0xb62caa5a in QGuiEventDispatcherGlib::processEvents (this=0x9148d40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0xb75b13ec in QEventLoop::processEvents (this=this@entry=0xbfa33518, flags=...) at kernel/qeventloop.cpp:149
#38 0xb75b16e1 in QEventLoop::exec (this=this@entry=0xbfa33518, flags=...) at kernel/qeventloop.cpp:204
#39 0xb75b73fa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#40 0xb6211fc4 in QApplication::exec () at kernel/qapplication.cpp:3828
#41 0x0804b2cd in main (argc=2, argv=0xbfa337d4) at ../../servicestub/main.cpp:180

Reported using DrKonqi
Comment 1 Vishesh Handa 2013-05-28 15:00:14 UTC
Thanks for the bug report. I have a feeling that this has been fixed, but I cannot be sure without the full debugging symbols.

Could you please install the debug symbols for Soprano. I'm marking this as RESOLVED - BACKTRACE till then. If the crash happens again, please feel free to reopen this bug or report a new crash.
Comment 2 Denis 2013-06-02 14:14:46 UTC
Created attachment 80259 [details]
New crash information added by DrKonqi

nepomukservicestub (0.1.0) on KDE Platform 4.10.2 using Qt 4.8.4

- What I was doing when the application crashed:

Nothing. I am started Kubuntu and nepomuk crash.

-- Backtrace (Reduced):
#6  0x00007f006311330e in Soprano::FilterModel::executeQuery(QString const&, Soprano::Query::QueryLanguage, QString const&) const () from /usr/lib/libsoprano.so.4
#7  0x00007f0057c3034a in Nepomuk2::VirtuosoInferenceModel::executeQuery (this=0x1db9670, query=..., language=<optimized out>, userQueryLanguage=...) at ../../../services/storage/virtuosoinferencemodel.cpp:58
#8  0x00007f00631132f7 in Soprano::FilterModel::executeQuery(QString const&, Soprano::Query::QueryLanguage, QString const&) const () from /usr/lib/libsoprano.so.4
#9  0x00007f00631132f7 in Soprano::FilterModel::executeQuery(QString const&, Soprano::Query::QueryLanguage, QString const&) const () from /usr/lib/libsoprano.so.4
[...]
#14 0x00007f0068a6d090 in QIODevice::readyRead (this=this@entry=0x7f0044002808) at .moc/release-shared/moc_qiodevice.cpp:105