Bug 71624

Summary: crash on exit after doing nothing (KDE 3.0.x)
Product: [Applications] kdevelop Reporter: Michel Kerszberg <mkersz>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED INTENTIONAL    
Severity: crash    
Priority: NOR    
Version: 3.0.0b2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michel Kerszberg 2004-01-01 22:25:10 UTC
Version:           3.0.0b2 (using KDE 3.0.5)
Installed from:    SuSE
Compiler:          gcc version 3.2
OS:          Linux (i686) release 2.4.19-4GB

Compiled from 031231 snapshot, on KDE 3.0.5 (no time to upgrade now).Compilation fine except for handbook.

First noticed some problems closing files -- they just stay there when I click on tab; then, when quitting, kdevelop invariably crashes -- this is true for all UI modes. This can happen after doing essentially nothing. Trace:

[New Thread 1024 (LWP 1927)]
[New Thread 2049 (LWP 1935)]
[New Thread 1026 (LWP 1936)]
0x414203a9 in wait4 () from /lib/i686/libc.so.6
#0  0x414203a9 in wait4 () from /lib/i686/libc.so.6
#1  0x4149bcf0 in __DTOR_END__ () from /lib/i686/libc.so.6
#2  0x4125d983 in waitpid () from /lib/i686/libpthread.so.0
#3  0x40a306c5 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#4  0x4125ba7a in pthread_sighandler () from /lib/i686/libpthread.so.0
#5  <signal handler called>
#6  0x00650062 in ?? ()
#7  0x08079b90 in ProjectManager::unloadLocalParts() ()
#8  0x08076de5 in ProjectManager::closeProject() ()
#9  0x0806ba34 in Core::queryClose() ()
#10 0x08064274 in MainWindow::queryClose() ()
#11 0x4082d7c2 in KMainWindow::closeEvent(QCloseEvent*) ()
   from /opt/kde3/lib/libkdeui.so.4
#12 0x40d58ee4 in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#13 0x40dfd212 in QMainWindow::event(QEvent*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#14 0x403480be in KMdiMainFrm::event(QEvent*) ()
   from /opt/kde3/lib/libkdevelopqextmdi.so.3
#15 0x40cd0d59 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#16 0x40cd0601 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#17 0x409c69f6 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#18 0x40d588e7 in QWidget::close(bool) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#19 0x40feba5b in QWidget::qt_invoke(int, QUObject*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#20 0x40ffa7d3 in QMainWindow::qt_invoke(int, QUObject*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#21 0x40830073 in KMainWindow::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkdeui.so.4
#22 0x40387e21 in KDockWidget_Compat::KDockMainWindow::qt_invoke(int, QUObject*) () from /opt/kde3/lib/libkdevelopqextmdi.so.3
#23 0x40385db8 in KDockWidget_Compat::DockMainWindow::qt_invoke(int, QUObject*)
    () from /opt/kde3/lib/libkdevelopqextmdi.so.3
#24 0x40386224 in KMdiDockMainWindow::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkdevelopqextmdi.so.3
#25 0x40350f1c in KMdiMainFrm::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkdevelopqextmdi.so.3
#26 0x08069989 in MainWindow::qt_invoke(int, QUObject*) ()
#27 0x40d24a1b in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#28 0x40d24907 in QObject::activate_signal(int) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#29 0x407e95db in KAction::activated() () from /opt/kde3/lib/libkdeui.so.4
#30 0x407dc7ef in KAction::slotActivated() () from /opt/kde3/lib/libkdeui.so.4
#31 0x407e97d2 in KAction::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkdeui.so.4
#32 0x40d24a1b in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#33 0x40fe7cc2 in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#34 0x40d3e018 in QSignal::activate() ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#35 0x40e0ecc3 in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#36 0x40d58d4c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#37 0x40cd0d59 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#38 0x40cd0473 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#39 0x409c69f6 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#40 0x40c714c6 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#41 0x40c6e7f0 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#42 0x40c6e35f in QApplication::processNextEvent(bool) ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#43 0x40cd2380 in QApplication::enter_loop() ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#44 0x40c6de3d in QApplication::exec() ()
   from /usr/lib/qt-3.0.5/lib/libqt-mt.so.3
#45 0x08062740 in main ()
#46 0x4139b4c2 in __libc_start_main () from /lib/i686/libc.so.6
Comment 1 Michel Kerszberg 2004-01-03 12:57:36 UTC
open kdevelop, close:
[New Thread 1024 (LWP 6630)]
[New Thread 2049 (LWP 6639)]
[New Thread 1026 (LWP 6640)]
0x414203a9 in wait4 () from /lib/i686/libc.so.6
#0  0x414203a9 in wait4 () from /lib/i686/libc.so.6
#1  0x4149bcf0 in __DTOR_END__ () from /lib/i686/libc.so.6
#2  0x4125d983 in waitpid () from /lib/i686/libpthread.so.0
#3  0x40a306c5 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#4  0x4125ba7a in pthread_sighandler () from /lib/i686/libpthread.so.0
#5  <signal handler called>
Comment 2 Jens Dagerbo 2004-01-03 13:53:19 UTC
I can't verify, since I'm on 3.2, but several reports seems to suggest there is a problem on KDE-3.0.x.
Comment 3 Amilcar do Carmo Lucas 2004-01-29 11:36:29 UTC
Yes, this looks like a KDE 3.0.x specific.
I got this BT on KDE 3.0.2 but I can not reproduce it on KDE 3.1.1 nor 3.1.3

[...]
#3  0x40a92850 in KCrash::defaultCrashHandler ()
   from /opt/kde3/lib/libkdecore.so.4
#4  0x4130fe9d in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x40dfde99 in QVariant::~QVariant () from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0x40de2c42 in QSignal::~QSignal () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x420e22a7 in ClassViewPart::~ClassViewPart ()
   from /opt/kde3/lib/kde3/libkdevclassview.so
#9  0x807995b in ProjectManager::unloadLocalParts ()
#10 0x8076a71 in ProjectManager::closeProject ()
#11 0x8068a5a in Core::queryClose ()
#12 0x805ff54 in MainWindow::queryClose ()
#13 0x40885547 in KMainWindow::closeEvent () from /opt/kde3/lib/libkdeui.so.4
#14 0x40dfb230 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40ead951 in QMainWindow::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x4034f839 in KMdiMainFrm::event ()
   from /opt/kde3/lib/libkdevelopqextmdi.so.3
#17 0x40d74b36 in QApplication::internalNotify ()
[...]
Comment 4 Michel Kerszberg 2004-05-10 22:25:08 UTC
Having abandoned hope to run kdevelop on KDE 3.0.5, and no time right now to switch to a newer KDE -- 3.0.5 is just sooo good! -- I mark this bug as resolved, since it is, most probably, utterly obsolete.
Comment 5 Amilcar do Carmo Lucas 2004-05-14 14:19:32 UTC
It is a know and documented issue specific to KDE 3.0.x
It will most probably never be fixed because the code now targets KDE >= 3.2

So a wontfix would be better for this one
Comment 6 Amilcar do Carmo Lucas 2004-05-14 14:19:59 UTC
Here you go, wontfix