GNOME Bugzilla – Bug 629984
Segmentation fault upon startup after a fresh build
Last modified: 2010-11-30 18:42:44 UTC
The error upon startup is: 13:30 fabian ~ >>> jhbuild run gnome-shell --replace Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory JS LOG: default_value = 80.49332158112415, first_value = 96 JS LOG: GNOME Shell started at Sat Sep 18 2010 13:42:11 GMT+0200 (CET) JS LOG: Failed to acquire org.freedesktop.Notifications; trying again Shell killed with signal 11 13:42 fabian ~ >>> (gnome-panel:3164): GConf-WARNING **: Directory `/apps/panel/toplevels/bottom_panel_screen1/screen' was not being monitored by GConfClient 0x2689e40 (gnome-panel:3164): GConf-WARNING **: Directory `/apps/panel/toplevels/top_panel_screen1/screen' was not being monitored by GConfClient 0x2689e40 The backtrace is as follows: (gdb) bt
+ Trace 223777
Created attachment 170784 [details] [review] Return the refernced objects in _ref Both gconf_entry_ref() and gconf_change_set_ref() don't return the referenced objects but nothing (void), which causes issues for g_boxed_copy which uses the return value.
Attachment 170784 [details] pushed as a612aad - Return the refernced objects in _ref
Was this patch reviewed? It's buggy! -void +GConfChangeSet* gconf_change_set_ref (GConfChangeSet* cs) { g_return_if_fail(cs != NULL); ^^^ Needs to be changed to g_return_VAL_if_fail
I did review the patch. Obviously I missed that. Doesn't affect runtime operation, but obviously would be best fixed.
Fixed on master. BTW, the original patch was committed in the hard code freeze period and I can find no trace of r-t approval (nothing on r-t mailing list, at least). I got r-t approval for the fixup on IRC, and retroactive approval for the original patch.
*** Bug 549063 has been marked as a duplicate of this bug. ***