Comment 7 for bug 443010

Revision history for this message
RĂ©mi Denis-Courmont (rdenis) wrote :

Unfortunately, this bug cannot be fixed at the VLC level: It seems Fontconfig is not re-entrant. QtGui uses it, the VLC FreeType plugin uses it, and I think libass uses it too. There is no way that all those three libraries can interlock their usage of Fontconfig.

That leaves only two possible solutions:

(1) Fontconfig could be linked statically in the VLC FreeType plugin, and in QtGui and/or libass. This would ensure that each component would use its own image of Fontconfig so that interlocking is not needed. This requires changes in Ubuntu packaging more so than in VLC upstream. I am not authoritative on the topic of Ubuntu packaging, but I would guess this would be a violation of the Ubuntu library policy.

(2) Modify Fontconfig itself so that it becomes reentrant/thread-safe.

Ubuntu maintainers, please advise.