Bug 145047 - konqueror random crashes - file manager mode
Summary: konqueror random crashes - file manager mode
Status: RESOLVED UNMAINTAINED
Alias: None
Product: metabar
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 142477 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-04 20:26 UTC by Vince Schiavoni
Modified: 2013-09-28 03:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kde related packages installed on this box (103.66 KB, image/png)
2007-05-04 21:37 UTC, Vince Schiavoni
Details
Latest crash "dump" report, with debugging active. (6.11 KB, application/octet-stream)
2007-05-05 05:42 UTC, Vince Schiavoni
Details
Latest crash "dump" (5.87 KB, application/octet-stream)
2007-05-06 18:22 UTC, Vince Schiavoni
Details
Another crash report (2.36 KB, application/octet-stream)
2007-05-06 18:24 UTC, Vince Schiavoni
Details
Latest crash trace (6.10 KB, application/octet-stream)
2007-05-31 21:44 UTC, Vince Schiavoni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Schiavoni 2007-05-04 20:26:46 UTC
Version:           3.5.6-3.fc6 (using KDE KDE 3.5.6)
Installed from:    Fedora RPMs
OS:                Linux

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(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 -1208153376 (LWP 3692)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0x06dc485e in operator== () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#7  0x0381ac8c in KURL::operator== () from /usr/lib/libkdecore.so.4
#8  0x004a18a1 in MetabarWidget::setFileItems ()
   from /usr/lib/kde3/konqsidebar_metabar.so
#9  0x004a297f in Metabar::handlePreview ()
   from /usr/lib/kde3/konqsidebar_metabar.so
#10 0x0016fc38 in KonqSidebarPlugin::openPreview ()
   from /usr/lib/libkonqsidebarplugin.so.1
#11 0x0017009a in KonqSidebarPlugin::qt_invoke ()
   from /usr/lib/libkonqsidebarplugin.so.1
#12 0x00498f6b in Metabar::qt_invoke ()
   from /usr/lib/kde3/konqsidebar_metabar.so
#13 0x06aa8bea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#14 0x0027daa1 in Sidebar_Widget::fileSelection ()
   from /usr/lib/kde3/konq_sidebar.so
#15 0x0027e3a5 in Sidebar_Widget::customEvent ()
   from /usr/lib/kde3/konq_sidebar.so
#16 0x06aa831e in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#17 0x06ae5cfc in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#18 0x06a3fe6b in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x06a412e9 in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x0391f1e2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#21 0x0027dc58 in KonqSidebar::customEvent ()
   from /usr/lib/kde3/konq_sidebar.so
#22 0x06aa831e in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#23 0x06a3fe6b in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#24 0x06a412e9 in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#25 0x0391f1e2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#26 0x00bc6cd2 in KonqMainWindow::customEvent ()
   from /usr/lib/libkdeinit_konqueror.so
#27 0x06aa831e in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#28 0x06ae5cfc in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#29 0x06bb3b62 in QMainWindow::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#30 0x00bf0472 in KonqMainWindow::event ()
   from /usr/lib/libkdeinit_konqueror.so
#31 0x06a3fe6b in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#32 0x06a412e9 in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#33 0x0391f1e2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#34 0x00ba6ec6 in KonqView::slotSelectionInfo ()
   from /usr/lib/libkdeinit_konqueror.so
#35 0x00bdd39c in KonqView::qt_invoke () from /usr/lib/libkdeinit_konqueror.so
#36 0x06aa8bea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#37 0x0045f1e1 in KParts::BrowserExtension::selectionInfo ()
   from /usr/lib/libkparts.so.2
#38 0x0036bfc2 in KonqBaseListViewWidget::slotSelectionChanged ()
   from /usr/lib/kde3/konq_listview.so
#39 0x00371005 in KonqBaseListViewWidget::qt_invoke ()
   from /usr/lib/kde3/konq_listview.so
#40 0x06aa8b51 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#41 0x06aa971d in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#42 0x06e49509 in QListView::selectionChanged ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#43 0x06b9c360 in QListView::setSelected ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#44 0x00379ccb in KonqBaseListViewWidget::slotNewItems ()
   from /usr/lib/kde3/konq_listview.so
#45 0x00370f4b in KonqBaseListViewWidget::qt_invoke ()
   from /usr/lib/kde3/konq_listview.so
#46 0x06aa8bea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#47 0x050be851 in KDirLister::newItems () from /usr/lib/libkio.so.4
#48 0x050bf8cb in KDirLister::emitItems () from /usr/lib/libkio.so.4
#49 0x050fdf1b in KDirListerCache::slotEntries () from /usr/lib/libkio.so.4
#50 0x05107fba in KDirListerCache::qt_invoke () from /usr/lib/libkio.so.4
#51 0x06aa8bea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#52 0x050360ad in KIO::ListJob::entries () from /usr/lib/libkio.so.4
#53 0x0508e42b in KIO::ListJob::slotListEntries () from /usr/lib/libkio.so.4
#54 0x0508e720 in KIO::ListJob::qt_invoke () from /usr/lib/libkio.so.4
#55 0x06aa8bea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#56 0x0503a001 in KIO::SlaveInterface::listEntries ()
   from /usr/lib/libkio.so.4
#57 0x0508a9de in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#58 0x0507faca in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#59 0x050455fc in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#60 0x05076860 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#61 0x06aa8bea in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#62 0x06aa95c2 in QObject::activate_signal ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#63 0x06e35910 in QSocketNotifier::activated ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#64 0x06ac97d0 in QSocketNotifier::event ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#65 0x06a3fe6b in QApplication::internalNotify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#66 0x06a412e9 in QApplication::notify ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#67 0x0391f1e2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#68 0x06a33631 in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#69 0x069e81c1 in QEventLoop::processEvents ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#70 0x06a593f0 in QEventLoop::enterLoop ()
   from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#71 0x06a592a6 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#72 0x06a3f97f in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#73 0x00bf8e14 in kdemain () from /usr/lib/libkdeinit_konqueror.so
#74 0x08048472 in ?? ()
#75 0x00657f2c in __libc_start_main () from /lib/libc.so.6
#76 0x080483c1 in ?? ()
Comment 1 Maksim Orlovich 2007-05-04 20:29:58 UTC
The crashes seem to be in the metabar plugin. I don't believe we ship it, or do we?
Comment 2 Vince Schiavoni 2007-05-04 21:32:50 UTC
Um....I don't know.  Apparently the metabar is "shipped" with Konqueror (at least in FC6+extras/updates), because I do not remember specially adding it.  Konqueror is part of the "kde-base" package in FC6 - it is not a separate package - and I assume the output above is from the kde-base-debug package, which is installed on this box.  The metabar is the only sidebar I use - I have only briefly played with the others, a long time ago.  However, I also remember having to add other packages in the past - kde-3.4.1-1.0.noarch (KDE "Virtual" container package)???, kde-filesystem ???, can't remember exactly what/when - to get other stuff to work (install-for-dependencies), plus I've piled on all the extras available :-)
Comment 3 Vince Schiavoni 2007-05-04 21:37:28 UTC
Created attachment 20484 [details]
kde related packages installed on this box
Comment 4 Vince Schiavoni 2007-05-04 22:15:26 UTC
OK, so the debug packages were not installed on this machine. Now they are, if that helps when the next crash happens.
Comment 5 Vince Schiavoni 2007-05-05 05:42:52 UTC
Created attachment 20486 [details]
Latest crash "dump" report, with debugging active.
Comment 6 Martin Koller 2007-05-06 15:36:10 UTC
It seems you don't have installed all debug packages. E.g. kdelibs and kdeaddons seems missing.

But more important: How can you reproduce it ?
Comment 7 Martin Koller 2007-05-06 16:00:42 UTC
I can reproduce it: I look at /tmp and press reload a few times (selecting some items inbetween, changing from treeView to iconView mode)...

Running this in valgrind reveals, that it might be due to the fact that the MetabarWidget contains a member currentItems which does (line 189)
      currentItems = new KFileItemList(items);
which produces a shallow copy of the item list (only pointers are copied).
And at some point kdirlistercache is deleting the KFileItem but currentItems still points to it ...

See the following valgrind log:

==12416== Invalid read of size 1
==12416==    at 0x409D7E7: KURL::isValid() const (kurl.h:816)
==12416==    by 0xAC663FA: MetabarWidget::setFileItems(QPtrList<KFileItem> const&, bool) (metabarwidget.cpp:176)
==12416==    by 0xAC64223: Metabar::handlePreview(QPtrList<KFileItem> const&) (metabar.cpp:35)
==12416==    by 0x7B2EEC2: KonqSidebarPlugin::openPreview(QPtrList<KFileItem> const&) (konqsidebarplugin.cpp:40)
==12416==    by 0x7B2F33F: KonqSidebarPlugin::qt_invoke(int, QUObject*) (konqsidebarplugin.moc:167)
==12416==    by 0xAC64552: Metabar::qt_invoke(int, QUObject*) (metabar.moc:77)
==12416==    by 0x4E50659: QObject::activate_signal(QConnectionList*, QUObject*) (in /home/pvss/workspace/ExternLibs/Qt/lib/libqt-mt.so.3)
==12416==    by 0x93B2992: Sidebar_Widget::fileSelection(QPtrList<KFileItem> const&) (sidebar_widget.moc:449)
==12416==    by 0x93B2A0B: Sidebar_Widget::customEvent(QCustomEvent*) (sidebar_widget.cpp:1244)
==12416==    by 0x4E4E415: QObject::event(QEvent*) (in /home/pvss/workspace/ExternLibs/Qt/lib/libqt-mt.so.3)
==12416==    by 0x4E7E9B1: QWidget::event(QEvent*) (in /home/pvss/workspace/ExternLibs/Qt/lib/libqt-mt.so.3)
==12416==    by 0x4DFDEA8: QApplication::internalNotify(QObject*, QEvent*) (in /home/pvss/workspace/ExternLibs/Qt/lib/libqt-mt.so.3)
==12416==  Address 0x6405CF4 is 36 bytes inside a block of size 124 free'd
==12416==    at 0x401D20C: operator delete(void*) (vg_replace_malloc.c:246)
==12416==    by 0x446B9CC: KFileItem::~KFileItem() (kfileitem.cpp:125)
==12416==    by 0x409DB1D: QPtrList<KFileItem>::deleteItem(void*) (qptrlist.h:150)
==12416==    by 0x50B3E0E: QGList::clear() (in /home/pvss/workspace/ExternLibs/Qt/lib/libqt-mt.so.3)
==12416==    by 0x409E99B: QPtrList<KFileItem>::clear() (qptrlist.h:93)
==12416==    by 0x409E9D7: QPtrList<KFileItem>::~QPtrList() (qptrlist.h:70)
==12416==    by 0x447F7B2: KDirListerCache::DirItem::~DirItem() (kdirlister_p.h:250)
==12416==    by 0x447F839: QCache<KDirListerCache::DirItem>::deleteItem(void*) (qcache.h:90)
==12416==    by 0x50B0287: QGCache::remove_string(QString const&) (in /home/pvss/workspace/ExternLibs/Qt/lib/libqt-mt.so.3)
==12416==    by 0x447F31F: QCache<KDirListerCache::DirItem>::remove(QString const&) (qcache.h:70)
==12416==    by 0x447A759: KDirListerCache::listDir(KDirLister*, KURL const&, bool, bool) (kdirlister.cpp:210)
==12416==    by 0x447BC30: KDirLister::openURL(KURL const&, bool, bool) (kdirlister.cpp:1863)
==12416== 
=
Comment 8 Vince Schiavoni 2007-05-06 18:22:21 UTC
Created attachment 20502 [details]
Latest crash "dump"
Comment 9 Vince Schiavoni 2007-05-06 18:24:46 UTC
Created attachment 20503 [details]
Another crash report
Comment 10 Vince Schiavoni 2007-05-31 21:44:44 UTC
Created attachment 20747 [details]
Latest crash trace

Here's the latest crash report.  I'm not sure if I'm supposed to be doing
anything else or if someone is waiting on more input from me (sorry, I'm still
learning...), but if there is something more I can do to help, please let me
know....
Comment 11 Tommi Tervo 2008-01-15 09:25:03 UTC
*** Bug 142477 has been marked as a duplicate of this bug. ***