After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 139249 - Crash upon usage of the new GtkFileChooser
Crash upon usage of the new GtkFileChooser
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
unspecified
Other All
: High critical
: ---
Assigned To: gtk-bugs
EOG Maintainers
: 146438 147071 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-04-06 13:35 UTC by Torbjørn Hårstad Orskaug
Modified: 2011-02-04 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Torbjørn Hårstad Orskaug 2004-04-06 13:35:53 UTC
Description of the crash:
If I press one of the buttons on top (the parent
directories of my current position in the
directory tree) of the new GtkFileChooser in EOG,
the application crashes. This does not happen in
other applications that utilize the new
GtkFileChooser widget. 

Steps to reproduce the crash:
1. Choose "Open"
2. Press one of the buttons on top of the
GtkFileChooser widget
3. Crash

Additional Information: 
The application dumped the following information
to my terminal:

> eog
 
(eog:86858): Gtk-CRITICAL **: file
gtkfilesystem.c: line 398
(gtk_file_system_volume_get_base_path): assertion
`volume != NULL' failed
 
(eog:86858): Gtk-CRITICAL **: file
gtkfilesystem.c: line 675
(gtk_file_system_path_is_local): assertion `path
!= NULL' failed
 
(eog:86858): Gtk-CRITICAL **: file
gtkfilesystem.c: line 461
(gtk_file_system_volume_get_display_name):
assertion `volume != NULL' failed
 
(eog:86858): Gtk-CRITICAL **: file
gtkfilesystem.c: line 488
(gtk_file_system_volume_render_icon): assertion
`volume != NULL' failed
 
(eog:86858): Gtk-CRITICAL **: file
gtkfilesystem.c: line 398
(gtk_file_system_volume_get_base_path): assertion
`volume != NULL' failed
 
(gnome_segv:86859): Gtk-WARNING **: Ignoring the
separator setting
Comment 1 Kjartan Maraas 2004-04-15 19:39:35 UTC
Could you run eog in gdb and type 'bt' after the crash? Then paste the
stacktrace here?
Comment 2 Torbjørn Hårstad Orskaug 2004-04-15 23:18:37 UTC
Sure, 

Program received signal SIGSEGV, Segmentation fault.
0x29050586 in strcmp () from /usr/lib/libc_r.so.4
(gdb) bt
  • #0 strcmp
    from /usr/lib/libc_r.so.4
  • #1 shortcuts_model_filter_get_type
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #2 shortcuts_model_filter_get_type
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #3 shortcuts_model_filter_get_type
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #4 shortcuts_model_filter_get_type
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #5 gtk_file_chooser_get_current_folder_uri
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #6 shortcuts_model_filter_get_type
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #7 shortcuts_model_filter_get_type
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #8 gtk_marshal_VOID__UINT_STRING
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #9 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.400
  • #10 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.400
  • #11 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.400
  • #12 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.400
  • #13 gtk_tree_view_row_activated
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #14 gtk_tree_view_get_type
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #15 gtk_marshal_VOID__UINT_STRING
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #16 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.400
  • #17 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.400
  • #18 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.400
  • #19 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.400
  • #20 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.400
  • #21 gtk_widget_send_expose
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #22 gtk_widget_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #23 gtk_propagate_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #24 gtk_main_do_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #25 gdk_x11_register_standard_event_type
    from /usr/X11R6/lib/libgdk-x11-2.0.so.400
  • #26 g_main_dispatch
    from /usr/local/lib/libglib-2.0.so.400
  • #27 g_main_context_dispatch
    from /usr/local/lib/libglib-2.0.so.400
  • #28 g_main_context_iterate
    from /usr/local/lib/libglib-2.0.so.400
  • #29 g_main_loop_run
    from /usr/local/lib/libglib-2.0.so.400
  • #30 gtk_dialog_run
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #31 ??
  • #32 marshal_VOID__USER_DATA_STRING
    from /usr/X11R6/lib/libbonoboui-2.so.0
  • #33 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.400
  • #34 bonobo_closure_invoke_va_list
    from /usr/local/lib/libbonobo-2.so.0
  • #35 bonobo_closure_invoke
    from /usr/local/lib/libbonobo-2.so.0
  • #36 impl_Bonobo_UIComponent_execVerb
    from /usr/X11R6/lib/libbonoboui-2.so.0
  • #37 _ORBIT_skel_small_Bonobo_UIComponent_execVerb
    from /usr/local/lib/libbonobo-2.so.0
  • #38 ORBit_c_stub_invoke
    from /usr/local/lib/libORBit-2.so.0
  • #39 Bonobo_UIComponent_execVerb
    from /usr/local/lib/libbonobo-2.so.0
  • #40 real_exec_verb
    from /usr/X11R6/lib/libbonoboui-2.so.0
  • #41 impl_emit_verb_on
    from /usr/X11R6/lib/libbonoboui-2.so.0
  • #42 g_cclosure_marshal_VOID__POINTER
    from /usr/local/lib/libgobject-2.0.so.400
  • #43 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.400
  • #44 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.400
  • #45 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.400
  • #46 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.400
  • #47 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.400
  • #48 bonobo_ui_engine_emit_verb_on_w
    from /usr/X11R6/lib/libbonoboui-2.so.0
  • #49 exec_verb_cb
    from /usr/X11R6/lib/libbonoboui-2.so.0
  • #50 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.400
  • #51 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.400
  • #52 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.400
  • #53 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.400
  • #54 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.400
  • #55 bonobo_ui_toolbar_item_activate
    from /usr/X11R6/lib/libbonoboui-2.so.0
  • #56 button_widget_clicked_cb
    from /usr/X11R6/lib/libbonoboui-2.so.0
  • #57 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.400
  • #58 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.400
  • #59 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.400
  • #60 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.400
  • #61 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.400
  • #62 gtk_button_clicked
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #63 gtk_button_get_relief
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #64 g_cclosure_marshal_VOID__VOID
    from /usr/local/lib/libgobject-2.0.so.400
  • #65 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.400
  • #66 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.400
  • #67 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.400
  • #68 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.400
  • #69 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.400
  • #70 gtk_button_released
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #71 gtk_button_get_relief
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #72 gtk_marshal_VOID__UINT_STRING
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #73 g_type_class_meta_marshal
    from /usr/local/lib/libgobject-2.0.so.400
  • #74 g_closure_invoke
    from /usr/local/lib/libgobject-2.0.so.400
  • #75 signal_emit_unlocked_R
    from /usr/local/lib/libgobject-2.0.so.400
  • #76 g_signal_emit_valist
    from /usr/local/lib/libgobject-2.0.so.400
  • #77 g_signal_emit
    from /usr/local/lib/libgobject-2.0.so.400
  • #78 gtk_widget_send_expose
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #79 gtk_widget_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #80 gtk_propagate_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #81 gtk_main_do_event
    from /usr/X11R6/lib/libgtk-x11-2.0.so.400
  • #82 gdk_x11_register_standard_event_type
    from /usr/X11R6/lib/libgdk-x11-2.0.so.400
  • #83 g_main_dispatch
    from /usr/local/lib/libglib-2.0.so.400
  • #84 g_main_context_dispatch
    from /usr/local/lib/libglib-2.0.so.400
  • #85 g_main_context_iterate
    from /usr/local/lib/libglib-2.0.so.400
  • #86 g_main_loop_run
    from /usr/local/lib/libglib-2.0.so.400
  • #87 bonobo_main
    from /usr/local/lib/libbonobo-2.so.0
  • #88 ??
  • #89 ??

Comment 3 Elijah Newren 2004-07-09 16:30:30 UTC
*** Bug 147071 has been marked as a duplicate of this bug. ***
Comment 4 Elijah Newren 2004-07-09 16:30:42 UTC
*** Bug 146438 has been marked as a duplicate of this bug. ***
Comment 5 Elijah Newren 2004-07-09 16:33:24 UTC
Dups were in rhythmbox and gedit.  Reassigning...

(Although bug 140926 makes me think that perhaps this is just a common misuse of
GtkFileChooser that causes a crash?)
Comment 6 Federico Mena Quintero 2004-10-25 18:11:43 UTC
I think this is a duplicate of some other bug that was already fixed, but I
can't remember its number.  Please re-open if the problem persists after
upgrading your gtk+ and libgnomeui.