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:
"To reproduce, just:
- open glade-3
- create a Dialog Box
- add a button
- click the "..." near "Related action"
- click "new""
Created attachment 132778 [details] [review]
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.
the attached patch with minor mod helps :), I have not seen anymore crashes.
@@ -2854,6 +2854,8 @@ glade_eprop_object_show_dialog (GtkWidget *dialog_button,
+ 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.