KDEVELOP_1_4: SegFault crash after closing all windows

Roland Krause rokrau at yahoo.com
Fri Jul 20 21:37:43 UTC 2001


Falk, 
there is a bug in current CVS that leads to the following segfault. 

It happens when I close all windows and try to open a new window. 

I suppose that m_firstFocusableChildWidget is actually not valid any
longer but see for yourself. The crash is reproducable. 

Greetings,
Roland
PS: I havent heard from you for a while, drop me a mail if you've got a
minute



Program received signal SIGSEGV, Segmentation fault.
0xee1cbe64 in QBoxLayout::iterator ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
(gdb) bt
#0  0xee1cbe64 in QBoxLayout::iterator ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#1  0xef5a7a00 in QextMdiChildView::activate (this=0x5f09e0)
    at qextmdichildview.cpp:408
#2  0xef5a787c in QextMdiChildView::focusInEvent (this=0x5f09e0,
e=0xefffcda0)
    at qextmdichildview.cpp:369
#3  0xee23400c in QWidget::event ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#4  0xee193d1c in QApplication::notify ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#5  0xee97d74c in KApplication::notify ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdecore.so.3
#6  0xee231bc0 in QWidget::setFocus ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#7  0xeec42658 in KDockWidget::event ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#8  0xee193d1c in QApplication::notify ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#9  0xee97d74c in KApplication::notify ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdecore.so.3
#10 0xee231bc0 in QWidget::setFocus ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#11 0xeec3c8a4 in KDockTabCtl::showPage ()
---Type <return> to continue, or q <return> to quit---
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#12 0xeec3c83c in KDockTabCtl::setVisiblePage ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#13 0xeec4084c in KDockTabCtl::setVisiblePage ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#14 0xee1e8c00 in QObject::activate_signal ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#15 0xeec3f408 in KDockTabBar::tabSelected ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#16 0xeec3de2c in KDockTabBar::setCurrentTab ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#17 0xeec3db1c in KDockTabBar::removeTab ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#18 0xeec3c434 in KDockTabCtl::removePage ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#19 0xeec4321c in KDockWidget::undock ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#20 0xef5ae744 in QextMdiMainFrm::addWindow (this=0x28b7f0,
pWnd=0x5f09e0,
    flags=0) at qextmdimainfrm.cpp:272
#21 0x38328 in DocViewMan::addQExtMDIFrame (this=0x2a0dd0,
pNewView=0x4e2be0,
    bShow=true, icon=@0xefffd5b8) at docviewman.cpp:693
#22 0x3890c in DocViewMan::createEditView (this=0x2a0dd0,
pDoc=0x585aa0,
    bShow=true) at docviewman.cpp:749
---Type <return> to continue, or q <return> to quit---
#23 0x36404 in DocViewMan::doSwitchToFile (this=0x2a0dd0, filename={
      static null = {
        static null = <same as static member of an already seen type>,
        d = 0x200bc8, static shared_null = 0x200bc8}, d = 0x497850,
      static shared_null = 0x200bc8}, line=-1, col=0,
bForceReload=false,
    bShowModifiedBox=true) at docviewman.cpp:153
#24 0x65a9c in CKDevelop::switchToFile (this=0x28b7f0, filename={
      static null = {
        static null = <same as static member of an already seen type>,
        d = 0x200bc8, static shared_null = 0x200bc8}, d = 0x497850,
      static shared_null = 0x200bc8}, line=-1, col=0,
bForceReload=false,
    bShowModifiedBox=true) at ckdevelop_noslot.cpp:616
#25 0x570cc in CKDevelop::slotRealFileTreeSelected (this=0x28b7f0,
file={
      static null = {
        static null = <same as static member of an already seen type>,
        d = 0x200bc8, static shared_null = 0x200bc8}, d = 0x497810,
      static shared_null = 0x200bc8}) at ckdevelop.cpp:3612
#26 0xee1e92dc in QObject::activate_signal_string ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#27 0xc55bc in CRealFileView::fileSelected (this=0x2fd360, t0={static
null = {
        static null = <same as static member of an already seen type>,
        d = 0x200bc8, static shared_null = 0x200bc8}, d = 0x497810,
      static shared_null = 0x200bc8}) at crealfileview.moc:264
---Type <return> to continue, or q <return> to quit---
#28 0xc23a8 in CRealFileView::slotSelectionChanged (this=0x2fd360,
    selection=0xbc0788) at crealfileview.cpp:424
#29 0xeeb59f64 in KListView::executed ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#30 0xeeb54324 in KListView::emitExecute ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#31 0xeeb54cc4 in KListView::slotMouseButtonClicked ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#32 0xee316978 in QListView::mouseButtonClicked ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#33 0xee286070 in QListView::contentsMouseReleaseEvent ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#34 0xeeb54bb8 in KListView::contentsMouseReleaseEvent ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdeui.so.3
#35 0xee2c6104 in QScrollView::viewportMouseReleaseEvent ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#36 0xee2c5960 in QScrollView::eventFilter ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#37 0xee28500c in QListView::eventFilter ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#38 0xee1e6840 in QObject::activate_filters ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#39 0xee233c54 in QWidget::event ()
---Type <return> to continue, or q <return> to quit---
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#40 0xee193d1c in QApplication::notify ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#41 0xee97d74c in KApplication::notify ()
   from /share/gnu/sun4_solaris/kde2/lib/libkdecore.so.3
#42 0xee16166c in QETWidget::translateMouseEvent ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#43 0xee15e6fc in QApplication::x11ProcessEvent ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#44 0xee15d2fc in QApplication::processNextEvent ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#45 0xee195e3c in QApplication::enter_loop ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#46 0xee15d270 in QApplication::exec ()
   from /share/gnu/sun4_solaris/qt-2.3.0/lib/libqt.so.2
#47 0xaa698 in main (argc=2, argv=0xefffe99c) at main.cpp:211


=====
--
Roland Krause
In the garage of life there are mechanics and 
there are drivers. Mechanics wanted!

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-
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