3.5.0-49-generic GNU/Linux Distributor ID: Ubuntu Release: 12.04 Codename: precise geany: Installed: 0.21.dfsg-1ubuntu4 Candidate: 0.21.dfsg-1ubuntu4 Version table: *** 0.21.dfsg-1ubuntu4 0 500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages 100 /var/lib/dpkg/status
Compliled a simple program for testing the debugger.
int main(int argc, char **argv) { int i; for(i=0;i<10;i++) puts("Hello World!); return 0; }
(1)From the debugger console on the bottom of geany I set the target for the debugger to the sample program binary.
(2) I hit the start button to start debugging.
(3) After the debugger executes the program I hit stop.
Geany Crashes and takes the desktop environment down with it putting me back at the login screen.
(gdb) run -v Starting program: /usr/bin/geany -v [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff0177700 (LWP 9711)] [New Thread 0x7fffef745700 (LWP 9712)] [New Thread 0x7fffed887700 (LWP 9713)] [New Thread 0x7fffddc36700 (LWP 9717)] [New Thread 0x7fffdc9f5700 (LWP 9728)] (geany:9708): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed [Thread 0x7fffed887700 (LWP 9713) exited] Program received signal SIGINT, Interrupt. 0x00007ffff534c707 in kill () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x00007ffff534c707 in kill () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007fffdce13d91 in request_interrupt () from /usr/lib/x86_64-linux-gnu/geany/debugger.so #2 0x00007ffff6409eca in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #3 0x00007ffff6422711 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #4 0x00007ffff6423212 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #5 0x00007ffff782e8e5 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #6 0x00007ffff6409ca2 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #7 0x00007ffff641b179 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #8 0x00007ffff6423069 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #9 0x00007ffff6423212 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #10 0x00007ffff782d70d in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #11 0x00007ffff78d6e78 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #12 0x00007ffff6409ca2 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #13 0x00007ffff641b339 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #14 0x00007ffff6422d4e in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #15 0x00007ffff6423212 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #16 0x00007ffff79f1231 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #17 0x00007ffff78d5003 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #18 0x00007ffff78d5363 in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #19 0x00007ffff7549cac in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 #20 0x00007ffff614cd13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007ffff614d060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #22 0x00007ffff614d45a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #23 0x00007ffff78d4397 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #24 0x000000000041ba22 in ?? () #25 0x00007ffff533776d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6 #26 0x000000000041cfc1 in ?? () #27 0x00007fffffffe2a8 in ?? () #28 0x000000000000001c in ?? () #29 0x0000000000000002 in ?? () #30 0x00007fffffffe563 in ?? () #31 0x0000000000000000 in ?? ()
The debugger is a plugin, plugins have their own bug list here: https://sourceforge.net/p/geany-plugins/bugs/
Also 0.21 is several versions old, you could try an newer version. I believe there is a PPA for Ubuntu with the latest release.
The fact that the whole desktop crashes suggests its actually a problem in the modifications Ubuntu made to the graphics stack to support Unity, its a well known problem that the menu stealing has bugs.
Ticket moved from /p/geany/bugs/1046/
Can't be converted:
As @elextr mentioned, version 0.21 is quite old, please try with a newer version. Also some crasher bugs were fixed or in the way to be fixed in the current development version, so you might want to try that.