[Fontconfig] Yet another easy to reproduce crash in fontconfig
Mike FABIAN
mfabian at suse.de
Tue Jan 17 06:45:07 PST 2006
mfabian at magellan:~$ sudo rm /var/cache/fontconfig/*cache*
mfabian at magellan:~$ rm .fonts.cache-2
mfabian at magellan:~$ fc-match sans
arial.ttf: "Arial" "Regular"
mfabian at magellan:~$ touch .fonts.conf
mfabian at magellan:~$ fc-match sans
セグメンテーション違反です (core dumped)
mfabian at magellan:~$
(gdb) bt
#0 0x00002aaaab12c420 in strlen () from /lib64/libc.so.6
#1 0x00002aaaaabd7075 in FcGlobalCacheReadDir () from /usr/lib64/libfontconfig.so.1
#2 0x00002aaaaabde7c3 in FcDirScanConfig () from /usr/lib64/libfontconfig.so.1
#3 0x00002aaaaabd7b56 in FcCacheReadDirs () from /usr/lib64/libfontconfig.so.1
#4 0x00002aaaaabd7b87 in FcCacheReadDirs () from /usr/lib64/libfontconfig.so.1
#5 0x00002aaaaabd7cbf in FcCacheRead () from /usr/lib64/libfontconfig.so.1
#6 0x00002aaaaabd9bad in FcConfigBuildFonts () from /usr/lib64/libfontconfig.so.1
#7 0x00002aaaaabe1bfb in FcInitLoadConfigAndFonts ()
from /usr/lib64/libfontconfig.so.1
#8 0x00002aaaaabe1cb5 in FcInit () from /usr/lib64/libfontconfig.so.1
#9 0x0000000000400e6b in main ()
(gdb)
--
Mike FABIAN <mfabian at suse.de> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
More information about the Fontconfig
mailing list