GNOME Bugzilla – Bug 626377
gnome-panel crashes when in process applets are enabled
Last modified: 2014-12-29 19:02:02 UTC
This is in Mandriva cooker with gnome-panel 2.31.6. Gnome Panel was built with --with-in-process-applets=all : (gnome-panel:12431): GLib-GObject-WARNING **: cannot register existing type `PanelApplet' (gnome-panel:12431): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
Thanks for taking the time to report this bug. Without a stack trace from the crash it's very hard to determine what caused it. Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
I'm the original reporter (of the Mandriva bug report). There is no stacktrace, because it doesn't crash, just _blocks_ on a futex, just after these two warnings (in strace). Removing "--with-in-process-applets=all " works around this problem. Let me know if you need more info to reproduce the bug. For now here is the end of the strace log: [pid 12431] mmap2(0x41282000, 252412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 21, 0) = 0x41282000 [pid 12431] mprotect(0x412bd000, 4096, PROT_NONE) = 0 [pid 12431] mmap2(0x412be000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 21, 0x3b) = 0x412be000 [pid 12431] close(21) = 0 [pid 12431] mprotect(0x412be000, 4096, PROT_READ) = 0 [pid 12431] munmap(0xb2012000, 122315) = 0 [pid 12431] write(2, "\n(gnome-panel:12431): GLib-GObje"..., 91 (gnome-panel:12431): GLib-GObject-WARNING **: cannot register existing type `PanelApplet' ) = 91 [pid 12431] write(2, "\n(gnome-panel:12431): GLib-CRITI"..., 104 (gnome-panel:12431): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed ) = 104 [pid 12431] futex(0x855d2ac, FUTEX_WAIT_PRIVATE, 1, NULL) = ? ERESTARTSYS (To be restarted)
I've never seen this. Do you still see it? What you can do is run gnome-panel with G_DEBUG=fatal-criticals to get a stack trace for the critical warning.
Yes, still happens with the current git head. Here is the backtrace:
+ Trace 223738
Ah, could it be that you have some in-process bonobo applets too? I'd need to know what applets are in your configuration, and then if they are built in-process in Mandriva or not. (I'm mostly interested in applets that do not live in gnome-panel).
Created attachment 174233 [details] %gconf.xml In my case I was getting the same errors until I removed old ~/.gconf/desktop/gnome/interface/%gconf.xml Attached one causes the failure for me and this is the one is working fine just now: $ cat %gconf.xml <?xml version="1.0"?> <gconf> <entry name="icon_theme" mtime="1289464982" type="string"> <stringvalue>gnome-gentoo</stringvalue> </entry> <entry name="gtk_theme" mtime="1289464982" type="string"> <stringvalue>Shiki-Gentoo</stringvalue> </entry> </gconf> $
Thanks for taking the time to report this bug. However, you are using a version that is too old and not supported anymore. GNOME developers are no longer working on that version, so unfortunately there will not be any bug fixes for the version that you use. By upgrading to a newer version of GNOME you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of GNOME. Please feel free to reopen this bug if the problem still occurs with a newer version of GNOME.