Public bug reported:
Binary package hint: fontconfig
When copying or symlinking approximately 1000+ fonts to /usr/share/fonts
or /usr/local/share/fonts, executing any GUI app results in a segfault
after a delay of about 10 seconds. Removing the fonts or symlink
immediately resolves the problem. fc-cache was executed neither before
nor after the addition and removal of the fonts/symlinks. If the system
is rebooted in this state or if gdm needs to be restarted, X will fail
and a GUI will be unattainable until the fonts/symlinks are removed.
Copying or symlinking the same fonts to ~/.fonts does not cause system-
wide segfaulting, but does cause fc-cache to segfault once it begins
scanning the directory containing the 1000+ fonts. Here's a terminal
snippet of fc-cache:
/home/kevinfishburne/.fonts/new_opentype/w: caching, new cache contents: 36
fonts, 0 dirs
/home/kevinfishburne/.fonts/new_opentype/x: caching, new cache contents: 0
fonts, 0 dirs
/home/kevinfishburne/.fonts/new_opentype/y: caching, new cache contents: 0
fonts, 0 dirs
/home/kevinfishburne/.fonts/new_opentype/z: caching, new cache contents: 13
fonts, 0 dirs
/home/kevinfishburne/.fonts/new_truetype: caching, new cache contents: 0 fonts,
28 dirs
/home/kevinfishburne/.fonts/new_truetype/#: caching, new cache contents: 238
fonts, 0 dirs
/home/kevinfishburne/.fonts/new_truetype/a: Segmentation fault
Initially I attempted to place all 28000+ fonts in the same directory,
but after suspecting someone used the wrong data type for their for next
loop or whatever, decided to break them up by letter of the alphabet.
Unfortunately some letters still have two or three thousand fonts each
so the issue persisted. All the fonts have been scanned to ensure none
are corrupt or non standard, so the individual fonts themselves
-shouldn't- be causing the issue.
** Affects: fontconfig (Ubuntu)
Importance: Undecided
Status: New
--
all newly-executed GUI apps and fc-cache segfault when >n fonts reside in
single directory
https://bugs.launchpad.net/bugs/253208
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs