Bug 60658 - Crash in MainWindowIDEAl::~MainWindowIDEAl on exit
Summary: Crash in MainWindowIDEAl::~MainWindowIDEAl on exit
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: IDEAl (show other bugs)
Version: git master
Platform: RedHat Enterprise Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-02 23:08 UTC by Jon Smirl
Modified: 2003-07-19 18:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Smirl 2003-07-02 23:08:48 UTC
Version:           CVS (using KDE KDE 3.1)
Installed from:    RedHat RPMs

The only thing I did unusual in the session was enable and then disable the floating debug toolbar but that may not be relevant to the crash.

[New Thread 1096328320 (LWP 4083)]
0xffffe410 in ?? ()
#0  0xffffe410 in ?? ()
#1  0x40a1957d in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#2  <signal handler called>
#3  0x080861b6 in MainWindowIDEAl::~MainWindowIDEAl() ()
#4  0x40daad03 in QObject::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#5  0x40de0f8c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#6  0x40e87ae2 in QMainWindow::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#7  0x40d4ef24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#8  0x40d4eb19 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#9  0x409ad1e9 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#10 0x40d4fcba in QApplication::sendPostedEvents(QObject*, int) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#11 0x40d62cd9 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#12 0x40d62b98 in QEventLoop::exec() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#13 0x40d4f151 in QApplication::exec() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#14 0x0806eb87 in main ()
#15 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
Comment 1 András Manţia 2003-07-19 18:08:03 UTC
Subject: kdevelop

CVS commit by amantia: 

Don't crash on exit.

CCMAIL: 60658-done@bugs.kde.org


  M +1 -0      ChangeLog   1.1064
  M +2 -1      src/mainwindowideal.h   1.14


--- kdevelop/ChangeLog  #1.1063:1.1064
@@ -1,4 +1,5 @@
 2003-07-19 Andras Mantia <amantia@freemail.hu>
     * apply the editor settings to the opened files
+    * don't crash on exit [#60658]
 
 2003-07-15 Andras Mantia <amantia@freemail.hu>

--- kdevelop/src/mainwindowideal.h  #1.13:1.14
@@ -26,4 +26,5 @@
 #include <qdatetime.h>
 #include <qmap.h>
+#include <qguardedptr.h>
 
 
@@ -71,5 +72,5 @@ protected:
    * Pointer to the Window menu. SDI specific. MDI uses the feature of qextmdimainfrm.
    */
-   QPopupMenu              *m_pWindowMenu;
+   QGuardedPtr<QPopupMenu> m_pWindowMenu;
 
 public slots: