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 157455 - segfault in g_object_get_property
segfault in g_object_get_property
Status: VERIFIED INCOMPLETE
Product: gtk+
Classification: Platform
Component: Widget: Other
2.4.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-11-05 16:07 UTC by Manuel Op de Coul
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case not demonstrating problem (12.43 KB, text/plain)
2004-11-11 19:11 UTC, Owen Taylor
Details
The C file I meant to attach (528 bytes, text/plain)
2004-11-11 19:23 UTC, Owen Taylor
Details

Description Manuel Op de Coul 2004-11-05 16:07:53 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.
Comment 1 Matthias Clasen 2004-11-05 16:17:20 UTC
Please provide a short selfcontained testcase demonstrating the problem.
The report is highly improbably, since GTK+ does exactly the same thing.
Comment 2 Manuel Op de Coul 2004-11-11 13:26:59 UTC
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?
Comment 3 Matthias Clasen 2004-11-11 14:38:05 UTC
Oh, I overlooked that this is specifically a problem of g_object_get_property vs
g_object_get. Still, a testcase would be appreciated.
Comment 4 Manuel Op de Coul 2004-11-11 14:47:12 UTC
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.
Comment 5 Owen Taylor 2004-11-11 19:11:35 UTC
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.
Comment 6 Owen Taylor 2004-11-11 19:23:09 UTC
Created attachment 33691 [details]
The C file I meant to attach
Comment 7 Manuel Op de Coul 2004-11-18 09:01:05 UTC
Thanks Owen. your suspicion was right.