Bug 155934 - Kompare crashes everytime I insert the two files to be compared
Summary: Kompare crashes everytime I insert the two files to be compared
Status: RESOLVED WORKSFORME
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: 3.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-16 18:58 UTC by 81joe81
Modified: 2008-01-19 11:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 81joe81 2008-01-16 18:58:59 UTC
Version:           3.4 (using KDE 4.0.0)
Installed from:    Ubuntu Packages
OS:                Linux

I'm not able to compare files using the kompare version for kde4.
If I launch it without arguments, it opens the window without problems, but then when I give the names of the two files to be compared (it happens with all the files I've tried) and click to "compare" it always crashes.
If I launch it already with the names of the two files, then it crashes without opening any window.

This is the command-line output when the crash appears:
ASSERT: "genericServiceTypePtr" in file /build/buildd/kde4libs-4.0.0/kdecore/services/kservicetypeprofile.cpp, line 259
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kompare path = <unknown> pid = 11740
sock_file=/home/fe/.kde4/socket-fe-laptop/kdeinit4__0

And this the generated backtrace:
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1244444992 (LWP 11758)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb6a97875 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6a99201 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7e7201d in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7e720a1 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7e7220d in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7d745f2 in KServiceTypeProfile::sortMimeTypeOffers (list=@0xbfe486d4, 
    mimeType=@0xbfe487d8, genericServiceType=@0xbfe487d4)
    at /build/buildd/kde4libs-4.0.0/kdecore/services/kservicetypeprofile.cpp:259
#13 0xb7d5baba in KMimeTypeTrader::weightedOffers (this=0x814ef78, 
    mimeType=@0xbfe487d8, genericServiceType=@0xbfe487d4)
    at /build/buildd/kde4libs-4.0.0/kdecore/services/kmimetypetrader.cpp:153
#14 0xb7d5bc00 in KMimeTypeTrader::query (this=0x814ef78, 
    mimeType=@0xbfe487d8, genericServiceType=@0xbfe487d4, 
    constraint=@0xbfe487d0)
    at /build/buildd/kde4libs-4.0.0/kdecore/services/kmimetypetrader.cpp:161
#15 0x080535c3 in _start ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Kevin Kofler 2008-01-17 20:54:51 UTC
Strange, this sounds like it's failing to load the KomparePart (Kompare/ViewPart) for whatever reason. Can anybody reproduce this? I talked about this bug with Rex Dieter who comaintains the Fedora packages (with me and 2 Red Hat employees) and with Jonathan Riddell from Kubuntu and it's working for all of us.
Comment 2 81joe81 2008-01-19 11:21:03 UTC
OK, strange...
indeed, now it seems to work, probably a misconfiguration happened at that time.
If it'll happen again, I will report it.