GNOME Bugzilla – Bug 700867
Enabling "Code comment" plugin results in failure to start gedit
Last modified: 2019-03-23 20:50:29 UTC
I addressed an AskUbuntu question regarding this bug and I seem to have tracked it down to the "Code Comment" plugin by enabling/disabling plugins in dconf-editor. To reproduce: 1. Open gedit 2. Navigate the Preferences dialog and enable "Code comment" in the Plugins tab 3. Close gedit and re-open. 4. An unrendered GTK window opens printing the following to stdout: (gedit:4254): GLib-GObject-WARNING **: cannot register existing type `GtkSourceView' (gedit:4254): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (gedit:4254): GLib-GObject-CRITICAL **: g_type_get_qdata: assertion `node != NULL' failed (gedit:4254): GLib-GObject-CRITICAL **: g_type_get_qdata: assertion `node != NULL' failed (gedit:4254): GLib-GObject-CRITICAL **: g_type_set_qdata: assertion `node != NULL' failed (gedit:4254): GLib-GObject-WARNING **: cannot register existing type `GtkSourceBuffer' (gedit:4254): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed (gedit:4254): GLib-GObject-CRITICAL **: g_type_get_qdata: assertion `node != NULL' failed (gedit:4254): GLib-GObject-CRITICAL **: g_type_get_qdata: assertion `node != NULL' failed (gedit:4254): GLib-GObject-CRITICAL **: g_type_set_qdata: assertion `node != NULL' failed (gedit:4254): GLib-GObject-WARNING **: cannot register existing type `GtkSourceLanguage' (gedit:4254): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed gedit Version: 3.8. apt Version: 3.8.2-0ubuntu1~raring (ppa:gnome3-team/gnome3) AskUbuntu Question: http://askubuntu.com/questions/297936/gedit-not-working-for-some-users
This seems very strange, I use the code comment plugin all the time. My guess is that the system mixed up versions of the plugin and it ends up loading conflicting version of some libraries or something like that. This sounds like a distribution problem or maybe a broken upgrade.