GNOME Bugzilla – Bug 578869
glade-3 crashed with SIGSEGV in g_closure_invoke()
Last modified: 2009-04-18 18:59:09 UTC
this report has been filed here: https://bugs.edge.launchpad.net/ubuntu/+source/glade-3/+bug/358467 "To reproduce, just: - open glade-3 - create a Dialog Box - add a button - click the "..." near "Related action" - click "new"" ".
+ Trace 214433
Thread 1 (process 11554)
Created attachment 132778 [details] [review] Fixes crash The "new" item causes an object to be created and thus messes up selection, this patch fixes selection and the code that relies on the selected widget to not crash. ... Attaching a patch while I wait/assure Glade is migrated to Git first...
*** Bug 579339 has been marked as a duplicate of this bug. ***
glade3 crashes, when selecting a existing action from "Choose a Action in this project". Program terminated with signal 11, Segmentation fault.
+ Trace 214560
the attached patch with minor mod helps :), I have not seen anymore crashes. --- a/gladeui/glade-editor-property.c +++ b/gladeui/glade-editor-property.c @@ -2854,6 +2854,8 @@ glade_eprop_object_show_dialog (GtkWidget *dialog_button, if (selected) { + glade_project_selection_set (project, eprop->property->widget->object, TRUE); + GValue *value = glade_property_class_make_gvalue_from_string (eprop->klass, selected->name, project, eprop->property->widget);
Ok, I'm committing that, and some more selection paranoia from glade-activatable-editor.c... in git master, closing this.