Application that crashed: kompare Version of the application: 4.0.0 KDE Version: 4.3.2 (KDE 4.3.2) Qt Version: 4.6.0 Operating System: Linux 2.6.30.1 i686 What I was doing when the application crashed: kompare works fine when launched standalone, but it crashes when launched from kdesvn The kdesvn version is: Qt: 4.6.0 KDE: 4.3.2 (KDE 4.3.2) kdesvn: 1.4.0 -- Backtrace: Application: Kompare (kompare), signal: Segmentation fault [KCrash Handler] #6 0xb67c53a6 in KServiceType::serviceOffersOffset (this=0x0) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kdecore/services/kservicetype.cpp:230 #7 0xb67a8bd0 in KMimeTypeTrader::query (this=0x81ebf90, mimeType=@0xbfb5cc6c, genericServiceType=@0xbfb5cc70, constraint=@0xbfb5cc74) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kdecore/services/kmimetypetrader.cpp:113 #8 0x080550e9 in KompareShell (this=0x8166700) at /var/tmp/portage/kde-base/kompare-4.3.2/work/kompare-4.3.2/kompare/kompare_shell.cpp:68 #9 0x0805120f in main (argc=3, argv=0xbfb5d0d4) at /var/tmp/portage/kde-base/kompare-4.3.2/work/kompare-4.3.2/kompare/main.cpp:95 This bug may be a duplicate of or related to bug 202481 Reported using DrKonqi
Uhm, yes, the backtrace matches. We never figured out what caused that bug and what "fixed" it. :-( The line which fails is the query for Kompare/ViewPart. Somehow your services are not registered properly. Try running "kbuildsycoca4".
Hi Kevin, BIG Thanks for your quick reply. Indeed running kbuildsyscocoa4 solved the problem, so the bug is probably distro related (i'm using gentoo ebuilds). Maybe I could write a patch that checks for that condition and instructs the user to run kbuildsyscocoa4 ? Or just force the kbuildsyscocoa4 run ? What do you think ? Regards, Michał Słonina.
AFAIK, kbuildsycoca4 should be run after building/installing, so KDE will properly update its service/desktop-files cache and recognize the new installed plugins...
Normally, kbuildsycoca4 should be run automatically when kded detects a change in a service file. For some reason, that doesn't always work. But that's a kdelibs issue, not a Kompare one, and there's probably some bug report about that already.
*** Bug 221525 has been marked as a duplicate of this bug. ***
*** Bug 221684 has been marked as a duplicate of this bug. ***