Bug 96405 - crash on refreshing ftp session ( 3 different bt's !)
Summary: crash on refreshing ftp session ( 3 different bt's !)
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 99764 101194 102959 103055 103669 103900 103917 104074 106118 106668 107886 108214 108675 108741 108745 108815 108828 109809 109821 109827 111186 112086 112746 113284 116532 117361 119611 123653 129897 130275 130429 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-05 22:54 UTC by Edwin Schepers
Modified: 2009-03-20 22:53 UTC (History)
30 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Partially downloaded debian package (31.11 KB, application/octet-stream)
2005-04-24 11:30 UTC, Andreas Leuner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Edwin Schepers 2005-01-05 22:54:03 UTC
Version:           unknown (using KDE 3.3.90 (alpha1, CVS >= 20041206), compiled sources)
Compiler:          gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
OS:                Linux (i686) release 2.4.22-1.2115.nptl

Hi,
1. Open an ftp session in konqueror
2. select a file
3. hit F5
If it doesn't crash, hit F5 faster after one another.

I did it 3 times and got 3 times a different bt.
First is with a Left and a Right Pane (local and ftp)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1085046656 (LWP 31952)]
[KCrash handler]
#4  0x00ddb0e0 in QValueList<KIO::UDSAtom>::begin() const (this=0x95870bc)
    at qvaluelist.h:474
#5  0x00e8d4c0 in KFileItem::localPath() const (this=0x95870b8)
    at kfileitem.cpp:304
#6  0x00e90584 in KFileItem::mostLocalURL(bool&) const (this=0x95870b8, 
    local=@0xbfe6e40f) at kfileitem.cpp:903
#7  0x00e8dcdc in KFileItem::determineMimeType() (this=0x95870b8)
    at kfileitem.cpp:427
#8  0x00e8dc58 in KFileItem::mimetype() const (this=0x95870b8)
    at kfileitem.cpp:419
#9  0x00eb48e4 in KIO::PreviewJob::startPreview() (this=0x95e5d48)
    at previewjob.cpp:175
#10 0x00eb3deb in KIO::PreviewJob::qt_invoke(int, QUObject*) (this=0x95e5d48, 
    _id=7, _o=0xbfe6e670) at previewjob.moc:137
#11 0x01234bce in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#12 0x0150699a in QSignal::signal(QVariant const&) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#13 0x0124afd4 in QSignal::activate() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#14 0x0125172b in QSingleShotTimer::event(QEvent*) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#15 0x011e2e09 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#16 0x011e248c in QApplication::notify(QObject*, QEvent*) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#17 0x005884b0 in KApplication::notify(QObject*, QEvent*) (this=0xbfe6edd0, 
    receiver=0x91a5150, event=0xbfe6ea00) at kapplication.cpp:543
#18 0x011d3e9c in QEventLoop::activateTimers() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#19 0x0119624e in QEventLoop::processEvents(unsigned) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#20 0x011f287f in QEventLoop::enterLoop() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#21 0x011f2744 in QEventLoop::exec() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#22 0x011e3008 in QApplication::exec() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#23 0x04488a28 in kdemain (argc=2, argv=0x8f96a50) at konq_main.cc:206
#24 0x00451961 in kdeinitmain (argc=2, argv=0x8f96a50) at konqueror_dummy.cc:2
#25 0x0804e429 in launch (argc=2, _name=0x8f9aecc "konqueror", 
    args=0x8f9aedf "\001", cwd=0x0, envc=1, envs=0x8f9aef0 "", 
    reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8f9aef4 "CC90001-A;1104960839;227917;31200_TIME90641")
    at kinit.cpp:623
#26 0x0804f741 in handle_launcher_request (sock=8) at kinit.cpp:1187
#27 0x0804fe0a in handle_requests (waitForPid=0) at kinit.cpp:1388
#28 0x080512d6 in main (argc=2, argv=0xbfe6f444, envp=0xbfe6f450)
    at kinit.cpp:1841
----------------------------
Second: only ftp session
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1085046656 (LWP 2698)]
[KCrash handler]
#4  0x014ad6cd in QString::QString(QString const&) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#5  0x0049d2a9 in KURL::protocol() const (this=0x950bc00) at kurl.h:271
#6  0x0062880d in KGlobalSettings::showFilePreview(KURL const&) (
    url=@0x950bc00) at kglobalsettings.cpp:678
#7  0x00e904ee in KFileItem::metaInfo(bool, int) const (this=0x950bbf8, 
    autoget=true) at kfileitem.cpp:892
#8  0x00e8ef18 in KFileItem::getToolTipText(int) (this=0x950bbf8, maxcount=6)
    at kfileitem.cpp:677
#9  0x04349d7b in KonqFileTip::showTip() (this=0x9410948)
    at konq_filetip.cc:232
#10 0x0434a22f in KonqFileTip::qt_invoke(int, QUObject*) (this=0x9410948, 
    _id=48, _o=0xbfe6e6b0) at konq_filetip.moc:97
#11 0x01234bce in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#12 0x01234a30 in QObject::activate_signal(int) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#13 0x015081b8 in QTimer::timeout() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#14 0x012515df in QTimer::event(QEvent*) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#15 0x011e2e09 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#16 0x011e248c in QApplication::notify(QObject*, QEvent*) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#17 0x005884b0 in KApplication::notify(QObject*, QEvent*) (this=0xbfe6edd0, 
    receiver=0x9411160, event=0xbfe6ea00) at kapplication.cpp:543
#18 0x011d3e9c in QEventLoop::activateTimers() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#19 0x0119624e in QEventLoop::processEvents(unsigned) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#20 0x011f287f in QEventLoop::enterLoop() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#21 0x011f2744 in QEventLoop::exec() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#22 0x011e3008 in QApplication::exec() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#23 0x01bdfa28 in kdemain (argc=2, argv=0x8f95b68) at konq_main.cc:206
#24 0x00451961 in kdeinitmain (argc=2, argv=0x8f95b68) at konqueror_dummy.cc:2
#25 0x0804e429 in launch (argc=2, _name=0x8f95c9c "konqueror", 
    args=0x8f95caf "\001", cwd=0x0, envc=1, envs=0x8f95cc0 "", 
    reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8f95cc4 "CC90001-A;1104962295;850289;31200_TIME1547264")
    at kinit.cpp:623
#26 0x0804f741 in handle_launcher_request (sock=8) at kinit.cpp:1187
#27 0x0804fe0a in handle_requests (waitForPid=0) at kinit.cpp:1388
#28 0x080512d6 in main (argc=2, argv=0xbfe6f444, envp=0xbfe6f450)
    at kinit.cpp:1841
---------------------------
third : only ftp session
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1085046656 (LWP 2762)]
[KCrash handler]
#4  0x00013b04 in ?? ()
#5  0x00e8dc72 in KFileItem::mimetype() const (this=0x94ed8d0)
    at kfileitem.cpp:419
#6  0x00e9050c in KFileItem::metaInfo(bool, int) const (this=0x94ed8d0, 
    autoget=true) at kfileitem.cpp:895
#7  0x00e8ef18 in KFileItem::getToolTipText(int) (this=0x94ed8d0, maxcount=6)
    at kfileitem.cpp:677
#8  0x04349d7b in KonqFileTip::showTip() (this=0x92d99f0)
    at konq_filetip.cc:232
#9  0x0434a22f in KonqFileTip::qt_invoke(int, QUObject*) (this=0x92d99f0, 
    _id=48, _o=0xbfe6e6b0) at konq_filetip.moc:97
#10 0x01234bce in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#11 0x01234a30 in QObject::activate_signal(int) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#12 0x015081b8 in QTimer::timeout() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#13 0x012515df in QTimer::event(QEvent*) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#14 0x011e2e09 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#15 0x011e248c in QApplication::notify(QObject*, QEvent*) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#16 0x005884b0 in KApplication::notify(QObject*, QEvent*) (this=0xbfe6edd0, 
    receiver=0x92da770, event=0xbfe6ea00) at kapplication.cpp:543
#17 0x011d3e9c in QEventLoop::activateTimers() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#18 0x0119624e in QEventLoop::processEvents(unsigned) ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#19 0x011f287f in QEventLoop::enterLoop() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#20 0x011f2744 in QEventLoop::exec() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#21 0x011e3008 in QApplication::exec() ()
   from /hda8/opt/qt-copy.20050901/lib/libqt-mt.so.3
#22 0x0575fa28 in kdemain (argc=2, argv=0x8f96b70) at konq_main.cc:206
#23 0x00451961 in kdeinitmain (argc=2, argv=0x8f96b70) at konqueror_dummy.cc:2
#24 0x0804e429 in launch (argc=2, _name=0x8f95b6c "konqueror", 
    args=0x8f95b7f "\001", cwd=0x0, envc=1, envs=0x8f95b90 "", 
    reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8f95b94 "CC90001-A;1104962321;566592;31200_TIME1572980")
    at kinit.cpp:623
#25 0x0804f741 in handle_launcher_request (sock=8) at kinit.cpp:1187
#26 0x0804fe0a in handle_requests (waitForPid=0) at kinit.cpp:1388
#27 0x080512d6 in main (argc=2, argv=0xbfe6f444, envp=0xbfe6f450)
    at kinit.cpp:1841


Regards,
Edwin
Comment 1 Tommi Tervo 2005-04-01 10:25:13 UTC
*** Bug 102959 has been marked as a duplicate of this bug. ***
Comment 2 Maksim Orlovich 2005-04-02 18:22:04 UTC
*** Bug 103055 has been marked as a duplicate of this bug. ***
Comment 3 Maksim Orlovich 2005-04-12 04:58:45 UTC
*** Bug 103669 has been marked as a duplicate of this bug. ***
Comment 4 Maksim Orlovich 2005-04-12 05:08:25 UTC
*** Bug 99764 has been marked as a duplicate of this bug. ***
Comment 5 Maksim Orlovich 2005-04-12 05:09:36 UTC
Please do  not file multiple bt's in the same report. For the KfileItem::localPath/previewJob one, let bug #100800 be the master, for this one being the showTip master
Comment 6 Maksim Orlovich 2005-04-12 05:10:33 UTC
*** Bug 101194 has been marked as a duplicate of this bug. ***
Comment 7 Thomas Zander 2005-04-13 00:28:05 UTC
I could reproduce the bug perfectly in 3.4, but it is fixed in (kdelibs) head.
Comment 8 Maksim Orlovich 2005-04-14 21:54:55 UTC
*** Bug 103900 has been marked as a duplicate of this bug. ***
Comment 9 George Staikos 2005-04-14 23:52:47 UTC
*** Bug 103917 has been marked as a duplicate of this bug. ***
Comment 10 David Faure 2005-04-24 02:42:09 UTC
*** Bug 104074 has been marked as a duplicate of this bug. ***
Comment 11 Andreas Leuner 2005-04-24 11:18:16 UTC
Sorry for replying so late...
(I also sent this to #104074)
 
 @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 12 Andreas Leuner 2005-04-24 11:30:33 UTC
Created attachment 10777 [details]
Partially downloaded debian package

This is a file that can cause the crash with the backtrace from this bug and
bug #104074. I do not have compiled qt with debugging symbols - that seems to
be the only difference. 
To trigger the crash, download this (filename:
aspell-doc_0.60.2+20050121-2_all.deb.part ), and then open the (download)
target directory in a konq_fileview, hit F5 (i.e. reload) and try to display
the tooltip for the file - should crash then.
Comment 13 Andreas Leuner 2005-04-24 11:57:15 UTC
I have opened a new bug report for a crash that occured while "producing" the above test case. Please see bug #104454.
I'm referring to it here because that one is triggered _very_ similarly to this bug. In fact it might be the crash I wanted to report with bug #104074 but I got confused while trying to reproduce ;-)

Sorry for cross-posting (possibly) unnecessarily.
Comment 14 Maksim Orlovich 2005-05-22 16:27:58 UTC
*** Bug 106118 has been marked as a duplicate of this bug. ***
Comment 15 David Faure 2005-06-17 20:19:09 UTC
SVN commit 426572 by dfaure:

Fix crashes in tooltip and preview code due to dangling KFileItems after
a reload, or a file gets deleted/moved. Thanks to Maks for his bug report
handling, merging, patch testing, and for reminding me to fix this :)
BUG: 100800
BUG: 96405


 M  +6 -0      konq_listviewwidget.cc  


--- branches/KDE/3.4/kdebase/konqueror/listview/konq_listviewwidget.cc #426571:426572
@@ -1127,6 +1127,7 @@
    //kdDebug(1202) << k_funcinfo << endl;
 
    m_activeItem = 0;
+   m_fileTip->setItem( 0 );
    delete m_selected; m_selected = 0;
    m_pBrowserView->resetCount();
    m_pBrowserView->lstPendingMimeIconItems().clear();
@@ -1180,6 +1181,11 @@
       m_pBrowserView->deleteItem( _fileitem );
       m_pBrowserView->lstPendingMimeIconItems().remove( &(*it) );
 
+      if ( m_activeItem == &(*it) ) {
+          m_fileTip->setItem( 0 );
+          m_activeItem = 0;
+      }
+
       delete &(*it);
       // HACK HACK HACK: QListViewItem/KonqBaseListViewItem should
       // take care and the source looks like it does; till the
Comment 16 Maksim Orlovich 2005-06-17 20:27:04 UTC
*** Bug 106668 has been marked as a duplicate of this bug. ***
Comment 17 Maksim Orlovich 2005-06-22 01:49:59 UTC
*** Bug 107886 has been marked as a duplicate of this bug. ***
Comment 18 Tommi Tervo 2005-07-04 10:26:01 UTC
*** Bug 108214 has been marked as a duplicate of this bug. ***
Comment 19 George Staikos 2005-07-06 23:50:25 UTC
*** Bug 108675 has been marked as a duplicate of this bug. ***
Comment 20 Tommi Tervo 2005-07-08 10:55:11 UTC
*** Bug 108741 has been marked as a duplicate of this bug. ***
Comment 21 Tommi Tervo 2005-07-08 13:45:31 UTC
*** Bug 108745 has been marked as a duplicate of this bug. ***
Comment 22 Maksim Orlovich 2005-07-10 01:10:17 UTC
*** Bug 108815 has been marked as a duplicate of this bug. ***
Comment 23 Maksim Orlovich 2005-07-10 01:25:07 UTC
*** Bug 108828 has been marked as a duplicate of this bug. ***
Comment 24 Matthias Pospiech 2005-07-10 14:40:34 UTC
My bug was added as a dublicate (though I dont understand why). I my case it is  that konqueror is crashing when deleting any file.

I wonder whether such an huge show stopper. (Filemanagemend is inpossible without being able to delete a file) isnt a reason for a 3.4.2 ?

Matthias
Comment 25 Tommi Tervo 2005-07-29 11:16:28 UTC
*** Bug 109821 has been marked as a duplicate of this bug. ***
Comment 26 Tommi Tervo 2005-07-29 12:47:19 UTC
*** Bug 109827 has been marked as a duplicate of this bug. ***
Comment 27 Tommi Tervo 2005-07-29 14:41:37 UTC
*** Bug 109809 has been marked as a duplicate of this bug. ***
Comment 28 Tommi Tervo 2005-09-05 20:16:42 UTC
*** Bug 112086 has been marked as a duplicate of this bug. ***
Comment 29 Maksim Orlovich 2005-09-16 19:29:36 UTC
*** Bug 112746 has been marked as a duplicate of this bug. ***
Comment 30 Maksim Orlovich 2005-11-16 23:48:14 UTC
*** Bug 116532 has been marked as a duplicate of this bug. ***
Comment 31 Maksim Orlovich 2005-11-30 17:32:17 UTC
*** Bug 117361 has been marked as a duplicate of this bug. ***
Comment 32 Tommi Tervo 2005-12-08 09:04:06 UTC
*** Bug 111186 has been marked as a duplicate of this bug. ***
Comment 33 Tommi Tervo 2006-01-06 16:25:13 UTC
*** Bug 119611 has been marked as a duplicate of this bug. ***
Comment 34 Andreas Leuner 2006-01-07 14:57:28 UTC
We just had the 1st anniversary of this bug

Posthumous congratulations!
Comment 35 Tommi Tervo 2006-06-27 12:27:57 UTC
*** Bug 129897 has been marked as a duplicate of this bug. ***
Comment 36 Stefan Borggraefe 2006-07-05 11:45:24 UTC
*** Bug 130275 has been marked as a duplicate of this bug. ***
Comment 37 Tommi Tervo 2006-07-08 10:21:14 UTC
*** Bug 130429 has been marked as a duplicate of this bug. ***
Comment 38 Tommi Tervo 2006-08-23 14:04:44 UTC
*** Bug 113284 has been marked as a duplicate of this bug. ***
Comment 39 Frank Osterfeld 2006-09-09 18:16:33 UTC
There is still a crash similar to this one
http://bugs.kde.org/show_bug.cgi?id=125448

It happens on exit though, not on refresh.
Comment 40 A. Spehr 2009-03-20 22:53:50 UTC
*** Bug 123653 has been marked as a duplicate of this bug. ***