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 659994 - Crash in g_settings_delay() for GSettings object with no backend
Crash in g_settings_delay() for GSettings object with no backend
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gsettings
2.29.x
Other Linux
: Normal critical
: ---
Assigned To: Allison Karlitskaya (desrt)
gtkdev
: 659527 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-09-24 09:42 UTC by Vincent Untz
Modified: 2012-01-19 03:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Untz 2011-09-24 09:42:10 UTC
We had the issue where gsettings-data-convert was crashing because of .convert file referencing a non-existing schema.

What was happening was:
 s = g_settings_new (BADSCHEMA);
 g_settings_delay (s);

IIRC, the result was: s is not NULL, but s->priv->backend is NULL. And g_settings_delay() assumes there's a backend.
Comment 1 Allison Karlitskaya (desrt) 2012-01-19 02:02:50 UTC
This was caused by not aborting on missing schemas, so it's fixed now.
Comment 2 Allison Karlitskaya (desrt) 2012-01-19 03:12:21 UTC
*** Bug 659527 has been marked as a duplicate of this bug. ***