Bug 262057 - Nepomuk service stub crahes (segmentation fault) at kde startup
Summary: Nepomuk service stub crahes (segmentation fault) at kde startup
Status: RESOLVED FIXED
Alias: None
Product: nepomuk
Classification: Unmaintained
Component: storage (show other bugs)
Version: 4.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 11:50 UTC by ct529
Modified: 2012-07-11 08:46 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ct529 2011-01-04 11:50:57 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-27-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

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

I logged into kde, and the nepomukservicestub segmentation faulted.


- Unusual behavior I noticed:

As of late there has been a lot of hard drive work when I log into kde. It takes several seconds for the disk to stop working. It seems most of the work is done by nepomuk but I am not 100% sure.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
__lll_lock_wait_private ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7f59cde99760 (LWP 2110))]

Thread 8 (Thread 0x7f59b9fad700 (LWP 2117)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f59cb2bf3dc in _L_lock_12449 () from /lib/libc.so.6
#2  0x00007f59cb2bde78 in *__GI___libc_free (mem=0x7f59cb5bee40) at malloc.c:3736
#3  0x00007f59ca7781ba in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f59cd9bbd23 in ~QEventDispatcherGlib (this=0x19fc050, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:369
#5  0x00007f59cd89bb34 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:302
#6  0x00007f59cd89c2f6 in ~__pthread_cleanup_class (arg=0x7f59cdcbff40) at /usr/include/pthread.h:535
#7  QThreadPrivate::start (arg=0x7f59cdcbff40) at thread/qthread_unix.cpp:271
#8  0x00007f59cd60a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f59cb32670d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f59b8e94700 (LWP 2218)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f59b8e93a80 in ?? ()
#2  0x00007fff98dff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x7f59b8693700 (LWP 2221)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f59cb2bf3dc in _L_lock_12449 () from /lib/libc.so.6
#2  0x00007f59cb2bde78 in *__GI___libc_free (mem=0x7f59cb5bee40) at malloc.c:3736
#3  0x00007f59cd9bb5f1 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f59ca77bb0a in g_main_context_check () from /lib/libglib-2.0.so.0
#5  0x00007f59ca77c4c3 in ?? () from /lib/libglib-2.0.so.0
#6  0x00007f59ca77c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#7  0x00007f59cd9bb183 in QEventDispatcherGlib::processEvents (this=0x1a58480, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#8  0x00007f59cd98ddd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#9  0x00007f59cd98e1bc in QEventLoop::exec (this=0x7f59b8692d80, flags=) at kernel/qeventloop.cpp:201
#10 0x00007f59cd89936d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#11 0x00007f59bdeff44c in Soprano::Server::ServerConnection::run (this=0x19fd3a0) at ../../server/serverconnection.cpp:151
#12 0x00007f59cd89c2ee in QThreadPrivate::start (arg=0x19fd3a0) at thread/qthread_unix.cpp:266
#13 0x00007f59cd60a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f59cb32670d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f59b7e92700 (LWP 2222)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f59cb2bf3dc in _L_lock_12449 () from /lib/libc.so.6
#2  0x00007f59cb2bde78 in *__GI___libc_free (mem=0x7f59cb5bee40) at malloc.c:3736
#3  0x00007f59cd9bb5f1 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f59ca77bb0a in g_main_context_check () from /lib/libglib-2.0.so.0
#5  0x00007f59ca77c4c3 in ?? () from /lib/libglib-2.0.so.0
#6  0x00007f59ca77c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#7  0x00007f59cd9bb183 in QEventDispatcherGlib::processEvents (this=0x1a4e000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#8  0x00007f59cd98ddd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#9  0x00007f59cd98e1bc in QEventLoop::exec (this=0x7f59b7e91d80, flags=) at kernel/qeventloop.cpp:201
#10 0x00007f59cd89936d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#11 0x00007f59bdeff44c in Soprano::Server::ServerConnection::run (this=0x1a50bf0) at ../../server/serverconnection.cpp:151
#12 0x00007f59cd89c2ee in QThreadPrivate::start (arg=0x1a50bf0) at thread/qthread_unix.cpp:266
#13 0x00007f59cd60a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f59cb32670d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f59b7691700 (LWP 2227)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f59cb2bf3dc in _L_lock_12449 () from /lib/libc.so.6
#2  0x00007f59cb2bde78 in *__GI___libc_free (mem=0x7f59cb5bee40) at malloc.c:3736
#3  0x00007f59cd9bb5f1 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f59ca77bb0a in g_main_context_check () from /lib/libglib-2.0.so.0
#5  0x00007f59ca77c4c3 in ?? () from /lib/libglib-2.0.so.0
#6  0x00007f59ca77c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#7  0x00007f59cd9bb183 in QEventDispatcherGlib::processEvents (this=0x1a4e9a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#8  0x00007f59cd98ddd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#9  0x00007f59cd98e1bc in QEventLoop::exec (this=0x7f59b7690d80, flags=) at kernel/qeventloop.cpp:201
#10 0x00007f59cd89936d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#11 0x00007f59bdeff44c in Soprano::Server::ServerConnection::run (this=0x1a4e950) at ../../server/serverconnection.cpp:151
#12 0x00007f59cd89c2ee in QThreadPrivate::start (arg=0x1a4e950) at thread/qthread_unix.cpp:266
#13 0x00007f59cd60a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f59cb32670d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f59b6e90700 (LWP 2229)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f59cb2bf3dc in _L_lock_12449 () from /lib/libc.so.6
#2  0x00007f59cb2bde78 in *__GI___libc_free (mem=0x7f59cb5bee40) at malloc.c:3736
#3  0x00007f59cd9bb5f1 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f59ca77bb0a in g_main_context_check () from /lib/libglib-2.0.so.0
#5  0x00007f59ca77c4c3 in ?? () from /lib/libglib-2.0.so.0
#6  0x00007f59ca77c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#7  0x00007f59cd9bb183 in QEventDispatcherGlib::processEvents (this=0x1a650a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#8  0x00007f59cd98ddd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#9  0x00007f59cd98e1bc in QEventLoop::exec (this=0x7f59b6e8fd80, flags=) at kernel/qeventloop.cpp:201
#10 0x00007f59cd89936d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#11 0x00007f59bdeff44c in Soprano::Server::ServerConnection::run (this=0x1abf4b0) at ../../server/serverconnection.cpp:151
#12 0x00007f59cd89c2ee in QThreadPrivate::start (arg=0x1abf4b0) at thread/qthread_unix.cpp:266
#13 0x00007f59cd60a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f59cb32670d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f59b668f700 (LWP 2230)):
[KCrash Handler]
#6  0x00007f59cb2b76bd in malloc_consolidate (av=0x7f59cb5bee40) at malloc.c:5152
#7  0x00007f59cb2bafad in _int_malloc (av=0x7f59cb5bee40, bytes=65536) at malloc.c:4372
#8  0x00007f59cb2bc58e in *__GI___libc_malloc (bytes=65536) at malloc.c:3660
#9  0x00007f59cd89ec88 in QByteArray::realloc (this=0x1ac8208, alloc=<value optimized out>) at tools/qbytearray.cpp:1421
#10 0x00007f59cd89f0f9 in QByteArray::resize (this=0x1ac8208, size=32768) at tools/qbytearray.cpp:1389
#11 0x00007f59c9decdcf in QRingBuffer::reserve(int) () from /usr/lib/libQtNetwork.so.4
#12 0x00007f59c9de8b0e in QAbstractSocket::writeData (this=0x1ac7ef0, data=0x7f59b668e25c "\001\177", size=1) at socket/qabstractsocket.cpp:2184
#13 0x00007f59cd924de7 in QIODevice::write (this=0x1ac0030, data=0x7f59b668e25c "\001\177", maxSize=0) at io/qiodevice.cpp:1359
#14 0x00007f59bdf023f1 in Soprano::DataStream::writeUnsignedInt8 (this=0x7f59b668e290, v=1 '\001') at ../../server/datastream.cpp:85
#15 0x00007f59bdefee91 in Soprano::Server::ServerConnection::Private::iteratorNext (this=0x1a4fe60) at ../../server/serverconnection.cpp:609
#16 0x00007f59bdeff27d in Soprano::Server::ServerConnection::Private::_s_readNextCommand (this=0x1a4fe60) at ../../server/serverconnection.cpp:232
#17 0x00007f59bdeff3a1 in Soprano::Server::ServerConnection::qt_metacall (this=0x1aa6ca0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at ./serverconnection.moc:73
#18 0x00007f59cd9a6da7 in QMetaObject::activate (sender=0x1ac0030, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x51) at kernel/qobject.cpp:3280
#19 0x00007f59cd9f1068 in QIODevice::qt_metacall (this=0x1ac0030, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f59b668e5a0) at .moc/release-shared/moc_qiodevice.cpp:77
#20 0x00007f59c9df0300 in QLocalSocket::qt_metacall (this=0x7f59cb5bee40, _c=65536, _id=0, _a=0x51) at .moc/release-shared/moc_qlocalsocket.cpp:81
#21 0x00007f59cd9a6da7 in QMetaObject::activate (sender=0x1ac7ef0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x51) at kernel/qobject.cpp:3280
#22 0x00007f59c9de92ff in QAbstractSocketPrivate::canReadNotification (this=0x1ac7f50) at socket/qabstractsocket.cpp:639
#23 0x00007f59c9dd7ed1 in QReadNotifier::event (this=<value optimized out>, e=0x10000) at socket/qnativesocketengine.cpp:1103
#24 0x00007f59cbaa16ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x00007f59cbaa71dd in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0x00007f59cca95926 in KApplication::notify (this=0x7fff98d36080, receiver=0x1ac8900, event=0x7f59b668eb50) at ../../kdeui/kernel/kapplication.cpp:310
#27 0x00007f59cd98f0ac in QCoreApplication::notifyInternal (this=0x7fff98d36080, receiver=0x1ac8900, event=0x7f59b668eb50) at kernel/qcoreapplication.cpp:732
#28 0x00007f59cd9bb53a in QCoreApplication::sendEvent (source=0x1ac2060) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 socketNotifierSourceDispatch (source=0x1ac2060) at kernel/qeventdispatcher_glib.cpp:110
#30 0x00007f59ca7788c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007f59ca77c748 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007f59ca77c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007f59cd9bb183 in QEventDispatcherGlib::processEvents (this=0x1ac6650, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#34 0x00007f59cd98ddd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#35 0x00007f59cd98e1bc in QEventLoop::exec (this=0x7f59b668ed80, flags=) at kernel/qeventloop.cpp:201
#36 0x00007f59cd89936d in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#37 0x00007f59bdeff44c in Soprano::Server::ServerConnection::run (this=0x1aa6ca0) at ../../server/serverconnection.cpp:151
#38 0x00007f59cd89c2ee in QThreadPrivate::start (arg=0x1aa6ca0) at thread/qthread_unix.cpp:266
#39 0x00007f59cd60a9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#40 0x00007f59cb32670d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#41 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f59cde99760 (LWP 2110)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f59cb2bf3dc in _L_lock_12449 () from /lib/libc.so.6
#2  0x00007f59cb2bde78 in *__GI___libc_free (mem=0x7f59cb5bee40) at malloc.c:3736
#3  0x00007f59cd9bb5f1 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f59ca77bb0a in g_main_context_check () from /lib/libglib-2.0.so.0
#5  0x00007f59ca77c4c3 in ?? () from /lib/libglib-2.0.so.0
#6  0x00007f59ca77c8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#7  0x00007f59cd9bb183 in QEventDispatcherGlib::processEvents (this=0x186e770, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#8  0x00007f59cbb5397e in ?? () from /usr/lib/libQtGui.so.4
#9  0x00007f59cd98ddd2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#10 0x00007f59cd98e1bc in QEventLoop::exec (this=0x7fff98d35eb0, flags=) at kernel/qeventloop.cpp:201
#11 0x00007f59cd99226b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#12 0x0000000000403efd in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../nepomuk/servicestub/main.cpp:165

Possible duplicates by query: bug 259188, bug 257258.

Reported using DrKonqi
Comment 1 ct529 2011-01-04 12:14:26 UTC
Nepomuk is not available after the crash, even if

ps -ef | grep -i nepom

reports all nepomuk processes as running.

   2093  2049  0 10:30 ?        00:00:01 /usr/bin/akonadi_nepomuk_contact_feeder --identifier akonadi_nepomuk_contact_feeder
   2106     1  0 10:30 ?        00:00:00 /usr/bin/nepomukserver
   2219  2106  0 10:30 ?        00:00:00 /usr/bin/nepomukservicestub nepomukqueryservice
   2220  2106  1 10:30 ?        00:00:26 /usr/bin/nepomukservicestub nepomukfilewatch
   2223  2106  0 10:30 ?        00:00:00 /usr/bin/nepomukservicestub digikamnepomukservice
   2224  2106  0 10:30 ?        00:00:13 /usr/bin/nepomukservicestub nepomukontologyloader
   2225  2106  0 10:30 ?        00:00:00 /usr/bin/nepomukservicestub nepomukactivitiesservice
ct529     2226  2106  0 10:30 ?        00:00:00 /usr/bin/nepomukservicestub nepomukremovablestorageservice
ct529     3581  3561  0 11:11 pts/1    00:00:00 grep -i nepom
Comment 2 CS Wagner 2011-12-14 18:15:55 UTC
Just a note: I have had nepomuk service stub segfault every time I start KDE. I just added "Disable glx" to my xorg.conf file (because it was segfaulting) and now nepomuk is running. This is with the rpm fusion kmod-nvidia driver - which has been suspected in many of the google-chrome and nepomuk problems. Side note - Google chrome runs now also.
Comment 3 Vishesh Handa 2012-07-11 08:46:21 UTC
Marking this to FIXED.

I see no evidence of anything Nepomuk related in the backtrace, and the reporter is no longer experiencing the issue.