GNOME Bugzilla – Bug 410565
gnome-terminal crashes editing current profile
Last modified: 2007-12-24 22:02:28 UTC
This bug affects gnome-terminal 2.16.x as well, but since G_DEBUG is not set to fatal_criticals in GNOME 2.16, the crash is not seen. The error on the console that is seen when trying to edit the current profile is: (gnome-terminal:54546): Gtk-CRITICAL **: gtk_tree_model_get_iter: assertion `path != NULL' failed (gnome-terminal:54546): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `VALID_ITER (iter, list_store)' failed (gnome-terminal:54546): Gtk-CRITICAL **: gtk_tree_model_get_iter: assertion `path != NULL' failed (gnome-terminal:54546): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `VALID_ITER (iter, list_store)' failed The stack trace seen is:
+ Trace 112708
Created attachment 83080 [details] [review] Guard against an invalid path reference Appears to a small oversight as the returns from all the other gtk_tree_row_reference_get_path() are properly checked.
I tested this patch under GNOME 2.16, and the errors have gone away. Gnome-terminal should no longer crash under GNOME 2.17. Thanks!
*** Bug 412806 has been marked as a duplicate of this bug. ***
*** Bug 417294 has been marked as a duplicate of this bug. ***
2007-03-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb): Handle the row reference path being NULL. (#410565, Joe Markus Clarke, patch by Chris Wilson)
*** Bug 383516 has been marked as a duplicate of this bug. ***