Application: nepomukservicestub (0.2) KDE Platform Version: 4.7.3 (4.7.3) (Compiled from sources) Qt Version: 4.7.2 Operating System: Linux 2.6.39-gentoo-r3 x86_64 Distribution: "Gentoo Base System release 2.0.3" -- Information about the crash: - What I was doing when the application crashed: I've started dolphin to seek several pdfs. Sorting the pdfs by date causes nepomuk to crash. - Unusual behavior I noticed: nepomuk and strigi are crashing several times a day... The crash can be reproduced every time. -- Backtrace: Application: Nepomuk-Dienst (nepomukservicestub), signal: Segmentation fault pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S [Current thread is 1 (Thread 0x7ff4a1e97760 (LWP 13556))] Thread 2 (Thread 0x7ff4935df700 (LWP 13576)): [KCrash Handler] #6 0x00007ff4a189b64c in QMutex::lock (this=0x21e6cf8) at thread/qmutex.cpp:151 #7 0x00007ff49ba4f691 in QMutexLocker (this=0x7ff48c003380, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qmutex.h:102 #8 Soprano::Client::SocketHandler::~SocketHandler (this=0x7ff48c003380, __in_chrg=<value optimized out>) at /var/tmp/portage/dev-libs/soprano-2.7.3/work/soprano-2.7.3/client/clientconnection.cpp:58 #9 0x00007ff49ba4f769 in Soprano::Client::SocketHandler::~SocketHandler (this=0x7ff48c003380, __in_chrg=<value optimized out>) at /var/tmp/portage/dev-libs/soprano-2.7.3/work/soprano-2.7.3/client/clientconnection.cpp:61 #10 0x00007ff4a189ee96 in QThreadStorageData::finish (p=<value optimized out>) at thread/qthreadstorage.cpp:202 #11 0x00007ff4a18a0331 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:360 #12 0x00007ff4a18a0b0d in ~__pthread_cleanup_class (arg=0x21dda70) at /usr/include/pthread.h:545 #13 QThreadPrivate::start (arg=0x21dda70) at thread/qthread_unix.cpp:325 #14 0x00007ff4a160ddba in start_thread (arg=<value optimized out>) at pthread_create.c:301 #15 0x00007ff49f2ae02d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7ff4a1e97760 (LWP 13556)): #0 pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162 #1 0x00007ff4a18a166b in wait (this=<value optimized out>, mutex=0x21df950, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x21df950, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160 #3 0x00007ff4a18a0754 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:722 #4 0x00007ff4946d7907 in Nepomuk::StrigiService::~StrigiService (this=0x219f9f0, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/nepomuk-4.7.3/work/nepomuk-4.7.3/nepomuk/services/strigi/strigiservice.cpp:106 #5 0x00007ff4946d7929 in Nepomuk::StrigiService::~StrigiService (this=0x219f9f0, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/nepomuk-4.7.3/work/nepomuk-4.7.3/nepomuk/services/strigi/strigiservice.cpp:109 #6 0x00007ff4a19a37ee in QObjectPrivate::deleteChildren (this=0x219cab0) at kernel/qobject.cpp:1955 #7 0x00007ff4a19aae23 in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946 #8 0x0000000000404be9 in Nepomuk::ServiceControl::~ServiceControl (this=0x2199210, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/nepomuk-4.7.3/work/nepomuk-4.7.3/nepomuk/servicestub/servicecontrol.cpp:39 #9 0x00007ff4a19a37ee in QObjectPrivate::deleteChildren (this=0x1fe4cd0) at kernel/qobject.cpp:1955 #10 0x00007ff4a19aae23 in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946 #11 0x00007ff49fa262e5 in QApplication::~QApplication (this=0x7fff20268af0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1204 #12 0x00000000004044bf in main (argc=42, argv=0x7fff20268f38) at /var/tmp/portage/kde-base/nepomuk-4.7.3/work/nepomuk-4.7.3/nepomuk/servicestub/main.cpp:105 Possible duplicates by query: bug 284044, bug 283868, bug 281492, bug 278945, bug 271599. Reported using DrKonqi
Created attachment 65805 [details] Patch against soprano 2.7 Please see if the attached patch for Soprano fixes the crash.
*** Bug 251795 has been marked as a duplicate of this bug. ***
*** Bug 284778 has been marked as a duplicate of this bug. ***
*** Bug 286863 has been marked as a duplicate of this bug. ***
*** Bug 288100 has been marked as a duplicate of this bug. ***
Created attachment 66401 [details] New crash information added by DrKonqi nepomukservicestub (0.2) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4 nepomuk token crashes after few minutes of usage. -- Backtrace (Reduced): #6 0x00007f4147d2b0ec in QMutex::lock (this=0x9a9bc8) at thread/qmutex.cpp:151 #7 0x00007f4141ead4dd in QMutexLocker (m=0x9a9bc8, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qmutex.h:102 #8 Soprano::Client::SocketHandler::~SocketHandler (this=0xa16df0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-libs/soprano-2.7.3/work/soprano-2.7.3/client/clientconnection.cpp:58 #9 0x00007f4141ead609 in Soprano::Client::SocketHandler::~SocketHandler (this=0xa16df0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-libs/soprano-2.7.3/work/soprano-2.7.3/client/clientconnection.cpp:61 #10 0x00007f4147d2e149 in QThreadStorageData::finish (p=0x9e2f70) at thread/qthreadstorage.cpp:202
*** Bug 288779 has been marked as a duplicate of this bug. ***
*** Bug 290260 has been marked as a duplicate of this bug. ***
*** Bug 290201 has been marked as a duplicate of this bug. ***
*** Bug 291753 has been marked as a duplicate of this bug. ***
Created attachment 68131 [details] New crash information added by DrKonqi kontact (4.7.4) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4 - What I was doing when the application crashed: I just finished a report about nepomukservicestub crashing and told DrKonqi to restart the application. A few seconds later kontact crashed. This didn't happen before, and I can't remember to have ever seen a Backtrace like this. I came to this bug report through a different one that was marked as a duplicate of this one. -- Backtrace (Reduced): #6 0x00007f557060f8dc in QMutex::lock (this=0x25af7b8) at thread/qmutex.cpp:151 #7 0x00007f5564e002a1 in QMutexLocker (m=0x25af7b8, this=0x7fffa645d830) at /usr/include/qt4/QtCore/qmutex.h:102 #8 Soprano::Client::SocketHandler::~SocketHandler (this=0x25cd270, __in_chrg=<optimized out>) at /var/tmp/portage/dev-libs/soprano-2.7.3/work/soprano-2.7.3/client/clientconnection.cpp:58 #9 0x00007f5564e00369 in Soprano::Client::SocketHandler::~SocketHandler (this=0x25cd270, __in_chrg=<optimized out>) at /var/tmp/portage/dev-libs/soprano-2.7.3/work/soprano-2.7.3/client/clientconnection.cpp:61 #10 0x00007f55706124b2 in QThreadStorageData::set (this=0x2d59ef0, p=0x2cb76f0) at thread/qthreadstorage.cpp:165
*** Bug 293255 has been marked as a duplicate of this bug. ***
Created attachment 68975 [details] New crash information added by DrKonqi akonadi_nepomuk_feeder (4.8) on KDE Platform 4.8.00 (4.8.0 "release 2" using Qt 4.8.0 - What I was doing when the application crashed: This time the crash happen when you close the kde session by asking a poweroff. Kontact was closed manually before that. -- Backtrace (Reduced): #6 0x00007f573f0317ca in lockInline (this=0x8caac8) at /usr/include/QtCore/qmutex.h:187 #7 QMutexLocker (m=0x8caac8, this=<synthetic pointer>) at /usr/include/QtCore/qmutex.h:109 #8 Soprano::Client::SocketHandler::~SocketHandler (this=0x9fb9f0, __in_chrg=<optimized out>) at /usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:58 #9 0x00007f573f031909 in Soprano::Client::SocketHandler::~SocketHandler (this=0x9fb9f0, __in_chrg=<optimized out>) at /usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:61 #10 0x00007f5744e4b52d in QThreadStorageData::set (this=0x678cf0, p=0x0) at thread/qthreadstorage.cpp:165
Created attachment 69007 [details] New crash information added by DrKonqi akonadi_nepomuk_feeder (4.8) on KDE Platform 4.8.00 (4.8.0 "release 2" using Qt 4.8.0 - What I was doing when the application crashed: It still seems not to be fixed in KDE 4.8.0. -- Backtrace (Reduced): #6 0xb525109b in lockInline (this=0x81bf7b4) at /usr/include/QtCore/qmutex.h:187 #7 QMutexLocker (m=0x81bf7b4, this=<synthetic pointer>) at /usr/include/QtCore/qmutex.h:109 #8 Soprano::Client::SocketHandler::~SocketHandler (this=0x81d3b48, __in_chrg=<optimized out>) at /usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:58 #9 0xb52511e2 in Soprano::Client::SocketHandler::~SocketHandler (this=0x81d3b48, __in_chrg=<optimized out>) at /usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:61 #10 0xb5251213 in qThreadStorage_deleteData<Soprano::Client::SocketHandler> (d=0x81d3b48) at /usr/include/QtCore/qthreadstorage.h:97
(In reply to comment #1) > Created an attachment (id=65805) [details] > Patch against soprano 2.7 > > Please see if the attached patch for Soprano fixes the crash. Hi Sebastian, i tried your patch and it seems to work. No more soprano crash since patch installation. I'm going to test my self compiled package once again without your patch, to clarify that there was no other influence, which helped to solve the issue. I will inform you. Greets, Henning
Tested the patch and I still had crashes, but removing ~/.kde4/share/apps/nepomuk/repository/main/data seems to have fixed it once for all (while in the past, the error reappeared shortly after having erased the files). system: Mandriva cooker with latest updates on Feb 29th + recompiled soprano rpm V2.7.4-2
To me the patch works. I have tested once again some hours without Sebastian's patch and several crashes occured (especially Kontact related to Soprano-SocketHandler). Greets, Henning
Tested updated mandriva packages, and it seems to work like a charm. Still no crashes, dmesg empty (no segfaults)
*** Bug 295200 has been marked as a duplicate of this bug. ***
*** Bug 295120 has been marked as a duplicate of this bug. ***
*** Bug 295107 has been marked as a duplicate of this bug. ***
*** Bug 294765 has been marked as a duplicate of this bug. ***
Still experiencing this crash as of today with current Soprano 2.7 branch (917c07797292f41ba175f936623876152423709c). Applying the patch as in comment #1 fixes the problem. Time to commit this fix?
Fixed in Soprano trunk. This fix will be there in Soprano 2.8
*** Bug 294849 has been marked as a duplicate of this bug. ***
*** Bug 302272 has been marked as a duplicate of this bug. ***
*** Bug 294571 has been marked as a duplicate of this bug. ***
*** Bug 294522 has been marked as a duplicate of this bug. ***
*** Bug 289993 has been marked as a duplicate of this bug. ***
*** Bug 295083 has been marked as a duplicate of this bug. ***
*** Bug 304354 has been marked as a duplicate of this bug. ***
*** Bug 306017 has been marked as a duplicate of this bug. ***
*** Bug 310195 has been marked as a duplicate of this bug. ***