Comment 2 for bug 1309419

Revision history for this message
Marius Gedminas (mgedmin) wrote : Re: gnome-control-center segfaults on startup on 14.04

Trying to step through this with gdb.

In main(), control-center.c:254 the following statement

    shell = gnome_control_center_new ();

assigns NULL to shell, after emitting a few warnings:

    (gnome-control-center.real:653): GLib-GObject-WARNING **: cannot derive 'GnomeControlCenter' from non-fundamental parent type 'CcShell'

    (gnome-control-center.real:653): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

    (gnome-control-center.real:653): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

which then causes a segfault later, when it's dereferenced.