GNOME Bugzilla – Bug 439398
control-center crashes on Solaris when gnome-main-menu isn't present.
Last modified: 2020-03-05 10:55:23 UTC
Steps to reproduce: Can be easily reproduced by simply running gnome-control-center. On Solaris we are not deliver gnome-main-menu since it's not a core product of GNOME 2.18. Control Center should run without it ever being installed. The errors reported are: gnome-control-center ** (GNOME Control Center:22394): WARNING **: error raised: [???: error getting /desktop/gnome/applications/main-menu/lock-down/user_modifiable_apps] ** (GNOME Control Center:22394): WARNING **: error raised: [???: couldn't load bookmark file [NULL] ] Stack trace: Other information: The first message (about the gconf key) caused a crash when freeing the value, which was null. When this was fixed, we proceeded to get the next error about the bookmark file, where the filename was null. Once these were fixed the control-center starts fine.
Created attachment 88379 [details] [review] Fix for crashes. Attaching a fix that stops the crashes (but doesn't stop the errors being reported).
Moving to libslab...
Jim, what is this supposed to mean? The crash is very obviously in libslab code. Does this imply we should commit patches to libslab without maintainer review from main-menu? (this is a duplicate of bug 416360, btw)
I applied a modified version of the patch to svn trunk.
*** Bug 416360 has been marked as a duplicate of this bug. ***
Reopening. Although the crashes caused by those warnings are fixed, we shouldn't even get a warning for them: ** (GNOME Control Center:22394): WARNING **: error raised: [???: error getting /desktop/gnome/applications/main-menu/lock-down/user_modifiable_apps] This is dependent on gnome-main-menu being installed, which is just wrong. ** (GNOME Control Center:22394): WARNING **: error raised: [???: couldn't load bookmark file [NULL] ] This is pretty useless as well...
Created attachment 93971 [details] [review] gnome-control-center-2.19.90-no-warnings.patch Don't show warnings for minor errors.
This project is not under active development anymore; see https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/263 Hence reflecting reality and mass-closing all its remaining open tasks.