GNOME Bugzilla – Bug 103797
Theme Manager hangs on load [generate_theme_thumbnail]
Last modified: 2004-12-22 21:47:04 UTC
Using control-center-2.1.7, the Theme Manager now fails to load. Clicking "Applications->Desktop Preferences->Themes" starts two gnome-theme-manager processes, but no window ever appears. Starting it from the command line results in the same thing. I tried running it through gdb and it crashed immeadiately with the following backtrace:
+ Trace 32868
This is on a Slackware 8.1 system with the GNOME 2.1 RC-1 installed.
AFAICT this is a new bug and _not_ a duplicate of #97883
I'm experiencing the same. control-center 2.2.0, built today on my Debian box. The theme manager works when you disable fam. (albeit complains loudly) What's more: gnome-keybinding-properties shows exactly the same behaviour.
I thought that my problem was related to an old version of fam/libfam built on gcc-2.95. But this is not the case. I've upgraded all, there is no change. Even with fam disabled the theme manager still has issues: I installed the "gnome-themes" package but the theme manager doesn't seem to see these themes. (haven't tried restarting Gnome, yet)
Someone on the debian-gtk-gnome mailing list gave the hint to remove the metacity-themes package. This resolved for me, too. Obviously the theme-manager has problems with managing large collections of themes.
gnome-theme-manager tries to monitor dirs/files that do not exist, fam output is like this : fam[9096]: +chdir to "/usr/share/themes/Notif/gtk-2.0-key" fam[9096]: can't chdir("/usr/share/themes/Notif/gtk-2.0-key"): No such file or directory the '-key' part seems wrong to me. These are just symptomes i saw, i didn't look deeper into it.
I maintain a set of GNOME 2.x packages for Slackware, and I've had several users reporting that by reducing the number of themes in /usr/share/themes they can fix the problem. This number varies, but tends to hover just over 30. It also doesn't seem to matter what themes in particular are installed--as soon as ~30 themes are in the directory, gnome-theme-manager stops loading for them.
Just a follow-up to my last comment: I can start up the theme manager by first clicking Applications->Desktop Preferences->Theme, then opening a terminal and as root, typing "killall fam". Once that's done, the theme manager starts up immeadiately and works perfectly until the next time I try to launch it.
okay, heres for additional debugging : spider@Darkmere> find /usr/share/themes -type d -maxdepth 1 |wc -l 42 find /usr/share/themes -type d |wc -l 95 here, it works, all is jolly. attaching fam.successful.log.gz and gtm.successful.log.gz, generated as this: fam -T 1 -c /etc/fam.conf -d > /tmp/fam.debug.log 2>& strace -F -o gtm.log gnome-theme-manager now, installing a few more themes : spider@Darkmere> find /usr/share/themes -type d -maxdepth 1 |wc -l 48 spider@Darkmere> find /usr/share/themes -type d |wc -l 107 And it stalls, locked hard and dead. this time, I'm forced to kill gnome-theme-manager as it stands deadlocked.. attaching logfiles gtm.failed.log.gz and fam.failed.log.gz I hope this is of some value, and I wish I could help further. this is a show-stopper in many cases.
Created attachment 14113 [details] successful log of strace gnome-theme-manager
Created attachment 14114 [details] succesful log of fam
Created attachment 14115 [details] failed log of fam
Created attachment 14116 [details] failed log of gnome-theme-manager
Maybe trying to remove themes one by one to see where it actually starts working again? It could be the number of themes that makes it fall apart, but it could easily be a broken theme too...
Kjartan: I've tried that numerous times and it doesn't seem to matter which themes are installed. For instance, I can have themes A, B, and 41 other installed and everything is just fine. I add theme C, it breaks. I remove theme A, leaving B and C, and everything works again.
This is due to bug 86254, which has been fixed in 2.2.1. Closing this bug.
*** Bug 105802 has been marked as a duplicate of this bug. ***