Application: nepomukservicestub (0.2) KDE Platform Version: 4.7.2 (4.7.2) Qt Version: 4.7.4 Operating System: Linux 3.0.0-12-generic x86_64 Distribution: Ubuntu 11.10 -- Information about the crash: - What I was doing when the application crashed: I started the computer I started the computer I started the computer -- Backtrace: Application: Nepomuk-Dienst (nepomukservicestub), signal: Segmentation fault [KCrash Handler] #6 0x00007f0c31716b91 in Nepomuk::Repository::close (this=0x1b2e0d0) at ../../../../nepomuk/services/storage/repository.cpp:86 #7 0x00007f0c31716ccc in Nepomuk::Repository::~Repository (this=0x1b2e0d0, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/repository.cpp:75 #8 0x00007f0c31716da9 in Nepomuk::Repository::~Repository (this=0x1b2e0d0, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/repository.cpp:76 #9 0x00007f0c314dded7 in Soprano::Server::ServerCore::~ServerCore() () from /usr/lib/libsopranoserver.so.1 #10 0x00007f0c317159fc in Nepomuk::Core::~Core (this=0x1c2d630, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/nepomukcore.cpp:45 #11 0x00007f0c31715aa9 in Nepomuk::Core::~Core (this=0x1c2d630, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/nepomukcore.cpp:48 #12 0x00007f0c40b61d75 in QObjectPrivate::deleteChildren (this=0x1ca0630) at kernel/qobject.cpp:1955 #13 0x00007f0c40b67349 in QObject::~QObject (this=0x1ca3f70, __in_chrg=<optimized out>) at kernel/qobject.cpp:946 #14 0x00007f0c31714c83 in ~Storage (this=0x1ca3f70, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/storage.cpp:54 #15 Nepomuk::Storage::~Storage (this=0x1ca3f70, __in_chrg=<optimized out>) at ../../../../nepomuk/services/storage/storage.cpp:56 #16 0x00007f0c40b61d75 in QObjectPrivate::deleteChildren (this=0x1c2d270) at kernel/qobject.cpp:1955 #17 0x00007f0c40b67349 in QObject::~QObject (this=0x1c2cf30, __in_chrg=<optimized out>) at kernel/qobject.cpp:946 #18 0x0000000000404419 in Nepomuk::ServiceControl::~ServiceControl (this=0x1c2cf30, __in_chrg=<optimized out>) at ../../../nepomuk/servicestub/servicecontrol.cpp:39 #19 0x00007f0c40b61d75 in QObjectPrivate::deleteChildren (this=0x1ad3ae0) at kernel/qobject.cpp:1955 #20 0x00007f0c40b67349 in QObject::~QObject (this=0x7fff8d5fc0e0, __in_chrg=<optimized out>) at kernel/qobject.cpp:946 #21 0x00007f0c3ee92f87 in QApplication::~QApplication (this=0x7fff8d5fc0e0, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1093 #22 0x0000000000403a4d in main (argc=2, argv=0x7fff8d5fc588) at ../../../nepomuk/servicestub/main.cpp:102 This bug may be a duplicate of or related to bug 283604. Possible duplicates by query: bug 285248, bug 285241, bug 285239, bug 285220, bug 285183. Reported using DrKonqi
Created attachment 65069 [details] Patch to fix the crash Deleting a invalid pointer. It should have an error in open() function and doesn't create the instances for this pointer. When calling close(), it tries to delete the pointer but it has random data as it haven't set to null. Setting to null fix the crash.
Try this patch and tell me the result.
It was fixed in master branch. This bug is duplicated of https://bugs.kde.org/show_bug.cgi?id=285371 and https://bugs.kde.org/show_bug.cgi?id=283604 (fixed)
Duplicated of https://bugs.kde.org/show_bug.cgi?id=285371
(In reply to comment #3) > It was fixed in master branch. > This bug is duplicated of https://bugs.kde.org/show_bug.cgi?id=285371 and > https://bugs.kde.org/show_bug.cgi?id=283604 (fixed) The other duplicated bug: 285371
*** This bug has been marked as a duplicate of bug 283604 ***