Weird crash on close

Andreas Pakulat apaku at gmx.de
Fri Nov 3 13:16:03 UTC 2006


Hi,

just closed kdevelop3.4 (latest svn, except Megans changes from last
night and the last debugger changes, IIRC) and it crashed on me with a
backtrace I've never seen before.

Maybe someone knows why this might happen, the function in
multibuffer.cpp looks like this here:

266: void MultiBuffer::focusInEvent( QFocusEvent *ev )
267: {
268:     KParts::Part *active = activeBuffer();
269:     if (active && active->widget())
270:        active->widget()->setFocus();
271:     QSplitter::focusInEvent(ev);
272: }

Backtrace is attached.

Andreas

-- 
You have literary talent that you should take pains to develop.
-------------- next part --------------
Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1242667328 (LWP 23187)]
[KCrash handler]
#5  0xb7efe5d3 in MultiBuffer::focusInEvent (this=0x8c4f6d8, ev=0xbffdc854)
    at /home/andreas/KDE-work/kdevelop/src/multibuffer.cpp:269
#6  0xb67629cf in QWidget::event (this=0x8c4f6d8, e=0xbffdc854)
    at kernel/qwidget.cpp:4785
#7  0xb686f23d in QSplitter::event (this=0x8c4f6d8, e=0xbffdc854)
    at widgets/qsplitter.cpp:550
#8  0xb66c3bd6 in QApplication::internalNotify (this=0xbffdded4, 
    receiver=0x8c4f6d8, e=0xbffdc854) at kernel/qapplication.cpp:2635
#9  0xb66c6586 in QApplication::notify (this=0xbffdded4, receiver=0x8c4f6d8, 
    e=0xbffdc854) at kernel/qapplication.cpp:2523
#10 0xb6e5ee0e in KApplication::notify (this=0xbffdded4, receiver=0x8c4f6d8, 
    event=0xbffdc854)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdecore/kapplication.cpp:550
#11 0xb7d098d1 in QApplication::sendEvent (receiver=0x8c4f6d8, 
    event=0xbffdc854) at /usr/share/qt3/include/qapplication.h:520
#12 0xb6766dbf in QWidget::setFocus (this=0x8c4f6d8)
    at kernel/qwidget.cpp:3333
#13 0xb7c6eefc in DTabWidget::setFocus (this=0x811da58, w=0x8c4f6d8)
    at /home/andreas/KDE-work/kdevelop/src/newui/dtabwidget.cpp:80
#14 0xb7c6f1bb in DTabWidget::qt_invoke (this=0x811da58, _id=64, 
    _o=0xbffdc918) at ./dtabwidget.moc:85
#15 0xb672bcb3 in QObject::activate_signal (this=0x811da58, clist=0x8117c18, 
    o=0xbffdc918) at kernel/qobject.cpp:2356
#16 0xb6ad6f75 in QTabWidget::currentChanged (this=0x811da58, t0=0x8c4f6d8)
    at .moc/debug-shared-mt/moc_qtabwidget.cpp:147
#17 0xb687b575 in QTabWidget::showTab (this=0x811da58, i=1)
    at widgets/qtabwidget.cpp:662
#18 0xb6ad6e38 in QTabWidget::qt_invoke (this=0x811da58, _id=49, 
    _o=0xbffdca88) at .moc/debug-shared-mt/moc_qtabwidget.cpp:162
#19 0xb70bed13 in KTabWidget::qt_invoke (this=0x811da58, _id=49, 
    _o=0xbffdca88) at ./ktabwidget.moc:388
#20 0xb7c6f1dd in DTabWidget::qt_invoke (this=0x811da58, _id=49, 
    _o=0xbffdca88) at ./dtabwidget.moc:87
#21 0xb672bcb3 in QObject::activate_signal (this=0x811f6c8, clist=0x811f528, 
    o=0xbffdca88) at kernel/qobject.cpp:2356
#22 0xb672c5ba in QObject::activate_signal (this=0x811f6c8, signal=2, param=1)
    at kernel/qobject.cpp:2449
#23 0xb6ad65b3 in QTabBar::selected (this=0x811f6c8, t0=1)
    at .moc/debug-shared-mt/moc_qtabbar.cpp:121
#24 0xb7060d8f in KTabBar::setTabEnabled (this=0x811f6c8, id=2, enabled=false)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdeui/ktabbar.cpp:80
#25 0xb687bb5c in QTabWidget::removePage (this=0x811da58, w=0x8c3db60)
    at widgets/qtabwidget.cpp:527
#26 0xb70bef34 in KTabWidget::removePage (this=0x811da58, w=0x8c3db60)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdeui/ktabwidget.cpp:444
#27 0xb7c6055e in DMainWindow::removeWidget (this=0x80d9570, widget=0x8c3db60)
    at /home/andreas/KDE-work/kdevelop/src/newui/dmainwindow.cpp:125
#28 0xb7efb07e in SimpleMainWindow::removeView (this=0x80d9570, 
    view=0x8c3db60)
    at /home/andreas/KDE-work/kdevelop/src/simplemainwindow.cpp:205
#29 0xb7ee26b3 in PartController::closePart (this=0x8121738, part=0x80a2ee8)
    at /home/andreas/KDE-work/kdevelop/src/partcontroller.cpp:916
#30 0xb7ee1cec in PartController::closeFilesDialog (this=0x8121738, 
    ignoreList=@0xbffdcd9c)
    at /home/andreas/KDE-work/kdevelop/src/partcontroller.cpp:1204
#31 0xb7ee1e5a in PartController::closeAllFiles (this=0x8121738)
    at /home/andreas/KDE-work/kdevelop/src/partcontroller.cpp:1232
#32 0xb7ee165f in PartController::readyToClose (this=0x8121738)
    at /home/andreas/KDE-work/kdevelop/src/partcontroller.cpp:1286
#33 0xb7ec90ed in Core::queryClose (this=0x814bec0)
    at /home/andreas/KDE-work/kdevelop/src/core.cpp:84
#34 0xb7ef930b in SimpleMainWindow::queryClose (this=0x80d9570)
    at /home/andreas/KDE-work/kdevelop/src/simplemainwindow.cpp:548
#35 0xb711ec13 in KMainWindow::closeEvent (this=0x80d9570, e=0xbffdd238)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdeui/kmainwindow.cpp:640
#36 0xb6762ac8 in QWidget::event (this=0x80d9570, e=0xbffdd238)
    at kernel/qwidget.cpp:4818
#37 0xb6837814 in QMainWindow::event (this=0x80d9570, e=0xbffdd238)
    at widgets/qmainwindow.cpp:1687
#38 0xb66c3bd6 in QApplication::internalNotify (this=0xbffdded4, 
    receiver=0x80d9570, e=0xbffdd238) at kernel/qapplication.cpp:2635
#39 0xb66c6586 in QApplication::notify (this=0xbffdded4, receiver=0x80d9570, 
    e=0xbffdd238) at kernel/qapplication.cpp:2523
#40 0xb6e5ee0e in KApplication::notify (this=0xbffdded4, receiver=0x80d9570, 
    event=0xbffdd238)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdecore/kapplication.cpp:550
#41 0xb7d098d1 in QApplication::sendEvent (receiver=0x80d9570, 
    event=0xbffdd238) at /usr/share/qt3/include/qapplication.h:520
#42 0xb6765516 in QWidget::close (this=0x80d9570, alsoDelete=false)
    at kernel/qwidget.cpp:4288
#43 0xb6657144 in QWidget::close (this=0x80d9570)
    at .moc/debug-shared-mt/../../kernel/qwidget.h:848
#44 0xb6abb87c in QWidget::qt_invoke (this=0x80d9570, _id=33, _o=0xbffdd41c)
    at .moc/debug-shared-mt/moc_qwidget.cpp:385
#45 0xb6acdde2 in QMainWindow::qt_invoke (this=0x80d9570, _id=33, 
    _o=0xbffdd41c) at .moc/debug-shared-mt/moc_qmainwindow.cpp:228
#46 0xb715f493 in KMainWindow::qt_invoke (this=0x80d9570, _id=33, 
    _o=0xbffdd41c) at ./kmainwindow.moc:141
#47 0xb7649dc3 in KParts::MainWindow::qt_invoke (this=0x80d9570, _id=33, 
    _o=0xbffdd41c) at ./mainwindow.moc:98
#48 0xb7c60496 in DMainWindow::qt_invoke (this=0x80d9570, _id=33, 
    _o=0xbffdd41c) at ./dmainwindow.moc:135
#49 0xb7efbb15 in SimpleMainWindow::qt_invoke (this=0x80d9570, _id=33, 
    _o=0xbffdd41c) at ./simplemainwindow.moc:200
#50 0xb672bcb3 in QObject::activate_signal (this=0x814a5f0, clist=0x814a7c8, 
    o=0xbffdd41c) at kernel/qobject.cpp:2356
#51 0xb672c744 in QObject::activate_signal (this=0x814a5f0, signal=2)
    at kernel/qobject.cpp:2325
#52 0xb7037259 in KAction::activated (this=0x814a5f0) at ./kaction.moc:176
#53 0xb706c961 in KAction::slotActivated (this=0x814a5f0)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdeui/kaction.cpp:1102
#54 0xb714cebf in KAction::qt_invoke (this=0x814a5f0, _id=15, _o=0xbffdd52c)
    at ./kaction.moc:218
#55 0xb672bcb3 in QObject::activate_signal (this=0x8127338, clist=0x8815f48, 
    o=0xbffdd52c) at kernel/qobject.cpp:2356
#56 0xb672c744 in QObject::activate_signal (this=0x8127338, signal=2)
    at kernel/qobject.cpp:2325
#57 0xb6d749c9 in KAccelPrivate::menuItemActivated (this=0x8127338)
    at ./kaccelprivate.moc:110
#58 0xb6dc46b7 in KAccelPrivate::emitActivatedSignal (this=0x8127338, 
    pAction=0x8128fd0)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdecore/kaccel.cpp:403
#59 0xb6e4f4bc in KAccelPrivate::eventFilter (this=0x8127338, 
    pEvent=0xbffdd9fc)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdecore/kaccel.cpp:373
#60 0xb672b266 in QObject::activate_filters (this=0x80d9570, e=0xbffdd9fc)
    at kernel/qobject.cpp:903
#61 0xb672b2e4 in QObject::event (this=0x80d9570, e=0xbffdd9fc)
    at kernel/qobject.cpp:735
#62 0xb6762576 in QWidget::event (this=0x80d9570, e=0xbffdd9fc)
    at kernel/qwidget.cpp:4678
#63 0xb6837814 in QMainWindow::event (this=0x80d9570, e=0xbffdd9fc)
    at widgets/qmainwindow.cpp:1687
#64 0xb66c3bd6 in QApplication::internalNotify (this=0xbffdded4, 
    receiver=0x80d9570, e=0xbffdd9fc) at kernel/qapplication.cpp:2635
#65 0xb66c5b8a in QApplication::notify (this=0xbffdded4, receiver=0x84d70d8, 
    e=0xbffdd9fc) at kernel/qapplication.cpp:2392
#66 0xb6e5ee0e in KApplication::notify (this=0xbffdded4, receiver=0x84d70d8, 
    event=0xbffdd9fc)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdecore/kapplication.cpp:550
#67 0xb6dd0bc7 in KAccelEventHandler::x11Event (this=0x80ffb58, 
    pEvent=0xbffddd28) at /usr/share/qt3/include/qapplication.h:520
#68 0xb6e55c03 in KApplication::x11EventFilter (this=0xbffdded4, 
    _event=0xbffddd28)
    at /home/sid-user/kdelibs/kdelibs-3.5.5/./kdecore/kapplication.cpp:1651
#69 0xb6644133 in qt_x11EventFilter (ev=0xbffddd28)
    at kernel/qapplication_x11.cpp:387
#70 0xb665405b in QApplication::x11ProcessEvent (this=0xbffdded4, 
    event=0xbffddd28) at kernel/qapplication_x11.cpp:3343
#71 0xb666acb2 in QEventLoop::processEvents (this=0x8094ef0, flags=4)
    at kernel/qeventloop_x11.cpp:192
#72 0xb66de129 in QEventLoop::enterLoop (this=0x8094ef0)
    at kernel/qeventloop.cpp:198
#73 0xb66ddf4a in QEventLoop::exec (this=0x8094ef0)
    at kernel/qeventloop.cpp:145
#74 0xb66c576f in QApplication::exec (this=0xbffdded4)
    at kernel/qapplication.cpp:2758
#75 0x0804f173 in main (argc=1836017711, argv=0x6e612f65)
    at /home/andreas/KDE-work/kdevelop/src/main.cpp:145


More information about the KDevelop-devel mailing list