Need help with 'Two different plugins tried to register *' warnings with gio modules



Hello everyone,

I am developer of pup-volume-monitor, a lightweight volume monitor plugin for GIO.

I need help regarding this problem. Whenever a GIO application is started it outputs warnings like 'Two different plugins tried to register *' and then eventually crashes.
 All reported classes belong to my pup-volume-monitor.

    Here's a sample output:


        # desktop_drive_icons
        ** Message: Config file not found

(desktop_drive_icons:17909): GLib-GObject-WARNING **: Two different plugins tried to register 'PupClientMonitor'.

(desktop_drive_icons:17909): GLib-GObject-WARNING **: Two different plugins tried to register 'PupClientDevice'.

(desktop_drive_icons:17909): GLib-GObject-WARNING **: Two different plugins tried to register 'PupVolumeMonitor'.

(desktop_drive_icons:17909): GLib-GIO-WARNING **: Tried to register an extension of the type (null) to extension point gio-volume-monitor. Expected type is GVolumeMonitor.

(desktop_drive_icons:17909): GLib-GObject-WARNING **: Two different plugins tried to register 'PupClientVolume'.

(desktop_drive_icons:17909): GLib-GObject-CRITICAL **: g_type_add_interface_dynamic: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(desktop_drive_icons:17909): GLib-GObject-WARNING **: Two different plugins tried to register 'PupMount'.

(desktop_drive_icons:17909): GLib-GObject-CRITICAL **: g_type_add_interface_dynamic: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(desktop_drive_icons:17909): GLib-GObject-WARNING **: Two different plugins tried to register 'PupClientDrive'.

(desktop_drive_icons:17909): GLib-GObject-CRITICAL **: g_type_add_interface_dynamic: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(desktop_drive_icons:17909): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

(desktop_drive_icons:17909): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(desktop_drive_icons:17909): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
        Segmentation fault
        #

It appears that GIO is probably loading same module twice, not sure how.

I can't reproduce the problem on my system though. The original report is here: <http://www.murga-linux.com/puppy/viewtopic.php?p=657853&sid=319dbadddc53221373ec75a11e09af78#657853>

The poster encountered the problem in Precise Puppy Linux 5.3.95 with glib version 2.32.3.

    I am completely clueless where problem could be. Any ideas?

    Thanks in advance.

- Akash Rawal


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]