Bug#32829: crash if last source file closed

n.aust at utanet.at n.aust at utanet.at
Sun Sep 23 11:13:05 UTC 2001


Package: kdevelop
Version: 2.0 (using KDE 2.2.0 )
Severity: normal
Installed from:    SuSE
Compiler:          gcc version 2.95.2 19991024 (release)
OS:                Linux (i686) release 2.4.6
OS/Compiler notes: 

how to reproduce it:
- load a project in kdevelop
- select tabpage presentation
- open one(!) source code file from the project
- select a entry from the manual (documentation browser)
- you have two 'editing' windows open: one source code file and a documentation browser
- close the source file window (only the documentation window remains open)
- first bug: the name of the source code file remain in the main caption of kdevelop
- try to compile the project -> crash (SIGSECV)

For me it seems kdevelop tries to access the deleted string containing the filename of the source code window closed before.

(no debugging symbols found)...0x4118f5a9 in __wait4 () from /lib/libc.so.6
#0  0x4118f5a9 in __wait4 () from /lib/libc.so.6
#1  0x411f7ad8 in __DTOR_END__ () from /lib/libc.so.6
#2  0x409835e5 in KCrash::defaultCrashHandler ()
   from /opt/kde2/lib/libkdecore.so.3
#3  <signal handler called>
#4  0x809e997 in CKDevelop::setMainCaption ()
#5  0x807b62b in CKDevelop::slotFileSaveAll ()
#6  0x8085651 in CKDevelop::RunMake ()
#7  0x8085928 in CKDevelop::slotBuildMake ()
#8  0x8091119 in CKDevelop::slotToolbarClicked ()
#9  0x40c5b19f in QObject::activate_signal () from /usr/lib/qt2/lib/libqt.so.2
#10 0x4074c4fa in KToolBar::clicked () from /opt/kde2/lib/libkdeui.so.3
#11 0x40c5b19f in QObject::activate_signal () from /usr/lib/qt2/lib/libqt.so.2
#12 0x407da61a in KToolBarButton::clicked () from /opt/kde2/lib/libkdeui.so.3
#13 0x407d9975 in KToolBarButton::slotClicked ()
   from /opt/kde2/lib/libkdeui.so.3
#14 0x40c5aeed in QObject::activate_signal () from /usr/lib/qt2/lib/libqt.so.2
#15 0x40d6deb6 in QButton::clicked () from /usr/lib/qt2/lib/libqt.so.2
#16 0x40cbb759 in QButton::mouseReleaseEvent ()
   from /usr/lib/qt2/lib/libqt.so.2
#17 0x40ca2062 in QWidget::event () from /usr/lib/qt2/lib/libqt.so.2
#18 0x40c07f66 in QApplication::notify () from /usr/lib/qt2/lib/libqt.so.2
#19 0x408e8b76 in KApplication::notify () from /opt/kde2/lib/libkdecore.so.3
#20 0x40bd79f4 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt2/lib/libqt.so.2
#21 0x40bd5223 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt2/lib/libqt.so.2
#22 0x40bd4231 in QApplication::processNextEvent ()
   from /usr/lib/qt2/lib/libqt.so.2
#23 0x40c09b8f in QApplication::enter_loop () from /usr/lib/qt2/lib/libqt.so.2
#24 0x40bd41ab in QApplication::exec () from /usr/lib/qt2/lib/libqt.so.2
#25 0x80e88f1 in main ()
#26 0x41106baf in __libc_start_main () from /lib/libc.so.6

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)


-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list