All,
1) Steps to reproduce: Start a long compile (This keeps the compile window busy) (Long = 10+ seconds to complete)
2) Open the "Open File" dialog 3 times. On the 3rd time geany will crash. I do it by pressing CTRL+O
Attached is some potentially interesting valgrind. I tried suppressing writing to the compile window but that didn't fix the problem. I need a suggestion as to where else to look.
Cheers,
- Bob
On 29/11/06 17:02:07, Bob Doan wrote:
All,
- Steps to reproduce: Start a long compile (This keeps the compile
window busy) (Long = 10+ seconds to complete)
- Open the "Open File" dialog 3 times. On the 3rd time geany will
crash. I do it by pressing CTRL+O
Attached is some potentially interesting valgrind. I tried suppressing writing to the compile window but that didn't fix the problem. I need a suggestion as to where else to look.
I couldn't reproduce this. What SVN revision and GTK+ are you using? The problem may not occur with my config - could you send your ~/.geany/geany.conf? Also do you have a gdb backtrace for the crash?
Regards, Nick
Hi,
GTK 2.10 (FC6)
Latest SVN
#0 0x07768cd9 in gtk_file_info_get_is_folder () from /usr/lib/libgtk-x11-2.0.so.0 (gdb) bt #0 0x07768cd9 in gtk_file_info_get_is_folder () from /usr/lib/libgtk-x11-2.0.so.0 #1 0x07750891 in gtk_file_chooser_button_new () from /usr/lib/libgtk-x11-2.0.so.0 #2 0x078977dd in gtk_tree_model_filter_convert_child_iter_to_iter () from /usr/lib/libgtk-x11-2.0.so.0 #3 0x078994a1 in gtk_tree_model_sort_convert_iter_to_child_iter () from /usr/lib/libgtk-x11-2.0.so.0 #4 0x077b785d in gtk_marshal_BOOLEAN__VOID () from /usr/lib/libgtk-x11-2.0.so.0 #5 0x02ff5f0b in g_closure_invoke () from /lib/libgobject-2.0.so.0 #6 0x03006e83 in g_signal_override_class_closure () from /lib/libgobject-2.0.so.0 #7 0x0300837f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0 #8 0x03008539 in g_signal_emit () from /lib/libgobject-2.0.so.0 #9 0x07890369 in gtk_tree_model_row_inserted () from /usr/lib/libgtk-x11-2.0.so.0 #10 0x0776c082 in gtk_file_info_render_icon () from /usr/lib/libgtk-x11-2.0.so.0 #11 0x03002819 in g_cclosure_marshal_VOID__POINTER () from /lib/libgobject-2.0.so.0 #12 0x02ff5f0b in g_closure_invoke () from /lib/libgobject-2.0.so.0 #13 0x03006e83 in g_signal_override_class_closure () from /lib/libgobject-2.0.so.0 #14 0x0300837f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0 #15 0x03009dbe in g_signal_emit_by_name () from /lib/libgobject-2.0.so.0 #16 0x0011ceab in fs_module_create () from /usr/lib/gtk-2.0/2.10.0/filesystems/libgnome-vfs.so #17 0x0078750b in gnome_vfs_stat_to_file_info () from /usr/lib/libgnomevfs-2.so.0 #18 0x02ef45e1 in g_source_is_destroyed () from /lib/libglib-2.0.so.0 #19 0x02ef6342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #20 0x02ef931f in g_main_context_check () from /lib/libglib-2.0.so.0 #21 0x02ef96c9 in g_main_loop_run () from /lib/libglib-2.0.so.0 #22 0x077b3be4 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #23 0x0805751b in main (argc=2, argv=0xbffcf794) at main.c:644
I'm going investigate a little harder also, as the traces don't really make sense
On Thu, 2006-11-30 at 12:36 +0000, Nick Treleaven wrote:
On 29/11/06 17:02:07, Bob Doan wrote:
All,
- Steps to reproduce: Start a long compile (This keeps the compile
window busy) (Long = 10+ seconds to complete)
- Open the "Open File" dialog 3 times. On the 3rd time geany will
crash. I do it by pressing CTRL+O
Attached is some potentially interesting valgrind. I tried suppressing writing to the compile window but that didn't fix the problem. I need a suggestion as to where else to look.
I couldn't reproduce this. What SVN revision and GTK+ are you using? The problem may not occur with my config - could you send your ~/.geany/geany.conf? Also do you have a gdb backtrace for the crash?
Regards, Nick _______________________________________________ Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
On Thu, 30 Nov 2006 08:27:10 -0500, Bob Doan bdoan@sicom.com wrote:
Hi,
GTK 2.10 (FC6)
Latest SVN
#0 0x07768cd9 in gtk_file_info_get_is_folder () from /usr/lib/libgtk-x11-2.0.so.0 (gdb) bt
I don't think the crash is related to the long compilation process, at least I don't see any connection.
More interesting would be the file that is open when you are reproducing the crash. The above part of your backtrace let me guess that perhaps there is a problem in GTK or Geany with the path of this file. Geany sets the path of the file open dialog to the path of the current open file. Maybe there is somewhere the problem.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
I can't reproduce the problem on an older versions of GTK (FC5).
The problem only happens when glib is busy w/ g_spawn_async_with_pipes.
I need to investigate it further, but gtk2 symbols aren't being agreeable right now on my FC6 setup.
Cheers,
- Bob
On Fri, 2006-12-01 at 19:11 +0100, Enrico Tröger wrote:
On Thu, 30 Nov 2006 08:27:10 -0500, Bob Doan bdoan@sicom.com wrote:
Hi,
GTK 2.10 (FC6)
Latest SVN
#0 0x07768cd9 in gtk_file_info_get_is_folder () from /usr/lib/libgtk-x11-2.0.so.0 (gdb) bt
I don't think the crash is related to the long compilation process, at least I don't see any connection.
More interesting would be the file that is open when you are reproducing the crash. The above part of your backtrace let me guess that perhaps there is a problem in GTK or Geany with the path of this file. Geany sets the path of the file open dialog to the path of the current open file. Maybe there is somewhere the problem.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key _______________________________________________ Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
Hi,
Just to follow up on this it looks like a GTK bug in FC6
I built the latest glib,pango and gtk and it now doesn't crash.
When I just built glib it gave me a nice warning about doing a g_thread_init to late.
Cheers,
- Bob
On Fri, 2006-12-01 at 19:11 +0100, Enrico Tröger wrote:
On Thu, 30 Nov 2006 08:27:10 -0500, Bob Doan bdoan@sicom.com wrote:
Hi,
GTK 2.10 (FC6)
Latest SVN
#0 0x07768cd9 in gtk_file_info_get_is_folder () from /usr/lib/libgtk-x11-2.0.so.0 (gdb) bt
I don't think the crash is related to the long compilation process, at least I don't see any connection.
More interesting would be the file that is open when you are reproducing the crash. The above part of your backtrace let me guess that perhaps there is a problem in GTK or Geany with the path of this file. Geany sets the path of the file open dialog to the path of the current open file. Maybe there is somewhere the problem.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key _______________________________________________ Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany