GNOME Bugzilla – Bug 598209
** GLib-GObject **: Attempt to add property GtkMenuBar::local to class after it was derived
Last modified: 2010-06-27 05:59:36 UTC
Since I updated to glib-2.22, all gtkmm based apps started crashing in the same weird way. Here is a gnote crash, but it is also 100% reproducible with gparted or gnome-system-monitor. I also found the following references via google which sound quite similar: * "python-wnck: Abort on "Attempt to add property GtkMenuBar::local" http://bugs.debian.org/550502 * "[Bug 448375] [NEW] me-tv crashes on launch" http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg1755291.html I've updated to gtk+-2.18 and all 2.18 mm-bindings after seeing this problem but to no avail. Distribution: Gentoo Base System release 2.0.1 Gnome Release: 2.26.3 2009-09-18 (Gentoo) BugBuddy Version: 2.28.0 System: Linux 2.6.30-gentoo-r6 #1 SMP Sun Sep 6 13:03:09 CEST 2009 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 10603901 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: gnome GTK+ Modules: canberra-gtk-module, globalmenu-gnome, gnomebreakpad Memory status: size: 316874752 vsize: 316874752 resident: 21622784 share: 16613376 rss: 21622784 rss_rlim: 18446744073709551615 CPU usage: start_time: 1255388652 rtime: 16 utime: 13 stime: 3 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/gnote' [?1034h[Thread debugging using libthread_db enabled] [New Thread 0x7f524abd7770 (LWP 27916)] 0x00007f524747aa15 in __libc_waitpid (pid=27919, stat_loc=0x7ffffcd89560, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32 in ../sysdeps/unix/sysv/linux/waitpid.c Current language: auto; currently c
+ Trace 218253
Thread 1 (Thread 0x7f524abd7770 (LWP 27916))
Looks like the global menu gtk+ module is doing some weird hack.
I'd like to believe so but it also crashes when I remove the applet from the panels. Unless there's some magic way it survives in the running session (I didn't re-login).
(In reply to comment #2) > I'd like to believe so but it also crashes when I remove the applet from the > panels. Unless there's some magic way it survives in the running session (I > didn't re-login). I believe it sets up a GTK_MODULES environment variable, so yes, it could continue to affect applications until you log out and log back in.
So the module indeed is still loaded after removing the applet because the gnome-settings-daemon for gtk modules autoloading isn't changed. Changing this setting made the problem go away as well as updating to a svn build of globalmenu applet after reading upstream issue [1]. Sorry for wasting your time. [1] http://code.google.com/p/gnome2-globalmenu/issues/detail?id=507
*** Bug 599550 has been marked as a duplicate of this bug. ***
*** Bug 601855 has been marked as a duplicate of this bug. ***
*** Bug 622823 has been marked as a duplicate of this bug. ***