After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 103797 - Theme Manager hangs on load [generate_theme_thumbnail]
Theme Manager hangs on load [generate_theme_thumbnail]
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] theme-manager
2.1.x
Other Linux
: Urgent critical
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 105802 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-01-18 05:15 UTC by Todd Kulesza
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2


Attachments
successful log of strace gnome-theme-manager (38.77 KB, application/octet-stream)
2003-02-05 08:04 UTC, Spider (D.m.D. Ljungmark)
Details
succesful log of fam (22.61 KB, application/octet-stream)
2003-02-05 08:05 UTC, Spider (D.m.D. Ljungmark)
Details
failed log of fam (21.79 KB, application/octet-stream)
2003-02-05 08:05 UTC, Spider (D.m.D. Ljungmark)
Details
failed log of gnome-theme-manager (15.19 KB, application/octet-stream)
2003-02-05 08:06 UTC, Spider (D.m.D. Ljungmark)
Details

Description Todd Kulesza 2003-01-18 05:15:10 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:

  • #0 __libc_write
  • #1 __DTOR_END__
    from /lib/libpthread.so.0
  • #2 generate_theme_thumbnail
  • #3 load_meta_themes
  • #4 update_themes_from_disk
  • #5 setup_dialog
  • #6 main
  • #7 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129

This is on a Slackware 8.1 system with the GNOME 2.1 RC-1 installed.
Comment 1 Andrew Sobala 2003-01-18 11:57:45 UTC
AFAICT this is a new bug and _not_ a duplicate of #97883
Comment 2 Johannes Rohr 2003-01-21 21:09:19 UTC
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.
Comment 3 Johannes Rohr 2003-01-22 14:07:40 UTC
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)
Comment 4 Johannes Rohr 2003-01-24 22:00:58 UTC
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.
Comment 5 Marinus Schraal 2003-01-27 19:38:13 UTC
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.
Comment 6 Todd Kulesza 2003-02-04 23:20:08 UTC
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.
Comment 7 Todd Kulesza 2003-02-05 04:46:46 UTC
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.
Comment 8 Spider (D.m.D. Ljungmark) 2003-02-05 08:03:52 UTC
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.




Comment 9 Spider (D.m.D. Ljungmark) 2003-02-05 08:04:43 UTC
Created attachment 14113 [details]
successful log of strace gnome-theme-manager
Comment 10 Spider (D.m.D. Ljungmark) 2003-02-05 08:05:19 UTC
Created attachment 14114 [details]
succesful log of fam
Comment 11 Spider (D.m.D. Ljungmark) 2003-02-05 08:05:44 UTC
Created attachment 14115 [details]
failed log of fam
Comment 12 Spider (D.m.D. Ljungmark) 2003-02-05 08:06:15 UTC
Created attachment 14116 [details]
failed log of gnome-theme-manager
Comment 13 Kjartan Maraas 2003-02-05 08:53:51 UTC
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...
Comment 14 Todd Kulesza 2003-02-05 13:33:52 UTC
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.
Comment 15 Alexander Larsson 2003-02-10 16:01:14 UTC
This is due to bug 86254, which has been fixed in 2.2.1.
Closing this bug.
Comment 16 Andrew Sobala 2003-03-01 11:03:34 UTC
*** Bug 105802 has been marked as a duplicate of this bug. ***