GNOME Bugzilla – Bug 705688
g_settings_list_children: only list viable schemas
Last modified: 2013-10-02 16:38:55 UTC
See patch.
Created attachment 251198 [details] [review] g_settings_list_children: only list viable schemas Don't return children with invalid schemas from g_settings_list_children() (ie: missing schemas or mismatched paths). This prevents gsettings list-recursively from crashing when broken schemas are installed on the system.
Review of attachment 251198 [details] [review]: I have tested the bug in jhbuild on the latest version of fedora 19. It seems to remove the problem. I believe the patch works.
More detail on how to recreate the bug: Go into a terminal and type $ gsettings list-recursively you will get the following error after some schemas are successfully listed: (process:641): GLib-GIO-ERROR **: settings object created with schema 'org.gnome.gedit.plugins.collaboration.user' and path '/org/gnome/gedit/plugins/collaboration/user/', but path '/org/gnome/gedit-plugins/collaboration/user/' is specified by schema Trace/breakpoint trap (core dumped)
Did this not get pushed?
Attachment 251198 [details] pushed as 2789891 - g_settings_list_children: only list viable schemas
Pushed and merged to stable. Thanks for the reminder.