[Fontconfig] Status about fontconfig CVS regarding cache handling

Frederic Crozat fcrozat at mandriva.com
Fri Feb 17 09:32:19 PST 2006


Le vendredi 17 février 2006 à 11:31 -0500, Patrick Lam a écrit :
> Frederic Crozat wrote:
> > If I remove the affected cache, fc-cache is able to update cache for
> > this directory and crashes on one of the next directory :)
> > 
> > I've attached the offending file (be careful, it is renamed).
> 
> This cache has the new magic.  How odd.
> 
> 000000c0  65 31 2f 61 64 6f 62 65  73 74 64 33 35 00 00 *03*
> 000000d0  *fc* *02* *fc* 1e 8e 00 00 9e  9e b1 53 23 00 00 00 ee
> 
> (That's 03 fc 02 fc, which is what 0xfc02fc03 looks like when you write it.)
> 
> Are you sure that's an old cache?  It looks like a new cache to me, so 
> that perhaps you have mixed versions of fontconfig.  My fontconfig 
> crashes when you give it this file, but it should: it has the new MAGIC 
> and an old format.
> 
> There doesn't seem to be any other explanation aside from mixed 
> versions.  fontconfig definitely bails on caches with wrong MAGIC now.

The bug is probably triggered because I'm using packages :

cache are first regenerated using fc-cache -f (in the package) which
doesn't seem to crash.

but if I run fc-cache -v after that, it crashes..

-- 
Frederic Crozat <fcrozat at mandriva.com>
Mandriva



More information about the Fontconfig mailing list