GNOME Bugzilla – Bug 689267
GVariant properties with default value cause segfault
Last modified: 2012-11-29 12:16:50 UTC
Created attachment 230175 [details] reproducer When running with python3.3-dbg or python2.7-dbg, the test case fails with a segfault in test_gobject.TestContextManagers.test_freeze_notify_context(). However, this is a red herring, the real cause seems to be a refcounting issue in default values. Attached script is a minimal reproducer that I found.
For the record, this also is the cause of the segfault that I see on ARM (without the -dbg variant), and possibly the crashes on several of the Debian autobuilders.
This was way easier than I thought, fixed in http://git.gnome.org/browse/pygobject/commit/?id=a107c928ef This does not affect 3.4, as GVariant properties are not supported there yet (they got introduced in 78f49e6253500)