Bug 316210

Summary: nepomuk crash
Product: [Unmaintained] nepomuk Reporter: Sergey <vortexius>
Component: generalAssignee: Nepomuk Bugs Coordination <nepomuk-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: me, nepomuk-bugs, vortexius
Priority: NOR    
Version: 4.10.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sergey 2013-03-06 07:48:48 UTC
Application: nepomukservicestub (0.1.0)
KDE Platform Version: 4.10.00
Qt Version: 4.8.4
Operating System: Linux 3.9.0-rc1-git+ x86_64

-- Information about the crash:
in dmesg: 
[  247.204041] virtuoso-t[2933]: segfault at ffffffffffffffff ip 00000000007f984c sp 00007ff4b511b5f0 error 7 in virtuoso-t[400000+9c6000]

- Custom settings of the application:
custom make.conf
CFLAGS="-O2 -fexceptions -pipe -march=corei7-avx -mcx16 -msahf -mno-movbe -mno-aes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=corei7-avx"
CFLAGS="$CFLAGS"
CPPFLAGS="$CPPFLAGS"
LDFLAGS="$LDFLAGS"
MAKEOPTS="-j5"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
FEATURES=$FEATURES" splitdebug nostrip"

The crash can be reproduced every time.

-- Backtrace:
Application: Заглушка службы Nepomuk (nepomukservicestub), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa891390780 (LWP 2696))]

Thread 6 (Thread 0x7fa877fff700 (LWP 2942)):
#0  0x00007fa890ad4056 in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007fa88e419881 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa88e3ddfd5 in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa88e3de144 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fa890e8f7c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fa890e6021f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fa890e604a8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fa890d63b40 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fa880f0d56e in Soprano::Server::ServerConnection::run() () from /usr/lib64/libsopranoserver.so.1
#9  0x00007fa890d66abc in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fa890ad0f3b in start_thread () from /lib64/libpthread.so.0
#11 0x00007fa88e7a426d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fa8777fe700 (LWP 2943)):
#0  0x00007fa88e79a5dd in poll () from /lib64/libc.so.6
#1  0x00007fa88e3de024 in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa88e3de144 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa890e8f7c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fa890e6021f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fa890e604a8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fa890d63b40 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fa880f0d56e in Soprano::Server::ServerConnection::run() () from /usr/lib64/libsopranoserver.so.1
#8  0x00007fa890d66abc in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fa890ad0f3b in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa88e7a426d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fa876ffd700 (LWP 2948)):
#0  0x00007fa890ad3085 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007fa88e419851 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa88e3dd773 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa88e3ddf4b in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fa88e3de144 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fa890e8f7c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fa890e6021f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fa890e604a8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fa890d63b40 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fa880f0d56e in Soprano::Server::ServerConnection::run() () from /usr/lib64/libsopranoserver.so.1
#10 0x00007fa890d66abc in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007fa890ad0f3b in start_thread () from /lib64/libpthread.so.0
#12 0x00007fa88e7a426d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fa8767fc700 (LWP 2950)):
[KCrash Handler]
#5  0x00007fa88e6ee545 in raise () from /lib64/libc.so.6
#6  0x00007fa88e6ef9c8 in abort () from /lib64/libc.so.6
#7  0x00007fa890d5c6c4 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fa890d5c838 in qt_message(QtMsgType, char const*, __va_list_tag*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fa890d5c9cc in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fa88b1086f0 in Soprano::FilterModel::executeQuery(QString const&, Soprano::Query::QueryLanguage, QString const&) const () from /usr/lib64/libsoprano.so.4
#11 0x00007fa880f0d335 in Soprano::Server::ServerConnection::Private::query() () from /usr/lib64/libsopranoserver.so.1
#12 0x00007fa880f0e6fd in Soprano::Server::ServerConnection::Private::_s_readNextCommand() () from /usr/lib64/libsopranoserver.so.1
#13 0x00007fa890e76794 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007fa890e76794 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007fa88d172edc in QAbstractSocketPrivate::canReadNotification() () from /usr/lib64/qt4/libQtNetwork.so.4
#16 0x00007fa88d17b84d in QReadNotifier::event(QEvent*) () from /usr/lib64/qt4/libQtNetwork.so.4
#17 0x00007fa88ef42fec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007fa88ef47411 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007fa88ff4e476 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007fa890e614ce in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007fa890e8efc6 in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007fa88e3ddd55 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007fa88e3de088 in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fa88e3de144 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fa890e8f7c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007fa890e6021f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007fa890e604a8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007fa890d63b40 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007fa880f0d56e in Soprano::Server::ServerConnection::run() () from /usr/lib64/libsopranoserver.so.1
#30 0x00007fa890d66abc in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007fa890ad0f3b in start_thread () from /lib64/libpthread.so.0
#32 0x00007fa88e7a426d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa8757fa700 (LWP 3043)):
#0  0x00007fa88e79a5dd in poll () from /lib64/libc.so.6
#1  0x00007fa88e3de024 in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa88e3de144 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa890e8f7c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fa890e6021f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fa890e604a8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fa890d63b40 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fa880f0d56e in Soprano::Server::ServerConnection::run() () from /usr/lib64/libsopranoserver.so.1
#8  0x00007fa890d66abc in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fa890ad0f3b in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa88e7a426d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa891390780 (LWP 2696)):
#0  0x00007fa88e79ccc3 in select () from /lib64/libc.so.6
#1  0x00007fa890e8cadc in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fa890e3bcfc in select_msecs(int, fd_set*, fd_set*, int) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fa890e3d526 in QProcessPrivate::waitForFinished(int) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fa890df789e in QProcess::waitForFinished(int) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fa87d171a9d in (anonymous namespace)::determineVirtuosoVersion(QString const&) () from /usr/lib64/soprano/libsoprano_virtuosobackend.so
#6  0x00007fa87d171ed0 in Soprano::Virtuoso::BackendPlugin::isAvailable() const () from /usr/lib64/soprano/libsoprano_virtuosobackend.so
#7  0x00007fa88114581f in Nepomuk2::Repository::open() () from /usr/lib64/kde4/nepomukstorage.so
#8  0x00007fa88114712f in Nepomuk2::Repository::slotVirtuosoStopped(bool) () from /usr/lib64/kde4/nepomukstorage.so
#9  0x00007fa890e76794 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007fa87d16f3cf in Soprano::VirtuosoModel::virtuosoStopped(bool) () from /usr/lib64/soprano/libsoprano_virtuosobackend.so
#11 0x00007fa890e75c8e in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007fa88ef42fec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007fa88ef47411 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007fa88ff4e476 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007fa890e614ce in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007fa890e64de9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007fa890e8f613 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007fa88e3ddd55 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#19 0x00007fa88e3de088 in g_main_context_iterate.isra.24 () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fa88e3de144 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fa890e8f7a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007fa88efe2e1e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007fa890e6021f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fa890e604a8 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fa890e650e6 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00000000004044d0 in main ()

Possible duplicates by query: bug 316125, bug 315682.

Reported using DrKonqi
Comment 1 Vishesh Handa 2013-03-06 09:09:01 UTC
It seems as though virtuoso crashed and that caused Nepomuk Storage service to crash. Now, if only we knew why virtuoso was crashing.

*** This bug has been marked as a duplicate of bug 315682 ***