2011-06-03
steps to reproduce:
-------------------
geany &
open FileChooser (Ctrl+O)
vim report_joachim.sh, i *space* *backspace* *esc* :x
-> geany crashes

Gtk:ERROR:/build/buildd-gtk+2.0_2.24.4-3-i386-ouUeDk/gtk+2.0-2.24.4/gtk/gtkfilesystemmodel.c:746:gtk_file_system_model_sort: assertion failed: (r == n_visible_rows)

backtrace:
(gdb) bt
#0  0xb7fe2416 in __kernel_vsyscall ()
#1  0xb74e4751 in raise () from /lib/i686/cmov/libc.so.6
#2  0xb74e7b82 in abort () from /lib/i686/cmov/libc.so.6
#3  0xb77bdb79 in g_assertion_message () from /lib/libglib-2.0.so.0
#4  0xb77be1ad in g_assertion_message_expr () from /lib/libglib-2.0.so.0
#5  0xb7ce4eff in gtk_file_system_model_sort (model=<value optimized out>)
    at /build/buildd-gtk+2.0_2.24.4-3-i386-ouUeDk/gtk+2.0-2.24.4/gtk/gtkfilesystemmodel.c:727
#6  0xb7ce6d0e in _gtk_file_system_model_update_file (model=0x85e29c8, file=0x8633bc0, info=0x8633580, requires_resort=1)
    at /build/buildd-gtk+2.0_2.24.4-3-i386-ouUeDk/gtk+2.0-2.24.4/gtk/gtkfilesystemmodel.c:1786
#7  0xb7ce6e3a in gtk_file_system_model_query_done (object=0x8633bc0, res=0x8636e88, data=0x85e29c8)
    at /build/buildd-gtk+2.0_2.24.4-3-i386-ouUeDk/gtk+2.0-2.24.4/gtk/gtkfilesystemmodel.c:1154
#8  0xb78e8a09 in g_simple_async_result_complete () from /usr/lib/libgio-2.0.so.0
#9  0xb78e8a8e in ?? () from /usr/lib/libgio-2.0.so.0
#10 0xb7791a41 in ?? () from /lib/libglib-2.0.so.0
#11 0xb7796252 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0xb7796a30 in ?? () from /lib/libglib-2.0.so.0
#13 0xb77970f3 in g_main_loop_run () from /lib/libglib-2.0.so.0
#14 0xb7d2fbd9 in IA__gtk_main () at /build/buildd-gtk+2.0_2.24.4-3-i386-ouUeDk/gtk+2.0-2.24.4/gtk/gtkmain.c:1256
#15 0x080c2274 in main (argc=1, argv=0xbffff7e4) at main.c:1145

--
 geany is just an example; other gtk-apps crash as well

