After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700867 - Enabling "Code comment" plugin results in failure to start gedit
Enabling "Code comment" plugin results in failure to start gedit
Status: RESOLVED NOTGNOME
Product: gedit-plugins
Classification: Other
Component: General
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-22 23:54 UTC by andrew.g.r.holmes
Modified: 2019-03-23 20:50 UTC
See Also:
GNOME target: ---
GNOME version: 3.7/3.8



Description andrew.g.r.holmes 2013-05-22 23:54:48 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
Comment 1 Paolo Borelli 2014-04-13 17:04:01 UTC
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.