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 666625 - pspec_pool not always initialised
pspec_pool not always initialised
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: gobject
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2011-12-21 01:04 UTC by Allison Karlitskaya (desrt)
Modified: 2018-05-24 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allison Karlitskaya (desrt) 2011-12-21 01:04:42 UTC
If you install a GParamSpec on a GTypeInterface before GObjectClass is initialised then you will try to use the global pspec_pool before it has been initialised.

The testcase introduced in 666616 runs into this issue and requires a workaround.
Comment 1 Kjell Ahlstedt 2014-03-01 09:57:40 UTC
The patch in bug 465631 comment 11 fixes this bug.
Test case "gobject/tests/param -m slow" runs ok without
  g_type_class_ref (G_TYPE_OBJECT);
in test_param_implement_child().

Isn't this bug a duplicate of bug 465631?
Comment 2 GNOME Infrastructure Team 2018-05-24 13:38:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/492.