Bug 67811

Summary: konqueror crashes when closing many at the same time
Product: [Applications] konqueror Reporter: rzei
Component: sidebarAssignee: Joseph Wenninger <jowenn>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description rzei 2003-11-10 21:25:25 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.2.2 

So.. I had about 8 konqueror windows in kicker, some of those had been running for some time, a couple of file browsers and the rest were web browsing. I asked kicker to close them all and it left one of them crashing. 

Though I seem to have one konqueror process to be left running background I am pretty sure that many processes were told to close in this situation. (I launched many of those from the kicker's icon and the load times were 7-8 secs so it must had launched a new process).

Any questions I'll be happy to answer. Not sure of the reproducability at the moment. Qt is latest 3.2.2, konq/kdelibs are less than 48 hours old from anoncvs.

[New Thread 16384 (LWP 32400)]
0x4145bb79 in __wait4 () at __wait4:-1
	in __wait4
#0  0x4145bb79 in __wait4 () at __wait4:-1
#1  0x414dc414 in __DTOR_END__ () from /lib/libc.so.6
#2  0x41264cd3 in waitpid (pid=-512, stat_loc=0xfffffe00, options=-512)
    at wrapsyscall.c:181
#3  0x407da206 in KGlobalAccelPrivate::activate(KAccelAction*, KKeySequence const&) (this=0xb, pAction=0x0, seq=@0x0) at kglobalaccel_x11.cpp:305
#4  <signal handler called>
#5  0x40e57670 in QGList::findRef(void*, bool) ()
   from /usr/src/qt/lib/libqt-mt.so.3
#6  0x40e572d4 in QGList::removeRef(void*) ()
   from /usr/src/qt/lib/libqt-mt.so.3
#7  0x4026d900 in QMap<KIO::ListJob*, QValueList<QValueList<KIO::UDSAtom> > >::remove(KIO::ListJob* const&) (this=0x0, k=@0x83863e8)
    at /usr/src/qt-x11-free-3.2.2/include/qmap.h:832
#8  0x402635e6 in KDirListerCache::updateDirectory(KURL const&) (
    this=0x831c3a0, _dir=@0x83863e8) at kdirlister.cpp:494
#9  0x40263477 in KDirListerCache::forgetDirs(KDirLister*, KURL const&, bool) (
    this=0x831c3a0, lister=0x83863e8, url=@0xbfffe8e8, notify=64)
    at kdirlister.cpp:476
#10 0x40269197 in KDirLister::setAutoErrorHandlingEnabled(bool, QWidget*) (
    this=0x83863e8, enable=65, parent=0x83849d8) at kdirlister.cpp:1644
#11 0x41b82a8c in ~KonqSidebarDirTreeModule (this=0x83849d8)
    at dirtree_module.cpp:43
#12 0x41b733c7 in QPtrList<KonqSidebarTreeModule>::deleteItem(void*) (
    this=0x8380a00, d=0x8384a00) at /usr/src/qt/include/qptrlist.h:150
#13 0x40e5762e in QGList::clear() () from /usr/src/qt/lib/libqt-mt.so.3
#14 0x41b6fcd1 in QPtrList<KonqSidebarTreeModule>::clear() (this=0x8380a00)
    at /usr/src/qt/include/qptrlist.h:93
#15 0x41b6b8fe in KonqSidebarTree::clearTree() (this=0x8380930)
    at konq_sidebartree.cpp:183
#16 0x41b6b7ee in ~KonqSidebarTree (this=0x8380930) at konq_sidebartree.cpp:168
#17 0x40be7598 in QWidget::~QWidget() () from /usr/src/qt/lib/libqt-mt.so.3
#18 0x405d4e65 in KDockWidgetHeader (this=0x837f648, parent=0x82d3920, 
    name=0xbfffea08 "\030êÿ¿Hö7\b 9-\b") at kdockwidget.cpp:230
#19 0x405d8f9f in KDockWidget::manualDock(KDockWidget*, KDockWidget::DockPosition, int, QPoint, bool, int) (this=0x82d28f0, target=0x40ff8f68, 
    dockPos=3221219976, spliPos=1086223768, pos=
      {xp = -1073747432, yp = 137885256}, check=65, tabIndex=1090490216)
    at kdockwidget.cpp:956
#20 0x405e1fdd in KDockManager::writeConfig(KConfig*, QString) (
    this=0x82d2ea8, c=0x82d2ea8, group=
      {static null = {static null = <same as static member of an already seen type>, d = 0x80570e8, static shared_null = 0x80570e8}, d = 0xbfffea78, static shared_null = 0x80570e8}) at kdockwidget.cpp:2531
#21 0x40be7598 in QWidget::~QWidget() () from /usr/src/qt/lib/libqt-mt.so.3
#22 0x41aa0bdf in ~Sidebar_Widget (this=0x82d2d78) at sidebar_widget.cpp:1182
#23 0x4003ed31 in ~Part (this=0x82ca4c0, __vtt_parm=0x41aa61e8) at part.cpp:148
#24 0x4003f91d in ReadOnlyPart (this=0x82ca4c0, parent=0x41aa61e4, 
    name=0xbfffeb58 "\bìÿ¿ï¢dAÀ¤,\bÉ\0213\b\210 \024\bºEjA\020")
    at part.cpp:301
#25 0x41a9673f in ~KonqSidebar (this=0x82ca4c0) at konqsidebar.cpp:49
#26 0x4164a2ef in ~KonqView (this=0x82c9e60) at konq_view.cc:127
#27 0x41656986 in KonqViewManager::clear() (this=0x8142088)
    at konq_viewmgr.cc:911
#28 0x41696e41 in KonqMainWindow::stayPreloaded() (this=0x813b2d8)
    at konq_mainwindow.cc:4933
#29 0x41694835 in KonqMainWindow::queryExit() (this=0x813b2d8)
    at konq_mainwindow.cc:4470
#30 0x4054044e in KStatusBar::qt_static_property(QObject*, int, int, QVariant*)
    () at kstatusbar.moc:224
#31 0x41694773 in KonqMainWindow::closeEvent(QCloseEvent*) (this=0x813b2d8, 
    e=0xbffff150) at konq_mainwindow.cc:4458
#32 0x40becf31 in QWidget::event(QEvent*) () from /usr/src/qt/lib/libqt-mt.so.3
#33 0x40ca5462 in QMainWindow::event(QEvent*) ()
   from /usr/src/qt/lib/libqt-mt.so.3
#34 0x41696d53 in KonqMainWindow::event(QEvent*) (this=0x813b2d8, e=0xbffff150)
    at konq_mainwindow.cc:4919
#35 0x40b5d555 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/src/qt/lib/libqt-mt.so.3
#36 0x40b5cc0b in QApplication::notify(QObject*, QEvent*) ()
   from /usr/src/qt/lib/libqt-mt.so.3
#37 0x4074637f in _init () from /opt/kde-head-3/lib/libkdecore.so.4
#38 0x40bec913 in QWidget::close(bool) () from /usr/src/qt/lib/libqt-mt.so.3
#39 0x40af9eec in QETWidget::translateCloseEvent(_XEvent const*) ()
   from /usr/src/qt/lib/libqt-mt.so.3
#40 0x40af457c in QApplication::x11ClientMessage(QWidget*, _XEvent*, bool) ()
   from /usr/src/qt/lib/libqt-mt.so.3
#41 0x40af55dd in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/src/qt/lib/libqt-mt.so.3
#42 0x40b0afd7 in QEventLoop::processEvents(unsigned) ()
   from /usr/src/qt/lib/libqt-mt.so.3
#43 0x40b70796 in QEventLoop::enterLoop() () from /usr/src/qt/lib/libqt-mt.so.3
#44 0x40b70638 in QEventLoop::exec() () from /usr/src/qt/lib/libqt-mt.so.3
#45 0x40b5d7a1 in QApplication::exec() () from /usr/src/qt/lib/libqt-mt.so.3
#46 0x4163beea in kdemain (argc=4, argv=0x8063588) at konq_main.cc:162
#47 0x408e2958 in kdeinitmain (argc=4, argv=0x8063588) at konqueror_dummy.cc:2
#48 0x0804e1cb in launch (argc=4, _name=0x8062ca4 "konqueror", 
    args=0x8062ceb "/home/rzei", cwd=0x8062ceb "/home/rzei", envc=28, 
    envs=0x8063023 "", reset_env=true, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8063027 "trusty;1068471755;827903;256") at kinit.cpp:597
#49 0x0804f26c in handle_launcher_request (sock=4) at kinit.cpp:1094
#50 0x0804f855 in handle_requests (waitForPid=0) at kinit.cpp:1255
#51 0x08050cc5 in main (argc=3, argv=0xbffffce4, envp=0xbffffcf4)
    at kinit.cpp:1686
#52 0x413c2f14 in __libc_start_main (main=0x805033a <main>, argc=3, 
    ubp_av=0xbffffce4, init=0x804bd2c, fini=0x40015640 <_rtld_local>, 
    rtld_fini=0, stack_end=0x0) at ../sysdeps/generic/libc-start.c:144
Comment 1 Waldo Bastian 2004-02-12 16:35:52 UTC
Which version of KDE are you using?

The backtrace is slightly misaligned, but the crash seems to happen in
	KDirListerCache::killJob
in the line
	jobs.remove( job );
called from
	KDirListerCache::forgetDirs( KDirLister *lister, const KURL& _url, bool notify )

Comment 2 Waldo Bastian 2004-02-12 16:36:27 UTC

*** This bug has been marked as a duplicate of 67710 ***