[vlc-devel] Deadlock in freetype module
fenrir at via.ecp.fr
Mon Aug 18 19:57:11 CEST 2008
On Mon, Aug 18, 2008, Rémi Denis-Courmont wrote:
> Le lundi 18 août 2008 20:01:33 Jean-Baptiste Kempf, vous avez écrit :
> > Is someone skilled to look at it ?
It should be fixed.
> Well, the report is absolutely right. But the whole issue seems more serious
> than a simple recursive lock. There is a total mess between process and
> instance data in the fontconfig stuff there.
What this mess try to do:
- it creates a *unique* fontconfig for all instance of freetype.
- this fontconfig will be created in its own thread on the first freetype
module creation (it can take a really long times).
- this fontconfig will be destroyed on the last freetype module release.
- the freetype module will use the fontconfig as soon as available, but it can
still work without it (a bit degraded that's all).
More information about the vlc-devel