GNOME Bugzilla – Bug 340834
schemas registration issue with corrupted xml
Last modified: 2018-08-17 13:57:06 UTC
That bug has been described on https://launchpad.net/distros/ubuntu/+source/control-center/+bug/41788 "... GConf-Backends-ERROR **: file markup-tree.c: line 3377 (end_element_handler): assertion failed: (g_slist_length (info->local_schemas) == 1) aborting... ... I drilled a bit further down, and it turned out that the breakage was caused by the "/var/lib/gconf/defaults/%gconf-tree-cy.xml" file. Moving this file out of the way (if anyone wants to have a look...) brought the system back in line. ... > Thank you for your bug and the debug work on that. Could you attach the broken .xml? That's a system configuration so it should not have any user data ... http://librarian.launchpad.net/2428534/perc-gconf-tree-cy.xml Original filename started with a '%' sign; I renamed that on moving from /var/lib/gconf/defaults/%gconf-tree-cy.xml to a backup directory. ..." with that xml the schemas registration is broken: GConf-Backends-ERROR **: file markup-tree.c: line 3377 (end_element_handler): assertion failed: (g_slist_length (info->local_schemas) == 1) aborting... Program received signal SIGABRT, Aborted.
+ Trace 68059
Thread NaN (LWP 32277)
It's doing this because the xml doesn't validate. Probably an error with the translation or something. Can we close this here?
It should still not crash though
Does it really crash or is this just an artifact of fatal critical warnings?
not likely, the backtrace seems to indicate it's hitting an assertion
GConf has been deprecated since 2011. GConf is not under active development anymore. Its codebase has been archived: https://gitlab.gnome.org/Archive/gconf/commits/master dconf and gsettings are its successors. See https://developer.gnome.org/gio/stable/ch34.html and https://developer.gnome.org/GSettings/ for porting info. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of dconf/gsettings. Thanks!