Hi, Geany has regularly been crashing/hanging on a white page for me on Lubuntu 14.04.1 x64. I'm using i3WM if that matters, on an Intel Thinkpad X61s. I don't have a lot of software installed.
It works for a few hours just fine, but invariably crashes. It usually crashes while it is in the background, not while I am actively using it. It seems to only happen on Lubuntu, not Ubuntu itself. It's happened around 15-20 times now for me. Oddly, it used to simply crash (I would switch to Geany's workspace and find nothing there); now it hangs with an all white screen and can't be brought to life.
This happens in the Geany included in lubuntu repositories (1.23.1 I think), as well as the 1.24.1 included in Geany's repository.
I've been editing PHP files.
I love Geany, it's head and shoulders my favorite Linux editor, but this has made it almost unusable.
Thank you,
Sasha Shepherd
geany 1.24.1 (built on 2014-05-20 with GTK 2.24.23, GLib 2.40.0)
gdb backtrace:
#0 0x0000000000000271 in ?? ()
#1 0x00000000004b4029 in ScintillaGTK::FocusInThis(_GtkWidget*) ()
#2 0x00007ffff78cb815 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#3 0x00007ffff65b2332 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4 0x00007ffff65c3afb in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5 0x00007ffff65cb6f9 in g_signal_emit_valist ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ffff65cbce2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff79db724 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#8 0x00007ffff79e77f1 in gtk_widget_send_focus_change ()
from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#9 0x00007ffff79e7b23 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#10 0x00007ffff79f174a in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#11 0x00007ffff79f1947 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffff78cb815 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x00007ffff65b23b8 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff65c3afb in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff65cb6f9 in g_signal_emit_valist ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff65cbce2 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff79db724 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#18 0x00007ffff78ca57b in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007ffff75451ec in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#20 0x00007ffff60dee04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007ffff60df048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff60df30a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff78c9447 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#24 0x000000000044f816 in main ()
IIRC we had reports in the past that were due to bugs in i3. But it leading to a full crash is odd. Maybe you could try with another WM and see if the crash still occurs?
This suggests it's a problem with something specific to Lubuntu, either breaking or breaking Geany.
This is actually not so odd, if something weird leads to a crash it's likely to be memory corruption or similar, and in this case anything can happen (crash, hang, or even nothing at all).
Thanks for this. However, could you produce a new backtrace after installing the debugging symbols of the various libraries? (libgtk2.0-0-dbg, libglib2.0-0-dbg, and possibly others like Pango, Cairo or X11 -- and ideally Geany's, but I'm afraid they aren't available in the repositories)
Diff: