Re: Bug in fc-cat with user cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrick Lam <plam@xxxxxxx> さんは書きました:

> Mike FABIAN wrote:
>>>Allthough the generated file is quite big, fc-cat lists only
>>>one line now.
>
> I think I've fixed this set of bugs now.  They were related.

Thank you, with todays CVS fccat starts printing the contents of
~/.fonts.cache correctly now, but it crashes before finishing:

    mfabian@magellan:~$ fc-cat ~/.fonts.cache-2
    [...]
    fc-cat: printing global cache contents for dir /usr/X11R6/lib/X11/fonts/CID/Adobe-CNS1/CIDFont
    "MOEKai-Regular" 0 "MOE Kai:style=Regular:slant=0:weight=80:width=100:spacing=100:foundry=unknown:index=0:outline=True:scalable=True:charset=:lang=:fontversion=0:fontformat=CID Type 1"
    "MOESung-Regular" 0 "MOE Sung:style=Regular:slant=0:weight=80:width=100:spacing=100:foundry=unknown:index=0:outline=True:scalable=True:charset=:lang=:fontversion=0:fontformat=CID Type 1"
    fc-cat: printing global cache contents for dir /usr/X11R6/lib/X11/fonts/CID/Adobe-CNS1/CFM
    fc-cat: printing global cache contents for dir /usr/X11R6/lib/X11/fonts/CID/Adobe-CNS1/AFM
    fc-cat: printing global cache contents for dir /usr/X11R6/lib/X11/fonts/CID/Adobe-CNS1
    *** glibc detected *** fc-cat: free(): invalid next size (fast): 0x0000000000509180 ***
    ======= Backtrace: =========
    /lib64/libc.so.6[0x2aaaab123eed]
    /lib64/libc.so.6(__libc_free+0x6c)[0x2aaaab12550c]
    fc-cat[0x405427]
    /lib64/libc.so.6(__libc_start_main+0xf4)[0x2aaaab0d6fc4]
    fc-cat[0x402389]
    [...]
    Aborted (core dumped)
    mfabian@magellan:~$ 

And "xfd -fa" still crashes for all fonts afterwards:

    mfabian@magellan:~$ xfd -fa "sans"
    Warning: Cannot convert string "sans" to type XftFont
    Segmentation fault (core dumped)
    mfabian@magellan:~$ 

(I deleted all global caches in /var/cache/fontconfig for testing,
then created ~/.fonts.cache-2 from scratch by deleting it and
then calling "fc-match sans".

-- 
Mike FABIAN   <mfabian@xxxxxxx>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux