[Pkg-kde-bugs-fwd] [Bug 106607] New: kfile_deb crashes Konqueror consistently - just hover over a .deb file with your cursor...

Debian KDE Maintainers 106607@bugs.kde.org
1 Jun 2005 14:38:40 -0000


------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
         
http://bugs.kde.org/show_bug.cgi?id=106607         
           Summary: kfile_deb crashes Konqueror consistently - just hover
                    over a .deb file with your cursor...
           Product: kfile-plugins
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: faure kde org
        ReportedBy: pkg-kde-bugs-fwd lists alioth debian org


Version:            (using KDE KDE 3.4.1)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc 3.3.5 
OS:                Linux

This bug is likely related to #105901 and #104454, but is not quite the same problem as they describe. Quite simply, the kfile_deb plugin causes Konqueror to crash. This can be triggered either by hovering the cursor over a .deb file, or by right-clicking and trying to view the .deb file's properties. A number of people have confirmed the problem, and it is quite consistent. The .debs that cause the crash are fully downloaded, installed, tested, etc.

Note that KDE's default mimetype setup hides the problem, since it has 2 mimetypes for .deb files, x-deb and x-debian-package. Since the kfile_deb plugin looks for x-debian-package, but x-deb seems to be of the higher precedence than x-debian-package, kfile_deb actually doesn't get used at all unless KDE is patched for consistency, or else as a temporary workaround, /usr/share/mimelnk/application/x-deb.desktop is removed, and kpackage is installed (kpackage contains x-debian-package.desktop, which serves as a replacement). Note that this particular bug report is not complaining about the mimetype situation (we'll do that separately); it's just that this information might be useful for the sake of reproducing the problem.

Anyway, once the mimetypes are in order, and KDE is restarted just to be safe, the kfile_deb plugin should work, but of course it doesn't. The following appears in ~/.xsession-errors following the crash:

KAr: WARNING: Couldn't read header
KCrash: Application 'konqueror' crashing...

This is quite annoying for Debian users in particular. Hopefully the fix is fairly simple, and can be backported to the 3.4 branch. Thanks!

Finally, here is a feeble backtrace:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1219448160 (LWP 11795)]
[KCrash handler]
#4  0x4876c3c8 in strcmp () from /lib/tls/i686/cmov/libc.so.6
#5  0xb7c76bbf in KFilterBase::qt_cast (this=0x83fa950, 
    clname=0x2 <Address 0x2 out of bounds>) at qcstring.h:66
#6  0xb7ca67de in KTar::KTarPrivate::fillTempFile (this=0x83fa950, 
    filename= 0x1) at ktar.cpp:292
#7  0xb7ca696e in KTar::openArchive (this=0xbfffeab0, mode=1) at ktar.cpp:332
#8  0xb7cb6bd1 in KArchive::open (this=0xbfffeab0, mode=1) at karchive.cpp:104
#9  0xb6b58fc7 in KDebPlugin::readInfo () from /usr/lib/kde3/kfile_deb.so
#10 0xb7cbbbf1 in KFileMetaInfo::init (this=0xbfffec30, url= 0xbfffec40, 
    mimeType= 0xbfffec20, what=1) at kfilemetainfo.cpp:333
#11 0xb7cbb9e4 in KFileMetaInfo (this=0x1, url= 0x1, mimeType= 0x1, what=1)
    at kfilemetainfo.cpp:309
#12 0xb7c90212 in KFileItem::metaInfo (this=0xbfffec30, autoget=true)
    at kfileitem.cpp:942
#13 0xb7c8db4d in KFileItem::getToolTipText (this=0x83632f0, maxcount=6)
    at kfileitem.cpp:685
#14 0xb7f0083c in KonqFileTip::showTip () from /usr/lib/libkonq.so.4
#15 0xb7f00dbb in KonqFileTip::qt_invoke () from /usr/lib/libkonq.so.4
#16 0x500b1f9c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#17 0x500b1dc4 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#18 0x503f309b in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#19 0x500d37f2 in QTimer::event () from /usr/lib/libqt-mt.so.3
#20 0x5005569f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#21 0x50054c9e in QApplication::notify () from /usr/lib/libqt-mt.so.3
#22 0xb761cac5 in KApplication::notify (this=0xbffff9e0, receiver=0x84b2b80, 
    event=0xbffff400) at kapplication.cpp:549
#23 0x50044ec5 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#24 0x4fffe57b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#25 0x50067a58 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#26 0x50067908 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#27 0x500558f1 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#28 0xb7f6332c in kdemain () from /usr/lib/libkdeinit_konqueror.so
#29 0x080484cb in ?? ()
#30 0x00000001 in ?? ()
#31 0xbffffb64 in ?? ()
#32 0xbffffb38 in ?? ()
#33 0x4870a970 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#34 0x4870a970 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#35 0x08048401 in ?? ()