Summary: | Another crash on exiting kdevelop | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Jon Smirl <jonsmirl> |
Component: | CPP Debugger | Assignee: | KDevelop Developers <kdevelop-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | jens.dagerbo, opensource |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | KDE-Logfile |
Description
Jon Smirl
2004-01-03 23:03:01 UTC
Looking at the stack it appears that my app faulted but for some reason the debugger didn't catch it. My app is the one playing with VM86. Also looking at the stack, it appears KDevelop crashed while setting up the project settings dialog. It was apparently in the middle of doing that when it was told to exit and didn't handle that very well... I think the root problem is, why wouldn't the project settings dialog open? The bug is earlier, it has something to do with the debugger frames on the stack. This might be the same class of problem as the bug with the infinite recursive loop. *** Bug 72409 has been marked as a duplicate of this bug. *** Judging by this and bug #72409, this is probably an issue with the filecreate part. It looks like it gets stuck reading its settings. From Mathieu Jobin 2004-01-11 19:47 ------- kdevelop crash again,.. I was not able to open the project options dialog anymore. The project options opened few times, work fine. and then nada. It's a project from kdevelop 2. I don't know if I can resave my project file in a kdevelop 3 format ? well, I've close the project thinking I could reopen it to fix the problem, and it crash while closing the project. [New Thread 16384 (LWP 18330)] [New Thread 32769 (LWP 18374)] 0x41a966ba in waitpid () from /lib/i686/libpthread.so.0 #0 0x41a966ba in waitpid () from /lib/i686/libpthread.so.0 #1 0x40f3149d in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246 #2 0x41a955ce in __pthread_sighandler () from /lib/i686/libpthread.so.0 #3 0x41c023b8 in __libc_sigaction () from /lib/i686/libc.so.6 #4 0x423c49c2 in FCConfigWidget (this=0x998a470, part=0x8ac4b88, global=false, parent=0x9777960, name=0x423d5435 "filecreate config widget") at fcconfigwidget.cpp:62 #5 0x423baa53 in FileCreatePart::projectConfigWidget(KDialogBase*) ( this=0x8ac4b88, dlg=0xbfffce00) at filecreate_part.cpp:105 #6 0x423bdc39 in FileCreatePart::qt_invoke(int, QUObject*) (this=0x8ac4b88, _id=9, _o=0xbfffcd20) at filecreate_part.moc:115 #7 0x4138a0d4 in QObject::activate_signal(QConnectionList*, QUObject*) ( this=0x81807c0, clist=0x8383ca0, o=0xbfffcd20) at kernel/qobject.cpp:2357 #8 0x406d15a9 in KDevCore::projectConfigWidget(KDialogBase*) (this=0x81807c0, t0=0xbfffce00) at kdevcore.moc:183 #9 0x0807f5b2 in Core::doEmitProjectConfigWidget(KDialogBase*) ( this=0x81807c0, base=0xbfffce00) at core.h:37 #10 0x0807b2ad in ProjectManager::slotProjectOptions() (this=0x81d7d10) at projectmanager.cpp:174 #11 0x0807e7d9 in ProjectManager::qt_invoke(int, QUObject*) (this=0x81d7d10, _id=6, _o=0xbfffcf70) at projectmanager.moc:118 #12 0x41389f87 in QObject::activate_signal(QConnectionList*, QUObject*) ( this=0x81a6510, clist=0x81a6328, o=0xbfffcf70) at kernel/qobject.cpp:2333 #13 0x41389e26 in QObject::activate_signal(int) (this=0x81a6510, signal=2) at kernel/qobject.cpp:2302 #14 0x40c3ffe6 in KAction::activated() (this=0x81a6510) at kaction.moc:157 #15 0x40c3f9c0 in KAction::slotActivated() (this=0x81a6510) at kaction.cpp:1054 #16 0x40c402ea in KAction::qt_invoke(int, QUObject*) (this=0x81a6510, _id=14, _o=0xbfffd080) at kaction.moc:181 #17 0x41389f87 in QObject::activate_signal(QConnectionList*, QUObject*) ( this=0x81b42b8, clist=0x81b40c0, o=0xbfffd080) at kernel/qobject.cpp:2333 #18 0x416f4602 in QSignal::signal(QVariant const&) (this=0x81b42b8, t0=@0x81b42e0) at .moc/debug-shared-mt/moc_qsignal.cpp:100 #19 0x413a70f9 in QSignal::activate() (this=0x81b42b8) at kernel/qsignal.cpp:204 #20 0x4149c210 in QPopupMenu::mouseReleaseEvent(QMouseEvent*) (this=0x81e32d8, e=0xbfffd480) at widgets/qpopupmenu.cpp:1678 #21 0x413c1321 in QWidget::event(QEvent*) (this=0x81e32d8, e=0xbfffd480) at kernel/qwidget.cpp:4426 #22 0x413274d5 in QApplication::internalNotify(QObject*, QEvent*) ( this=0xbffff6f0, receiver=0x81e32d8, e=0xbfffd480) at kernel/qapplication.cpp:2582 #23 0x41326c8b in QApplication::notify(QObject*, QEvent*) (this=0xbffff6f0, receiver=0x81e32d8, e=0xbfffd480) at kernel/qapplication.cpp:2368 #24 0x40ea87cd in KApplication::notify(QObject*, QEvent*) (this=0xbffff6f0, receiver=0x81e32d8, event=0xbfffd480) at kapplication.cpp:503 #25 0x412be5ab in QApplication::sendSpontaneousEvent(QObject*, QEvent*) ( receiver=0x81e32d8, event=0xbfffd480) at kernel/qapplication.h:495 #26 0x412b7b4a in QETWidget::translateMouseEvent(_XEvent const*) ( this=0x81e32d8, event=0xbfffd790) at kernel/qapplication_x11.cpp:4293 #27 0x412b5b0f in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffff6f0, event=0xbfffd790) at kernel/qapplication_x11.cpp:3529 #28 0x412cf516 in QEventLoop::processEvents(unsigned) (this=0x8147378, flags=0) at kernel/qeventloop_x11.cpp:192 #29 0x4133cfb0 in QEventLoop::processEvents(unsigned, int) (this=0x8147378, flags=0, maxTime=3000) at kernel/qeventloop.cpp:258 #30 0x41327592 in QApplication::processEvents(int) (this=0xbffff6f0, maxtime=3000) at kernel/qapplication.cpp:2640 #31 0x4132755d in QApplication::processEvents() (this=0xbffff6f0) at kernel/qapplication.cpp:2624 #32 0x423bb856 in FileCreatePart::readTypes(QDomDocument const&, QPtrList<FileCreate::FileType>&, bool) (this=0x8ac4b88, dom=@0xbfffda20, m_filetypes=@0x87a0a70, enable=false) at filecreate_part.cpp:217 #33 0x423c4f48 in FCConfigWidget::loadGlobalConfig(QListView*, bool) ( this=0x87a0990, view=0x8904f88, checkmarks=true) at fcconfigwidget.cpp:102 #34 0x423c4994 in FCConfigWidget (this=0x87a0990, part=0x8ac4b88, global=false, parent=0x884eca8, name=0x423d5435 "filecreate config widget") at fcconfigwidget.cpp:60 #35 0x423baa53 in FileCreatePart::projectConfigWidget(KDialogBase*) ( this=0x8ac4b88, dlg=0xbfffdcf0) at filecreate_part.cpp:105 #36 0x423bdc39 in FileCreatePart::qt_invoke(int, QUObject*) (this=0x8ac4b88, _id=9, _o=0xbfffdc10) at filecreate_part.moc:115 #37 0x4138a0d4 in QObject::activate_signal(QConnectionList*, QUObject*) ( this=0x81807c0, clist=0x8383ca0, o=0xbfffdc10) at kernel/qobject.cpp:2357 #38 0x406d15a9 in KDevCore::projectConfigWidget(KDialogBase*) (this=0x81807c0, t0=0xbfffdcf0) at kdevcore.moc:183 #39 0x0807f5b2 in Core::doEmitProjectConfigWidget(KDialogBase*) ( this=0x81807c0, base=0xbfffdcf0) at core.h:37 #40 0x0807b2ad in ProjectManager::slotProjectOptions() (this=0x81d7d10) at projectmanager.cpp:174 #41 0x0807e7d9 in ProjectManager::qt_invoke(int, QUObject*) (this=0x81d7d10, _id=6, _o=0xbfffde60) at projectmanager.moc:118 #42 0x41389f87 in QObject::activate_signal(QConnectionList*, QUObject*) ( this=0x81a6510, clist=0x81a6328, o=0xbfffde60) at kernel/qobject.cpp:2333 #43 0x41389e26 in QObject::activate_signal(int) (this=0x81a6510, signal=2) at kernel/qobject.cpp:2302 #44 0x40c3ffe6 in KAction::activated() (this=0x81a6510) at kaction.moc:157 #45 0x40c3f9c0 in KAction::slotActivated() (this=0x81a6510) at kaction.cpp:1054 #46 0x40c402ea in KAction::qt_invoke(int, QUObject*) (this=0x81a6510, _id=14, _o=0xbfffdf70) at kaction.moc:181 #47 0x41389f87 in QObject::activate_signal(QConnectionList*, QUObject*) ( this=0x81b42b8, clist=0x81b40c0, o=0xbfffdf70) at kernel/qobject.cpp:2333 #48 0x416f4602 in QSignal::signal(QVariant const&) (this=0x81b42b8, t0=@0x81b42e0) at .moc/debug-shared-mt/moc_qsignal.cpp:100 #49 0x413a70f9 in QSignal::activate() (this=0x81b42b8) at kernel/qsignal.cpp:204 #50 0x4149c210 in QPopupMenu::mouseReleaseEvent(QMouseEvent*) (this=0x81e32d8, e=0xbfffe370) at widgets/qpopupmenu.cpp:1678 #51 0x413c1321 in QWidget::event(QEvent*) (this=0x81e32d8, e=0xbfffe370) at kernel/qwidget.cpp:4426 #52 0x413274d5 in QApplication::internalNotify(QObject*, QEvent*) ( this=0xbffff6f0, receiver=0x81e32d8, e=0xbfffe370) at kernel/qapplication.cpp:2582 #53 0x41326c8b in QApplication::notify(QObject*, QEvent*) (this=0xbffff6f0, receiver=0x81e32d8, e=0xbfffe370) at kernel/qapplication.cpp:2368 #54 0x40ea87cd in KApplication::notify(QObject*, QEvent*) (this=0xbffff6f0, receiver=0x81e32d8, event=0xbfffe370) at kapplication.cpp:503 #55 0x412be5ab in QApplication::sendSpontaneousEvent(QObject*, QEvent*) ( receiver=0x81e32d8, event=0xbfffe370) at kernel/qapplication.h:495 #56 0x412b7b4a in QETWidget::translateMouseEvent(_XEvent const*) ( this=0x81e32d8, event=0xbfffe680) at kernel/qapplication_x11.cpp:4293 #57 0x412b5b0f in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffff6f0, event=0xbfffe680) at kernel/qapplication_x11.cpp:3529 #58 0x412cf516 in QEventLoop::processEvents(unsigned) (this=0x8147378, flags=0) at kernel/qeventloop_x11.cpp:192 #59 0x4133cfb0 in QEventLoop::processEvents(unsigned, int) (this=0x8147378, flags=0, maxTime=3000) at kernel/qeventloop.cpp:258 #60 0x41327592 in QApplication::processEvents(int) (this=0xbffff6f0, maxtime=3000) at kernel/qapplication.cpp:2640 #61 0x4132755d in QApplication::processEvents() (this=0xbffff6f0) at kernel/qapplication.cpp:2624 #62 0x423bb856 in FileCreatePart::readTypes(QDomDocument const&, QPtrList<FileCreate::FileType>&, bool) (this=0x8ac4b88, dom=@0xbfffe910, m_filetypes=@0x8947648, enable=false) at filecreate_part.cpp:217 #63 0x423c4f48 in FCConfigWidget::loadGlobalConfig(QListView*, bool) ( this=0x8947568, view=0x92198f8, checkmarks=true) at fcconfigwidget.cpp:102 #64 0x423c4994 in FCConfigWidget (this=0x8947568, part=0x8ac4b88, global=false, parent=0x88f63b8, name=0x423d5435 "filecreate config widget") at fcconfigwidget.cpp:60 #65 0x423baa53 in FileCreatePart::projectConfigWidget(KDialogBase*) ( this=0x8ac4b88, dlg=0xbfffebe0) at filecreate_part.cpp:105 #66 0x423bdc39 in FileCreatePart::qt_invoke(int, QUObject*) (this=0x8ac4b88, _id=9, _o=0xbfffeb00) at filecreate_part.moc:115 #67 0x4138a0d4 in QObject::activate_signal(QConnectionList*, QUObject*) ( this=0x81807c0, clist=0x8383ca0, o=0xbfffeb00) at kernel/qobject.cpp:2357 #68 0x406d15a9 in KDevCore::projectConfigWidget(KDialogBase*) (this=0x81807c0, t0=0xbfffebe0) at kdevcore.moc:183 #69 0x0807f5b2 in Core::doEmitProjectConfigWidget(KDialogBase*) ( this=0x81807c0, base=0xbfffebe0) at core.h:37 #70 0x0807b2ad in ProjectManager::slotProjectOptions() (this=0x81d7d10) at projectmanager.cpp:174 #71 0x0807e7d9 in ProjectManager::qt_invoke(int, QUObject*) (this=0x81d7d10, _id=6, _o=0xbfffed50) at projectmanager.moc:118 #72 0x41389f87 in QObject::activate_signal(QConnectionList*, QUObject*) ( this=0x81a6510, clist=0x81a6328, o=0xbfffed50) at kernel/qobject.cpp:2333 #73 0x41389e26 in QObject::activate_signal(int) (this=0x81a6510, signal=2) at kernel/qobject.cpp:2302 #74 0x40c3ffe6 in KAction::activated() (this=0x81a6510) at kaction.moc:157 #75 0x40c3f9c0 in KAction::slotActivated() (this=0x81a6510) at kaction.cpp:1054 #76 0x40c402ea in KAction::qt_invoke(int, QUObject*) (this=0x81a6510, _id=14, _o=0xbfffee60) at kaction.moc:181 #77 0x41389f87 in QObject::activate_signal(QConnectionList*, QUObject*) ( this=0x81b42b8, clist=0x81b40c0, o=0xbfffee60) at kernel/qobject.cpp:2333 #78 0x416f4602 in QSignal::signal(QVariant const&) (this=0x81b42b8, t0=@0x81b42e0) at .moc/debug-shared-mt/moc_qsignal.cpp:100 #79 0x413a70f9 in QSignal::activate() (this=0x81b42b8) at kernel/qsignal.cpp:204 #80 0x4149c210 in QPopupMenu::mouseReleaseEvent(QMouseEvent*) (this=0x81e32d8, e=0xbffff260) at widgets/qpopupmenu.cpp:1678 #81 0x413c1321 in QWidget::event(QEvent*) (this=0x81e32d8, e=0xbffff260) at kernel/qwidget.cpp:4426 #82 0x413274d5 in QApplication::internalNotify(QObject*, QEvent*) ( this=0xbffff6f0, receiver=0x81e32d8, e=0xbffff260) at kernel/qapplication.cpp:2582 #83 0x41326c8b in QApplication::notify(QObject*, QEvent*) (this=0xbffff6f0, receiver=0x81e32d8, e=0xbffff260) at kernel/qapplication.cpp:2368 #84 0x40ea87cd in KApplication::notify(QObject*, QEvent*) (this=0xbffff6f0, receiver=0x81e32d8, event=0xbffff260) at kapplication.cpp:503 #85 0x412be5ab in QApplication::sendSpontaneousEvent(QObject*, QEvent*) ( receiver=0x81e32d8, event=0xbffff260) at kernel/qapplication.h:495 #86 0x412b7b4a in QETWidget::translateMouseEvent(_XEvent const*) ( this=0x81e32d8, event=0xbffff570) at kernel/qapplication_x11.cpp:4293 #87 0x412b5b0f in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffff6f0, event=0xbffff570) at kernel/qapplication_x11.cpp:3529 #88 0x412cf516 in QEventLoop::processEvents(unsigned) (this=0x8147378, flags=4) at kernel/qeventloop_x11.cpp:192 #89 0x4133ce56 in QEventLoop::enterLoop() (this=0x8147378) at kernel/qeventloop.cpp:198 #90 0x4133cd72 in QEventLoop::exec() (this=0x8147378) at kernel/qeventloop.cpp:145 #91 0x41327659 in QApplication::exec() (this=0xbffff6f0) at kernel/qapplication.cpp:2705 #92 0x08066643 in main (argc=1, argv=0xbffff864) at main.cpp:128 #93 0x41bef7f7 in __libc_start_main () from /lib/i686/libc.so.6 actually, my backtrace did not append when I close kdevelop. it happen when i close the project (Project -> Close) and kdevelop crash. maybe its not the same bug and we should reopen bug #72409 ??? No, I'm pretty sure it's the same problem. I think I reproduced this. 1) I ran my app under the debugger 2) it exited by returning zero from main() 3) for some reason this did not cause gdb to close down. 4) I open Project/Project Options dialog 5) it doesn't appear 6) If I exit kdevelop at this point it will crash 7) instead i go to gdb tab 8) type exit into gdb 9) Project Option dialog pops up 10) I can exit kdevelop without a crash The debugger should be catching the: "Program exited normally." message from gdb and closing down. It should also catch errors from missing execuatables when the debugger is first started. "No such file or directory" and shut down too. This is caused by running the debugger and there are build errors and thus no executable. Hmm.. interesting. Perhaps this sould be changed to the debugger component then. Doing so. Created attachment 15057 [details]
KDE-Logfile
Given how much the codebase has changed in the almost 3 years since this bug was reported, and the bug never has been confirmed by anyone else, I think the reasonable thing is to close it. WORKSFORME. |