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 328184 - gtk-update-icon-cache creates wrong cache
gtk-update-icon-cache creates wrong cache
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
2.8.x
Other FreeBSD
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-01-22 17:11 UTC by Nickolay V. Shmyrev
Modified: 2006-03-09 21:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bzipped cache (646.90 KB, application/x-bzip2)
2006-01-22 17:13 UTC, Nickolay V. Shmyrev
Details
gtk-demo with stock browser (62.47 KB, application/x-bzip)
2006-01-26 10:45 UTC, Nosov Artem
Details
gtk-demo without stock browser (8.35 KB, application/x-bzip)
2006-01-26 10:49 UTC, Nosov Artem
Details
gtk-demo without stock browser (8.35 KB, application/x-bzip)
2006-01-26 10:50 UTC, Nosov Artem
Details
gedit (112.49 KB, application/x-bzip)
2006-01-26 10:51 UTC, Nosov Artem
Details

Description Nickolay V. Shmyrev 2006-01-22 17:11:29 UTC
Machine is 64 bit AMD running in 32 bit emulation.
Comment 1 Nickolay V. Shmyrev 2006-01-22 17:13:09 UTC
Created attachment 57858 [details]
Bzipped cache
Comment 2 Matthias Clasen 2006-01-25 17:18:32 UTC
Anders, didn't you have a little icon cache verification utility ?
Could you run that over this cache and see whats broken ?
Comment 3 Matthias Clasen 2006-01-26 05:25:32 UTC
Nickolay, what exactly is the problem you have with that cache ?
Anders' cache validator seems to think it is ok.
Comment 4 Nickolay V. Shmyrev 2006-01-26 05:40:53 UTC
Well, it just looks bad from the first view because it has no icon names included. Probably it's actually ok.

The real problem is that cache is not used to mine opinion - gtk-demo starts quickly but when you are trying to open stock browser, it becames pretty slow. The strace shows that gtk-demo tries to stat icon files too many times in a loop. That is why I was thinking about bad icon cache.

chip:
Can you please collect strace of gtk-demo once again? Try to open stock browser to reproduce buggy behaviour. For attachments there is "Create a New Attachment " link below.

Comment 5 Nosov Artem 2006-01-26 10:45:54 UTC
Created attachment 58143 [details]
gtk-demo with stock browser
Comment 6 Nosov Artem 2006-01-26 10:49:46 UTC
Created attachment 58144 [details]
gtk-demo without stock browser
Comment 7 Nosov Artem 2006-01-26 10:50:00 UTC
Created attachment 58145 [details]
gtk-demo without stock browser
Comment 8 Nosov Artem 2006-01-26 10:51:19 UTC
Created attachment 58146 [details]
gedit
Comment 9 Nosov Artem 2006-01-26 10:55:49 UTC
I have rebuilt my FreeBSD system. Now it's:
> uname -a
FreeBSD feel.void.su 6.0-STABLE FreeBSD 6.0-STABLE #0: Wed Jan 25 13:28:40 MSK 2006     root@feel.void.su:/var/obj/usr/src/sys/FEEL  i386
> env LANG=C date -r `head -1 /var/db/sup/src-all/checkouts.cvs:RELENG_6 | awk '{ print $NF }'`
Mon Jan 23 17:34:31 MSK 2006
>
FreeBSD-STABLE at Jan 23 14:34:31 (GMT). Then have installed ports/x11/gnome2-lite instead of ports/x11/gnome2 . And it's actually work well %(
Comment 10 Matthias Clasen 2006-03-09 21:36:26 UTC
ok, assuming this is fixed then...