GNOME Bugzilla – Bug 581880
gconf_client_key_is_writable: assertion failed: (entry != NULL)
Last modified: 2018-08-17 13:54:23 UTC
After upgrading to GConf 2.26.1 I get the following message while trying to run Evolution Preferences dialog: GConf:ERROR:gconf-client.c:1202:gconf_client_key_is_writable: assertion failed: (entry != NULL) and application crashes.
I'm getting the same error when trying to open Evolution's Preferences. It also occurs when trying to run Nautilus file manager windows in browser mode (but not in spacial mode). I'm using Arch Linux 64-bit Kernel: 2.6.29-ARCH Evolution version: 2.26.1.1 Nautilus version: 2.26.2 Running Evolution from a Terminal window yields the following messages: ** (evolution:7218): DEBUG: mailto URL command: evolution %s ** (evolution:7218): DEBUG: mailto URL program: evolution ** GConf:ERROR:gconf-client.c:1202:gconf_client_key_is_writable: assertion failed: (entry != NULL)
*** Bug 582031 has been marked as a duplicate of this bug. ***
I fixed this bug with the attached patch. The other g_asserts need to be removed, and the NULL condition needs to be handled more gracefully.
Created attachment 134363 [details] [review] Fix assert in gconf-client code
*** Bug 582151 has been marked as a duplicate of this bug. ***
This looks related to bug 582865. It looks as though it's a change in the way gconf_client_lookup works (it can now return TRUE even if entry is NULL, which never used to happen).
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!