Bug 296530

Summary: Crash in CrappyInferencer2::~CrappyInferencer2
Product: [Unmaintained] nepomuk Reporter: Eryk Napierała <eryk.piast>
Component: storageAssignee: Sebastian Trueg <trueg>
Status: RESOLVED FIXED    
Severity: crash CC: Ekkehard.Blanz, heed_zeur, me, springbov, thilo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Eryk Napierała 2012-03-21 23:43:37 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I just started the system. Nepomuk crashed and crashed again after program reset .

The crash can be reproduced every time.

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

Thread 12 (Thread 0x7f4723431700 (LWP 2597)):
#0  0x00007f4734ba5423 in poll () from /lib64/libc.so.6
#1  0x00007f4733ffba98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4733ffbf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4737253576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f4737227a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f4737227c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f473713f5df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f473720aaef in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f4737142025 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f4736eb1f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f4734bae53d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f4722a23700 (LWP 2637)):
[KCrash Handler]
#6  QHash<QUrl, QHashDummyValue>::findNode (this=0xaf8388, akey=..., ahp=0x0) at /usr/include/QtCore/qhash.h:882
#7  0x00007f472894608e in contains (this=0xaf8388, akey=...) at /usr/include/QtCore/qhash.h:872
#8  contains (value=..., this=0xaf8388) at /usr/include/QtCore/qset.h:86
#9  Nepomuk::ClassAndPropertyTree::isChildOf (this=<optimized out>, type=<optimized out>, superClass=...) at /usr/src/debug/kde-runtime-4.7.2/nepomuk/services/storage/classandpropertytree.cpp:121
#10 0x00007f4728922876 in CrappyInferencer2::UpdateAllResourcesThread::run (this=0x855f70) at /usr/src/debug/kde-runtime-4.7.2/nepomuk/services/storage/crappyinferencer2.cpp:107
#11 0x00007f4737142025 in ?? () from /usr/lib64/libQtCore.so.4
#12 0x00007f4736eb1f05 in start_thread () from /lib64/libpthread.so.0
#13 0x00007f4734bae53d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f4722222700 (LWP 2638)):
#0  0x00007f4734ba5423 in poll () from /lib64/libc.so.6
#1  0x00007f4733ffba98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4733ffbf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4737253576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f4737227a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f4737227c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f473713f5df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f47286ea078 in ?? () from /usr/lib64/libsopranoserver.so.1
#8  0x00007f4737142025 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f4736eb1f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f4734bae53d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f4721a21700 (LWP 2639)):
#0  0x00007f4734ba5423 in poll () from /lib64/libc.so.6
#1  0x00007f4733ffba98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4733ffbf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4737253576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f4737227a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f4737227c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f473713f5df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f47286d74d8 in ?? () from /usr/lib64/libsopranoserver.so.1
#8  0x00007f4737142025 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f4736eb1f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f4734bae53d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f4721220700 (LWP 2640)):
#0  0x00007f4736eb511f in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f4733ffbaca in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4733ffbf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4737253576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f4737227a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f4737227c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f473713f5df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f47286d74d8 in ?? () from /usr/lib64/libsopranoserver.so.1
#8  0x00007f4737142025 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f4736eb1f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f4734bae53d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f4720a1f700 (LWP 2641)):
#0  0x00007f4734021ec6 in g_thread_self () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f4733ffa140 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4733ffb8b1 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4733ffbf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f4737253576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f4737227a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f4737227c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f473713f5df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f47286d74d8 in ?? () from /usr/lib64/libsopranoserver.so.1
#9  0x00007f4737142025 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f4736eb1f05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f4734bae53d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f472021e700 (LWP 2642)):
#0  0x00007f4736eb5107 in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f4733ffab14 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4733ffb92d in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4733ffbf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f4737253576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f4737227a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f4737227c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f473713f5df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f47286d74d8 in ?? () from /usr/lib64/libsopranoserver.so.1
#9  0x00007f4737142025 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f4736eb1f05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f4734bae53d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f471fa1d700 (LWP 2643)):
#0  0x00007f4734bbb79f in __libc_enable_asynccancel () from /lib64/libc.so.6
#1  0x00007f4734ba5408 in poll () from /lib64/libc.so.6
#2  0x00007f4733ffba98 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4733ffbf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f4737253576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f4737227a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f4737227c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f473713f5df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f47286d74d8 in ?? () from /usr/lib64/libsopranoserver.so.1
#9  0x00007f4737142025 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f4736eb1f05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f4734bae53d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f471f21c700 (LWP 2662)):
#0  0x00007fff74ecf70c in ?? ()
#1  0x00007fff74ecf959 in ?? ()
#2  0x00007f47342afe91 in clock_gettime () from /lib64/librt.so.1
#3  0x00007f4737192114 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f4737253d1d in ?? () from /usr/lib64/libQtCore.so.4
#5  0x00007f4737254053 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f4737252abc in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f4737252b65 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f4733ffab22 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f4733ffb92d in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f4733ffbf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f4737253576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#12 0x00007f4737227a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#13 0x00007f4737227c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#14 0x00007f473713f5df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#15 0x00007f47286d74d8 in ?? () from /usr/lib64/libsopranoserver.so.1
#16 0x00007f4737142025 in ?? () from /usr/lib64/libQtCore.so.4
#17 0x00007f4736eb1f05 in start_thread () from /lib64/libpthread.so.0
#18 0x00007f4734bae53d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f471ea1b700 (LWP 2666)):
#0  0x00007f4734ba5423 in poll () from /lib64/libc.so.6
#1  0x00007f4733ffba98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4733ffbf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4737253576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f4737227a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f4737227c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f473713f5df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f47286d74d8 in ?? () from /usr/lib64/libsopranoserver.so.1
#8  0x00007f4737142025 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f4736eb1f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f4734bae53d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f471e21a700 (LWP 2668)):
#0  0x00007fff74ecf70c in ?? ()
#1  0x00007fff74ecf959 in ?? ()
#2  0x00007f47342afe91 in clock_gettime () from /lib64/librt.so.1
#3  0x00007f4737192114 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f4737253d1d in ?? () from /usr/lib64/libQtCore.so.4
#5  0x00007f4737254053 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f4737252abc in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f4737252b65 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f4733ffab22 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f4733ffb92d in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f4733ffbf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f4737253576 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#12 0x00007f4737227a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#13 0x00007f4737227c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#14 0x00007f473713f5df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#15 0x00007f47286d74d8 in ?? () from /usr/lib64/libsopranoserver.so.1
#16 0x00007f4737142025 in ?? () from /usr/lib64/libQtCore.so.4
#17 0x00007f4736eb1f05 in start_thread () from /lib64/libpthread.so.0
#18 0x00007f4734bae53d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f4737741760 (LWP 1849)):
#0  0x00007f4736eb5e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f47371424bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f4737141d6c in QThread::wait(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007f472891c74c in CrappyInferencer2::~CrappyInferencer2 (this=0x7fc9f0, __in_chrg=<optimized out>) at /usr/src/debug/kde-runtime-4.7.2/nepomuk/services/storage/crappyinferencer2.cpp:252
#4  0x00007f472891c819 in CrappyInferencer2::~CrappyInferencer2 (this=0x7fc9f0, __in_chrg=<optimized out>) at /usr/src/debug/kde-runtime-4.7.2/nepomuk/services/storage/crappyinferencer2.cpp:255
#5  0x00007f472890eff7 in Nepomuk::Repository::close (this=0x7b34a0) at /usr/src/debug/kde-runtime-4.7.2/nepomuk/services/storage/repository.cpp:99
#6  0x00007f4728911947 in Nepomuk::Repository::slotVirtuosoStopped (this=0x7b34a0, normalExit=<optimized out>) at /usr/src/debug/kde-runtime-4.7.2/nepomuk/services/storage/repository.cpp:440
#7  0x00007f4728912274 in Nepomuk::Repository::qt_metacall (this=0x7b34a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff74e22d00) at /usr/src/debug/kde-runtime-4.7.2/build/nepomuk/services/storage/repository.moc:89
#8  0x00007f473723b59a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#9  0x00007f47241cd9e5 in ?? () from /usr/lib64/soprano/libsoprano_virtuosobackend.so
#10 0x00007f473723f14a in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#11 0x00007f473533ebe4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#12 0x00007f4735343a71 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#13 0x00007f4736323e36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#14 0x00007f473722881c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#15 0x00007f473722bbf8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#16 0x00007f47372530b3 in ?? () from /usr/lib64/libQtCore.so.4
#17 0x00007f4733ffb58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f4733ffbd88 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f4733ffbf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f473725350f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#21 0x00007f47353e1f2e in ?? () from /usr/lib64/libQtGui.so.4
#22 0x00007f4737227a22 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#23 0x00007f4737227c1f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#24 0x00007f473722bde7 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#25 0x0000000000403d70 in main (argc=2, argv=0x7fff74e23c88) at /usr/src/debug/kde-runtime-4.7.2/nepomuk/servicestub/main.cpp:170

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

Possible duplicates by query: bug 292360.

Reported using DrKonqi
Comment 1 Vishesh Handa 2012-06-15 21:45:01 UTC
*** Bug 292360 has been marked as a duplicate of this bug. ***
Comment 2 Vishesh Handa 2012-06-15 21:48:33 UTC
Fixed by removing all the relevant code! :P

Virtuoso now performs inferencing for us.
Comment 3 Jekyll Wu 2012-07-03 21:59:37 UTC
*** Bug 299643 has been marked as a duplicate of this bug. ***
Comment 4 Vishesh Handa 2012-08-03 23:16:26 UTC
*** Bug 304521 has been marked as a duplicate of this bug. ***
Comment 5 Seth 2012-08-26 05:30:46 UTC
Created attachment 73476 [details]
New crash information added by DrKonqi

nepomukservicestub (0.2) on KDE Platform 4.7.2 (4.7.2) "release 5" using Qt 4.7.4

- What I was doing when the application crashed:
I wasn't doing anything, I was waiting for my system to start after I logged in.

-- Backtrace (Reduced):
#6  same_key (key0=..., h0=<optimized out>, this=0x0) at /usr/include/QtCore/qhash.h:225
#7  QHash<QUrl, QHashDummyValue>::findNode (this=0xa468d8, akey=..., ahp=0x0) at /usr/include/QtCore/qhash.h:885
#8  0x00007f829e4e008e in contains (this=0xa468d8, akey=...) at /usr/include/QtCore/qhash.h:872
#9  contains (value=..., this=0xa468d8) at /usr/include/QtCore/qset.h:86
#10 Nepomuk::ClassAndPropertyTree::isChildOf (this=<optimized out>, type=<optimized out>, superClass=...) at /usr/src/debug/kde-runtime-4.7.2/nepomuk/services/storage/classandpropertytree.cpp:121