Bug 75708

Summary: Crash when closing IDEAl tab
Product: [Applications] kdevelop Reporter: Simon Ejsing <simon>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 3.0.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Simon Ejsing 2004-02-20 12:29:41 UTC
Version:           3.0.1 (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) 
OS:          Linux

KDevelop crashes when I close one of the tabs in IDEAl mode with the shortcut combination Alt+Ctrl+Shift+L/R/B. However it only happens if I do _not_ open any files from my project first, eg. the IDE is "empty".

I've only tried it with PHP projects, which have a single PHP page opened, which could have something to do with it crashing.

The crash happens with both left / right / bottom tabs. If I open a file and close it again the crash is _not_ reproduceable. The crash only happens when I use the shortcut key, not if I use the mouse to close the tabs. It doesn't matter which of the individual tabs are opened.

I can reproduce this everytime.

To reproduce:
- Start KDevelop and make a new project (PHP in my case)
- Close all opened files
- Close KDevelop
- Restart KDevelop (I assume the project is autoloaded)
- Press Alt+Ctrl+Shift+L twice in a row (KDevelop should then crash)

Backtrace:
(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)...
(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 16854)]
0x41789cc8 in waitpid ()
   from /lib/libpthread.so.0
#0  0x41789cc8 in waitpid () from /lib/libpthread.so.0
#1  0x40d91c34 in ?? () from /usr/kde/3.2/lib/libkdecore.so.4
#2  0x40cd6007 in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#3  0x41788af5 in __pthread_sighandler () from /lib/libpthread.so.0
#4  <signal handler called>
#5  0x404994c9 in KMdiDockContainer::toggle() ()
   from /usr/kde/3.2/lib/libkmdi.so.1
#6  0x40494c18 in KMdiDockContainer::qt_invoke(int, QUObject*) ()
   from /usr/kde/3.2/lib/libkmdi.so.1
#7  0x41090cfc in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#8  0x41090b34 in QObject::activate_signal(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#9  0x40490448 in KMdiMainFrm::toggleLeft() ()
   from /usr/kde/3.2/lib/libkmdi.so.1
#10 0x40490f6c in KMdiMainFrm::qt_emit(int, QUObject*) ()
   from /usr/kde/3.2/lib/libkmdi.so.1
#11 0x08068c0d in QGList::count() const ()
#12 0x41090d31 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#13 0x41090b34 in QObject::activate_signal(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#14 0x4049d866 in KMDIPrivate::KMDIGUIClient::toggleLeft() ()
   from /usr/kde/3.2/lib/libkmdi.so.1
#15 0x4049da2c in KMDIPrivate::KMDIGUIClient::qt_emit(int, QUObject*) ()
   from /usr/kde/3.2/lib/libkmdi.so.1
#16 0x41090d31 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#17 0x41090b34 in QObject::activate_signal(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#18 0x40a22335 in KAction::activated() () from /usr/kde/3.2/lib/libkdeui.so.4
#19 0x40a21d8d in KAction::slotActivated() ()
   from /usr/kde/3.2/lib/libkdeui.so.4
#20 0x40a22518 in KAction::qt_invoke(int, QUObject*) ()
   from /usr/kde/3.2/lib/libkdeui.so.4
#21 0x41090cfc in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#22 0x41090b34 in QObject::activate_signal(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#23 0x40ccd889 in KAccelPrivate::menuItemActivated() ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#24 0x40ccc291 in KAccelPrivate::eventFilter(QObject*, QEvent*) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#25 0x4108e62e in QObject::activate_filters(QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#26 0x4108e55c in QObject::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#27 0x410c634f in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#28 0x411811f2 in QMainWindow::event(QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#29 0x40488f23 in KMdiMainFrm::event(QEvent*) ()
   from /usr/kde/3.2/lib/libkmdi.so.1
#30 0x41035abf in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#31 0x4103534f in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#32 0x40c45cec in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#33 0x40ccb290 in KAccelEventHandler::x11Event(_XEvent*) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#34 0x40c4b3fe in KApplication::x11EventFilter(_XEvent*) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#35 0x40fc0558 in qt_x11EventFilter(_XEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#36 0x40fca75b in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#37 0x40fe1811 in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#38 0x41047ad8 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#39 0x41047988 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#40 0x41035d11 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#41 0x080624db in ?? ()
#42 0xbffff480 in ?? ()
#43 0x08121810 in ?? ()
#44 0xbffff3f0 in ?? ()
#45 0x00000001 in ?? ()
Comment 1 Jens Dagerbo 2004-02-20 16:27:27 UTC
Well.. this is a dupe. Again. Of what is quickly getting to be the most annoying bug yet.

Anyway, now at least we know a way to trigger the crash at will. This should be useful. Thanks!

(Of course, it doesn't crash on my development machine, which is a not-quite-uptoddate Gentoo box. And yet, every box that has this problem appears to be Gentoo.)

*** This bug has been marked as a duplicate of 73346 ***
Comment 2 Jens Dagerbo 2004-02-20 23:48:13 UTC
Heh. I got myself confused. This is indeed a dupe, but of bug #73045. Which means it's fixed.
Comment 3 Jens Dagerbo 2004-02-20 23:48:29 UTC
*** Bug has been marked as fixed ***.
Comment 4 Jens Dagerbo 2004-02-20 23:49:07 UTC
Kill me now.. I meant to close as dupe.
Comment 5 Jens Dagerbo 2004-02-20 23:49:30 UTC
There. Begone!

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