Bug 48920

Summary: sig 11 when closing tabs in konq
Product: [Applications] konqueror Reporter: Peter Backlund <peter.backlund>
Component: generalAssignee: Konqueror Developers <konq-bugs>
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 Peter Backlund 2002-10-09 12:47:12 UTC
Version:            (using KDE KDE 3.0.8)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7) 
OS:          Linux

I have twice expreienced a segmentation fault when closing tabs in konueror. i'm not sure exactly how to reproduce, but i'm closing the tab with ctrl-w, it's the rightmost tab, there's no webpage loaded in the tab and i have more than one konq window open on the same desktop.   

Backtrace:

[New Thread 8192 (LWP 1255)]
0x420ae169 in wait4 () from /lib/i686/libc.so.6
#0  0x420ae169 in wait4 () from /lib/i686/libc.so.6
#1  0x4212a2d0 in __DTOR_END__ () from /lib/i686/libc.so.6
#2  0x40e20c63 in waitpid () from /lib/i686/libpthread.so.0
#3  0x405f61ff in KCrash::defaultCrashHandler(int) ()
   from /opt/kde-3.1-beta2/lib/libkdecore.so.4
#4  <signal handler called>
#5  0x417475cc in KonqViewManager::removeTab(KonqFrameBase*) ()
   from /opt/kde-3.1-beta2/lib/konqueror.so
#6  0x41721d9b in KonqMainWindow::slotRemoveTabPopup() ()
   from /opt/kde-3.1-beta2/lib/konqueror.so
#7  0x41731d52 in KonqMainWindow::qt_invoke(int, QUObject*) ()
   from /opt/kde-3.1-beta2/lib/konqueror.so
#8  0x408edd6b in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#9  0x40bb49f2 in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#10 0x40907298 in QSignal::activate() ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#11 0x409d4ef0 in QPopupMenu::accelActivated(int) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#12 0x40bc85b8 in QPopupMenu::qt_invoke(int, QUObject*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#13 0x408edd6b in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#14 0x408ede35 in QObject::activate_signal(int, int) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#15 0x40bad4e2 in QAccel::activated(int) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#16 0x40895127 in QAccel::eventFilter(QObject*, QEvent*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#17 0x408ebe5e in QObject::activate_filters(QEvent*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#18 0x408ebd81 in QObject::event(QEvent*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#19 0x409222ec in QWidget::event(QEvent*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#20 0x409c7442 in QMainWindow::event(QEvent*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#21 0x40899c49 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#22 0x408994f1 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#23 0x405866c2 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde-3.1-beta2/lib/libkdecore.so.4
#24 0x4083f9e6 in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#25 0x4083a9e5 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
#26 0x4083a52f in QApplication::processNextEvent(bool) ()
   from /usr/lib/qt3-gcc3.2/lib/libqt-mt.so.3
Comment 1 Peter Backlund 2002-10-09 12:53:01 UTC
NOTE: I have now found the exact way to reproduce the bug:    
   
1. Open a new konq window.    
2. Create a few tabs with ctrl-shift-N.   
3. Close the rightmost one by right-clicking the tab and choose "close tab".   
4. Close the next one with ctrl-w.   
5. Sig 6 (not segmentation fault as I said earlier).  
Comment 2 John Firebaugh 2002-10-09 17:53:47 UTC

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