Bug 104074 - konqi crashes when mouse over partially downloaded *.deb file (backtrace)
Summary: konqi crashes when mouse over partially downloaded *.deb file (backtrace)
Status: RESOLVED DUPLICATE of bug 96405
Alias: None
Product: kfile-plugins
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-17 18:53 UTC by Andreas Leuner
Modified: 2005-04-24 11:31 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 Andreas Leuner 2005-04-17 18:53:24 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

Hi all,

I was downloading a debian package from an ftp server. In a Konqueror window I displayed the target directory of the download. Now when I refreshed this window and hover with the mouse cursor over that *.deb.part file Konqueror crashed in the moment where the tooltip would have appeared otherwise.

It is not necessary that the file is being downloaded in order to trigger the crash. A *.deb.part file that is just lying around will do "fine". Just make sure to reload the directory and try out the tooltip.
backtrace:
-----------------------------------------------------------
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1231256928 (LWP 1803)]
[KCrash handler]
#3  0xb7e27f8d in KFileItem::localPath (this=0x83bc828) at qvaluelist.h:180
#4  0xb7e2c23c in KFileItem::mostLocalURL (this=0x83bc828, local=@0xbfffe70f)
    at $srcdir/kdelibs/kio/kio/kfileitem.cpp:950
#5  0xb7e2c150 in KFileItem::metaInfo (this=0x83bc828, autoget=true)
    at $srcdir/kdelibs/kio/kio/kfileitem.cpp:937
#6  0xb7e29d08 in KFileItem::getToolTipText (this=0x83bc828, maxcount=6)
    at $srcdir/kdelibs/kio/kio/kfileitem.cpp:685
#7  0xb69bb1dc in KonqFileTip::showTip (this=0x843dee0)
    at $srcdir/kdebase/libkonq/konq_filetip.cc:232
#8  0xb69bb735 in KonqFileTip::qt_invoke (this=0x843dee0, _id=-1231280852, 
    _o=0xbfffeb10) at konq_filetip.moc:97
#9  0xb715fecf in QObject::activate_signal ()
   from $QTDIR/lib/libqt-mt.so.3
#10 0xb715fd14 in QObject::activate_signal ()
   from $QTDIR/lib/libqt-mt.so.3
#11 0xb749c96b in QTimer::timeout () from $QTDIR/lib/libqt-mt.so.3
#12 0xb7181760 in QTimer::event () from $QTDIR/lib/libqt-mt.so.3
#13 0xb710429c in QApplication::internalNotify ()
   from $QTDIR/lib/libqt-mt.so.3
#14 0xb71038c5 in QApplication::notify ()
   from $QTDIR/lib/libqt-mt.so.3
#15 0xb77454d2 in KApplication::notify (this=0xbffff540, receiver=0x843ec48, 
    event=0xbfffef30)
    at $srcdir/kdelibs/kdecore/kapplication.cpp:549
#16 0xb70f4084 in QEventLoop::activateTimers ()
   from $QTDIR/lib/libqt-mt.so.3
#17 0xb70aac89 in QEventLoop::processEvents ()
   from $QTDIR/lib/libqt-mt.so.3
#18 0xb7116718 in QEventLoop::enterLoop ()
   from $QTDIR/lib/libqt-mt.so.3
#19 0xb71165c8 in QEventLoop::exec ()
   from $QTDIR/lib/libqt-mt.so.3
#20 0xb71044d1 in QApplication::exec ()
   from $QTDIR/lib/libqt-mt.so.3
#21 0xb66668a8 in kdemain (argc=1, argv=0x1)
    at $srcdir/kdebase/konqueror/konq_main.cc:206
#22 0xb7662986 in kdeinitmain (argc=1, argv=0x1) at konqueror_dummy.cc:2
#23 0x0804d55b in launch (argc=2, _name=0x80cbf04 "konqueror", 
    args=0x80cbf17 "\001", cwd=0x0, envc=1, envs=0x80cbf28 "", 
    reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x1 <Address 0x1 out of bounds>)
    at $srcdir/kdelibs/kinit/kinit.cpp:625
#24 0x0804fc35 in handle_launcher_request (sock=8)
    at $srcdir/kdelibs/kinit/kinit.cpp:1189
#25 0x0804eaf7 in handle_requests (waitForPid=0)
    at $srcdir/kdelibs/kinit/kinit.cpp:1392
#26 0x0804c845 in main (argc=2, argv=0xbffffcb4, envp=0x1)
    at $srcdir/kdelibs/kinit/kinit.cpp:1836
-----------------------------------------------------------
IMHO there seem to be 2 bugs (though not necessarily): 
First the deb kfile_plugin crashes with an incomplete file. Second Konqueror or the kfileview tries to use that kfile plugin even though its service might not be reliable.

No matter how robust these kfile plugins are, they might always encounter a incomplete file with just not enough information in it to make a tooltip from it. Konqi should just say "partially downloaded file" in this case.

Thanks for reading,
Andreas
Comment 1 Andreas Leuner 2005-04-17 18:54:28 UTC
BTW I experience this crash running KDE cvs head 2005-04-16
Comment 2 Brad Hards 2005-04-23 01:00:10 UTC
Can you please attach a file that shows the crash to this bug report?
Comment 3 David Faure 2005-04-24 02:39:57 UTC
This is not related to .deb, it's the more generic konqueror "crash when reloading".
Comment 4 David Faure 2005-04-24 02:42:08 UTC
BTW, is the crash still there with kdelibs+kdebase updated from CVS HEAD?
In #96405, Thomas Zander couldn't reproduce it with HEAD, only with branch, but this report seems to indicate it's still in HEAD?

*** This bug has been marked as a duplicate of 96405 ***
Comment 5 Andreas Leuner 2005-04-24 11:16:27 UTC
Sorry for replying so late...

@David Faure
Yes, I did update all of kde (arts, kdelibs, kdebase + kdeadmin). However I have a 56k modem, so I couldn't claim that cvs update was atomic.
I do not think that this crash is an exact duplicate of #96405 since I can only reproduce it the way I described and _not_ the way described there

@Brad Hards
I'll try to add such a file shortly.
Comment 6 Andreas Leuner 2005-04-24 11:31:15 UTC
I have attached such a file to #96405.