GNOME Bugzilla – Bug 105694
glade-2 edit menus keeps cpu busy or segmentation fault
Last modified: 2004-12-22 21:47:04 UTC
When selecting "Edit Menus..." on a menubar widget my cpu processor usage goes to 100% and glade-2 must be killed. I'm not sure if this has anything to do with the above but, I also get many of the following errors when starting up glade-2 (ver 1.1.3): (glade-2:18095): Gtk-CRITICAL **: file gtkiconfactory.c: line 1906 (gtk_icon_set_get_sizes): assertion `icon_set != NULL' failed
I get this too and find this extremely annoying. GNOME 2.2 final, GCC 3.2.1, glibc 2.3.1, XFree86 4.2.1, Linux 2.4.20.
What Linux distribution are you both using? Which version of Glade - GTK+ or GNOME? I'll check the code. Thanks.
I am using RedHat version 8.0 beta (phoebe) glade-2 version 1.1.3 gtk-config --version 1.2.10 gnome-config --version gnome-libs 1.4.1.7 This is an upgraded system from RH7.2
I just compiled the latest glade-1.1.3 from source on my RH8.0 (phoebe beta) and tried glade-2 When starting glade-2 I get many of these errors: (glade-2:19737): Gtk-CRITICAL **: file gtkiconfactory.c: line 1906 (gtk_icon_set_get_sizes): assertion `icon_set != NULL' failed Then when trying to edit a menu I get a segmentation fault. Maybe my backtrace will help decipher the problem: $ gdb glade-2 core.19686 (gdb) bt
+ Trace 34213
I'm not using any distribution (self built system). Glade is 1.1.3 from ftp://ftp.gnome.org/pub/gnome/sources/glade/1.1/glade-1.1.3.tar.bz2. It's built with Gnome support. I can't get it to crash (at least not reproducably) - it just hangs and goes into a busy loop. To reproduce all I need to do is to start Glade, create a new GTK+ project, create a window, put a menubar or optionmenu in it and try to edit the menus.
I've just upgraded to GNOME 2.2 to test this, but still can't reproduce it. However, I have a feeling it is related to the theme you are using. Which themes are you using? Can you try switching to the default theme and see if that fixes it? Anthony: yes, I think it is related to the critical warning you got. My current idea is that some themes don't have icons for all stock items. That would confuse Glade and cause this sort of problem. This is a bad bug so I'd like to get it sorted out for the next version.
The theme was my problem. I was using BlueCurve. I performed the following to solve the problem: Preferences/Theme/Details/Controls/Metal/Close/Close Thank you Damon!
I was using PrettyOkayish and yes, that seemed to be the problem. Using other themes this won't happen. Thanks!
Do you know if the problem is with Glade or the individual theme? I.e. should I wait for a Glade fix or try to contact the individual theme author?
I'd guess it is a Glade problem. Unfortunately I still can't reproduce it even with the BlueCurve theme.
I've made the code more careful here, so hopefully this is fixed. Reopen if you still see it.
The problem still exists in the Apr 10 18:09 1.1.3 build. The cpu is busy when editing menus while using the Bluecurve theme but not when using the Raleigh theme.
I'm using RedHat 8.0 (on Intel) and the BlueCurve theme, and I don't see the problem. Can you think of anything else that could be a factor? Anything theme-related you've changed from the default?
*** Bug 111142 has been marked as a duplicate of this bug. ***
I finally managed to reproduce this, on RedHat 9.0, with Glade 1.1.3. But Glade 2.0.0 does fix it for me. Can you check if it fixes it for you. It is at http://ftp.gnome.org/pub/GNOME/sources/glade/2.0/
This bug is fixed now with Glade2.0.0 under RH8.0 (phoebe beta for RH9). Thank you Damon!
*** Bug 110776 has been marked as a duplicate of this bug. ***
*** Bug 103263 has been marked as a duplicate of this bug. ***
*** Bug 110704 has been marked as a duplicate of this bug. ***
*** Bug 112062 has been marked as a duplicate of this bug. ***
*** Bug 112667 has been marked as a duplicate of this bug. ***
*** Bug 113083 has been marked as a duplicate of this bug. ***
*** Bug 114574 has been marked as a duplicate of this bug. ***
*** Bug 119117 has been marked as a duplicate of this bug. ***
*** Bug 117394 has been marked as a duplicate of this bug. ***
*** Bug 125639 has been marked as a duplicate of this bug. ***
*** Bug 128079 has been marked as a duplicate of this bug. ***
*** Bug 126533 has been marked as a duplicate of this bug. ***
*** Bug 128340 has been marked as a duplicate of this bug. ***
*** Bug 130104 has been marked as a duplicate of this bug. ***