GNOME Bugzilla – Bug 692610
crash when add, remove, add the same applet, when built --with-in-process-applets
Last modified: 2014-10-27 17:00:51 UTC
To reproduce, add the fish applet to the panel, then remove it, then add it again. Other applets also cause the crash. The following output is produced: Failed to register object /org/gnome/panel/applet/FishAppletFactory: An object is already exported for the interface org.gnome.panel.applet.AppletFactory at /org/gnome/panel/applet/FishAppletFactory (gnome-panel:24940): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `PanelAppletFactory' (gnome-panel:24940): Gtk-CRITICAL **: gtk_accelerator_parse_with_keycode: assertion `accelerator != NULL' failed ** (gnome-panel:24940): WARNING **: Unable to parse mouse modifier '(null)' Bad use of PanelApplet API: you should not create a PanelApplet object yourself. Please use panel_applet_factory_main() instead. ** ERROR:panel-applet.c:2087:panel_applet_constructed: code should not be reached Aborted (core dumped) The bug only happens when gnome-panel is built with --with-in-process-applets which is what is done in Ubuntu. I have reproduced this bug with git master to 3.6.0.
Created attachment 285187 [details] [review] Fix crash when removing in-process applet and then adding it back
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.