kdevelop exitting on its own
René J.V. Bertin
rjvbertin at gmail.com
Tue Oct 21 21:17:34 BST 2014
On Monday October 20 2014 13:59:25 Milian Wolff wrote:
> OK, odd. Then set a breakpoint in exit() or QApplication::quit or similar and
> figure out where its being called from.
That had been my 1st thought too, but it turns out to be not so simple:
<snip>
file:///Volumes/Debian/MP6/share/apps/kdevelop/assistantpopup.qml:38:5: QML Flow: Cannot specify anchors for items inside Flow
Thread::requestAbort: not running.
Thread::requestAbort: not running.
kdevelop(74657)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x1208e88a0 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
kdevelop(74657)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x12093f5b0 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
kdevelop(74657)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x120951b70 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
Breakpoint 3, QApplication::~QApplication (this=0x7fff5fbfe6b0) at kernel/qapplication.cpp:1098
1098 QApplication::~QApplication()
(gdb) bt
#0 QApplication::~QApplication (this=0x7fff5fbfe6b0) at kernel/qapplication.cpp:1098
#1 0x0000000100012139 in main (argc=1606411824, argv=<value temporarily unavailable, due to optimizations>) at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdevelop-git/kdevelop-git/work/kdevelop-git-4.7.0/app/main.cpp:74
(gdb) c
Continuing.
Breakpoint 1, 0x00007fff85f0b283 in exit ()
(gdb) info b
Num Type Disp Enb Address What
1 breakpoint keep y 0x00007fff85f0b283 <exit+9>
breakpoint already hit 1 time
2 breakpoint keep y 0x0000000102156804 in QApplication::~QApplication() at kernel/qapplication.cpp:1222
3 breakpoint keep y 0x0000000102156114 in QApplication::~QApplication() at kernel/qapplication.cpp:1098
breakpoint already hit 1 time
4 breakpoint keep y 0x0000000102155a04 in QApplication::~QApplication() at kernel/qapplication.cpp:1098
5 breakpoint keep y 0x00000001013951c5 in Sublime::MainWindow::~MainWindow() at /Volumes/Debian/MP6/var/macports/build/_Volumes_Debian_MP6_site-ports_kde_kdevplatform-git/kdevplatform-git/work/kdevplatform-git-1.7.0/sublime/mainwindow.cpp:75
(gdb) c
Continuing.
register count: 0, destroy count 0:
Program exited normally.
How can I set a breakpoint in the Quit menu callback?
R.
More information about the KDevelop
mailing list