Summary: | X11 fc-cache and XQuartz fc-cache disagree, causing 100% CPU at every start of XQuartz | ||
---|---|---|---|
Product: | fontconfig | Reporter: | Jörg Höhle <Joerg-Cyril.Hoehle> |
Component: | fc-cache | Assignee: | fontconfig-bugs |
Status: | RESOLVED MOVED | QA Contact: | Behdad Esfahbod <freedesktop> |
Severity: | normal | ||
Priority: | medium | CC: | akira, jeremyhu |
Version: | 2.12 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Mac OS X (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Jörg Höhle
2017-03-19 11:42:33 UTC
I now tried to run fc-cache as root, with no improvements. # font_cache -s -v font_cache: Scanning system font directories to generate X11 font caches font_cache: Updating FC cache /opt/X11/share/fonts: caching, new cache contents: 0 fonts, 10 dirs /opt/X11/share/fonts: failed to write cache [...] # fc-cache -v -s /opt/X11/share/fonts: caching, new cache contents: 0 fonts, 10 dirs /opt/X11/share/fonts: failed to write cache [...] # fc-cache -v -s -r /opt/X11/share/fonts: caching, new cache contents: 0 fonts, 10 dirs /opt/X11/share/fonts: failed to write cache [...] /Library/Fonts: failed to write cache /opt/X11/var/cache/fontconfig: not cleaning unwritable cache directory Despite -r, none of the files named fonts.{dir,scale,alias,list} were removed from /opt/X11 or /usr/X11R6 (judging from the timestamps). /opt/X11/var/cache/fontconfig contains 34000 *empty* files named abcdef*-le64.cache-7.TMP-UVWXYZ and a few empty CACHEDIR.TAG.TMP-JqBcKq ones all generated this week. That's quite different from the few non-empty files here: /Users/admin/.fontconfig: drwxr-xr-x 9 admin staff 306 Mar 19 14:12 . drwxr-xr-x 64 admin staff 2176 Mar 19 09:13 .. -rw-r--r-- 1 admin staff 104 Feb 3 2013 0a854daaebe3a1bb80439bf071d386e2-x86-64.cache-2 -rw-r--r-- 1 admin staff 104 Feb 2 2013 0a854daaebe3a1bb80439bf071d386e2-x86-64.cache-3 -rw-r--r-- 1 admin staff 168 Mar 19 09:07 558352270fb122ca08359d23b5a778d4-x86-64.cache-2 -rw-r--r-- 1 admin staff 502648 Mar 13 23:02 84c0f976e30e948e99073af70f4ae876-x86-64.cache-2 -rw------- 1 admin staff 0 Mar 19 09:06 CACHEDIR.TAG.TMP-9fffpw -rw-r--r-- 1 admin staff 216992 Mar 13 23:02 b0a71e6bf6a8a1a908413a823d76e21f-x86-64.cache-2 -rw-r--r-- 1 admin staff 160 Mar 19 09:07 d48774f8c79c4ec74ba4bcd2a4c592e2-x86-64.cache-2 This might be fixed in https://cgit.freedesktop.org/fontconfig/commit/?id=0e9b2a152729bfd457e656a9258a06cbfdac1bae Please test. I'd like to test, however I'd appreciate a binary. Could you please provide one? I don't have a build env to provide a binary for XQuartz. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/45. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.