Bug 241600

Summary: Nepomuk stub service crashes at logout
Product: nepomuk Reporter: Alex Merry <alex.merry>
Component: generalAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alex Merry 2010-06-13 02:08:27 UTC
Application: nepomukservicestub (0.2)
KDE Platform Version: 4.4.85 (KDE 4.4.85 (KDE 4.5 Beta2)) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

Logging out of KDE.  It crashes about half the time when I log out/shut down.

Note: I have patched libdbus to fix the crashes caused by its lack of thread-safety (using the patch that is likely to go into D-Bus 1.4.0).

The crash can be reproduced some of the time.

-- Backtrace:
Application: Nepomuk Service Stub (nepomukservicestub), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f8a7289372c in QMutex::lock (this=0x1c8e668) at thread/qmutex.cpp:150
#7  0x00007f8a6c0fd714 in QMutexLocker::relock() () from /home/kde-devel/kde/lib/libsopranoclient.so.1
#8  0x00007f8a6c0fd676 in QMutexLocker::QMutexLocker(QMutex*) () from /home/kde-devel/kde/lib/libsopranoclient.so.1
#9  0x00007f8a6c0fa88c in Soprano::Client::SocketHandler::~SocketHandler() () from /home/kde-devel/kde/lib/libsopranoclient.so.1
#10 0x00007f8a6c0fa950 in Soprano::Client::SocketHandler::~SocketHandler() () from /home/kde-devel/kde/lib/libsopranoclient.so.1
#11 0x00007f8a728973b4 in QThreadStorageData::set (this=<value optimized out>, p=0x0) at thread/qthreadstorage.cpp:148
#12 0x00007f8a70512f7a in qt_cleanup () at kernel/qapplication_x11.cpp:2581
#13 0x00007f8a704a4f8c in ~QApplication (this=0x7fff57d9d520, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1088
#14 0x00007f8a719d1e8b in ~KApplication (this=0x7fff57d9d520, __in_chrg=<value optimized out>) at /home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:879
#15 0x00000000004040df in main (argc=2, argv=0x7fff57d9d958) at /home/kde-devel/src/KDE/kdebase/runtime/nepomuk/servicestub/main.cpp:100

Reported using DrKonqi
Comment 1 Sebastian Trueg 2010-07-27 14:36:44 UTC
does this still happen with soprano 2.4.64?
Comment 2 Alex Merry 2010-07-27 15:11:47 UTC
It hasn't happened for a while now, so I guess not.  It doesn't happen with r1148427 soprano and 4.5 branch KDE, at any rate.
Comment 3 Sebastian Trueg 2010-07-28 16:26:45 UTC
Marking as fixed following last comment.
Comment 4 francisco_t 2010-11-27 15:35:31 UTC
With kubuntu 10.10 and kde 4.5.1/2/3 sometimes nepomukservicestub crash with Segmentation fault, always on shutdown/reboot.
I can't get a backtrace, kde is closed and Drkonki fails to improve the trace.
Comment 5 Dario Andres 2010-12-04 15:48:57 UTC
[Comment from a bug triager]
There are new reports with similar backtraces which may be related:
bug 252062, bug 258689, bug 258744. May be they are related ?
Regards