GNOME Bugzilla – Bug 157455
segfault in g_object_get_property
Last modified: 2009-08-15 18:40:50 UTC
Create a gtk_button, get its settings with gtk_widget_get_settings, get the "gtk-button-images" property from the settings with g_object_get_property and it crashes.
Please provide a short selfcontained testcase demonstrating the problem. The report is highly improbably, since GTK+ does exactly the same thing.
With respect, but I don't see GTK+ doing the same thing. There are only four cases where g_object_get_property is used in gtk+ and it's not in gtksettings. Maybe you're confused with g_object_get?
Oh, I overlooked that this is specifically a problem of g_object_get_property vs g_object_get. Still, a testcase would be appreciated.
I can only give a testcase in Ada, and that hasn't been considered helpful in the past. Still it's quite simple, my report has the necessary info.
Created attachment 33689 [details] Test case not demonstrating problem I suspect there is some GtkAda bug in its use of g_object_get_property(), but if not, a modification of the above test case so that it triggers the bug is needed.
Created attachment 33691 [details] The C file I meant to attach
Thanks Owen. your suspicion was right.