I'm running geany 0.20 "disra" on Kubuntu 10.04. I installed geany using apt-get.
geany crashed while inactive (i.e I was typing in an xterm at the time) with the message
Gtk:ERROR:/build/buildd/gtk+2.0-2.20.1/gtk/gtkfilesystemmodel.c:746:gtk_file_system_model_sort: assertion failed: (r == n_visible_rows)
I was editing a Makefile, and the crash happened when I ran make on the makefile. Whether that's a coincidence or not, I don't know.
I looked at the resulting core in gdb, but it wasn't particularly helpful. Here's the backtrace:
#0 0x4001d422 in __kernel_vsyscall ()
#1 0x409c0651 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0x409c3a82 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0x407d9df3 in g_assertion_message () from /lib/libglib-2.0.so.0
#4 0x407da44d in g_assertion_message_expr () from /lib/libglib-2.0.so.0
#5 0x40123adf in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#6 0x40124f3e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#7 0x40125050 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8 0x406d4749 in g_simple_async_result_complete ()
from /usr/lib/libgio-2.0.so.0
#9 0x406d4a5e in ?? () from /usr/lib/libgio-2.0.so.0
#10 0x407b0661 in ?? () from /lib/libglib-2.0.so.0
#11 0x407b25e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0x407b62d8 in ?? () from /lib/libglib-2.0.so.0
#13 0x407b6817 in g_main_loop_run () from /lib/libglib-2.0.so.0
#14 0x4016e3c9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x080c0789 in main (argc=2, argv=0xbfa16af4) at main.c:1138
I'd seen a similar assertion failure on my Fedora machine, but I didn't capture anything that might be useful in debugging that time. If there's anything else I should provide, let me know, and I'll try to help.
This artifact has been marked as a duplicate of artifact 2985896 with reason:
Duplicate. Please see bug report #2985896 and also the link to the GTK bug report mentioned in the report.
this is probably not the gtk bug in 2985896 as it has happened with gtk 2.22 (including the fix): https://bugs.launchpad.net/ubuntu/+source/geany/+bug/754577
this report looks more like this gtk bug:
https://bugzilla.redhat.com/show_bug.cgi?id=603781
apparently a fix was commited in 2.24 and 3.0 on the 2011-03-28:
http://git.gnome.org/browse/gtk+/commit/?h=gtk-2-24&id=c9c23b0728552f9b7a640839100a82ae6d9ac81b
http://mail.gnome.org/archives/gtk-devel-list/2011-March/msg00106.html
This problem is long lasting.
Here is how to reproduce :
- Open some files from a directory <D> in geany.
- Use vim in the same directory <D> to modify a file that is NOT open in geany.
- observe geany crashing with the message (in the terminal) "Gtk:ERROR:gtkfilesystemmodel.c:746:gtk_file_system_model_sort: assertion failed: (r == n_visible_rows)"
- If geany not crashing, do it again, but it should happen quite often.
On my up to date archlinux machine : gtk 2.24.4, geany 0.20
Should be fixed in SVN by r5837. Actually it should still be possible to reproduce the crash (it's a GTK bug), but only when a file chooser is shown.
Can you confirm you don't get the bug anymore?
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).