Hello,
I'm using Ubuntu 14.04 GNOME with systemd. When I check "debugger" in plugin manager,the whole application crashes.
geany 1.24.1 (Built on May 20 2014,GTK 2.24.23, GLib 2.40.0)
geany-debbuger 1.24+dfsg-2~hyper1+trusty1 from ppa
When I using geany -v in gdb,I got information as follows:
......
Geany-INFO: Added 40 plugin(s) in '/usr/lib/i386-linux-gnu/geany'.
[New Thread 0xb1cc8b40 (LWP 6253)]
(I checked "debugger" plugin)
Attempt to unlock mutex that was not locked
Abandoned
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb1cc8b40 (LWP 6253)]
0xb7fdd424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb7320577 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#2 0xb73239a3 in __GI_abort () at abort.c:89
#3 0xb76212ff in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4 0xb7697643 in g_cond_wait_until ()
from /lib/i386-linux-gnu/libglib-2.0.so.0
#5 0xb7623113 in g_cond_timed_wait ()
from /lib/i386-linux-gnu/libglib-2.0.so.0
#6 0xb3ba497e in ?? () from /usr/lib/i386-linux-gnu/geany/debugger.so
#7 0xb767881a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8 0xb7622e9d in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9 0xb74a8f70 in start_thread (arg=0xb1cc8b40) at pthread_create.c:312
#10 0xb73de4ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
(gdb) info f
Stack level 0, frame at 0xb14e3f54:
eip = 0xb7fdd424 in __kernel_vsyscall; saved eip = 0xb7320577
called by frame at 0xb14e3f60
Arglist at 0xb14e3f4c, args:
Locals at 0xb14e3f4c, Previous frame's sp is 0xb14e3f54
Saved registers:
ebp at 0xb14e3f44, eip at 0xb14e3f50
I hope that can be helpful for this bug.
I submitted a fix for this, see https://github.com/geany/geany-plugins/pull/156
Diff:
Fix has been merged https://github.com/geany/geany-plugins/commit/1494b468d1f4a536254cb9c66b12bddd17bcfc9b