gdk-pixbuf is stat stat stat stating my files

Rudy Rucker crapsh at monkeybrains.net
Fri Jun 29 08:55:01 UTC 2007


My desktop is REAL slow.

Here is an example that something is awry.. if I run
 # truss -o /tmp/truss xfce4-tips
and click CLOSE immediately when the window is launched (it takes about 
60 seconds) the truss file is large (76MB):
 # ls -s /tmp/truss
  76128 /tmp/truss
 # grep -c '/usr/local/share/icons/gnome' /tmp/truss
  531404
 # find /usr/local/share/icons/gnome | wc -l
  5597
 # grep 
'^stat("//usr/local/share/icons/gnome/22x22/status/stock_volume-min.png' 
/tmp/truss | grep volume-min | wc -l
  125

Things seem to go ape shit after this line in the truss output:
 open("/usr/local/etc/gtk-2.0/gdk-pixbuf.loaders",O_RDONLY,00) = 5 (0x5)


So, here are the questions:
 why does gdk-pixbuf have to stat every icon 125 times for a total of 
500,000+ stats just to launch one little window?

I can repeat the process with 'Terminal' and other programs...


System info
FreeBSD monchichi.monkeybrains.net 6.2-STABLE FreeBSD 6.2-STABLE i386 
(running on an AMD)
gdk-pixbuf-0.22.0_6
xfce-4.4.1_1


THanks for any tips... running cvsup right now and attempting to upgrade 
(if possible) pixbuf


More information about the freebsd-questions mailing list