[Fontconfig-bugs] [Bug 106618] Relocated caches not quite working
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed May 23 07:47:00 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106618
--- Comment #8 from Alexander Larsson <alexl at redhat.com> ---
I think the issue is that the FcPattern object is actually a raw pointer into
the mmaped cache, and FcPatternDestroy () falls back on:
void
FcPatternDestroy (FcPattern *p)
{
...
if (FcRefIsConst (&p->ref))
{
FcCacheObjectDereference (p);
return;
}
So, it never frees anything, it just finds the cache and unrefs that. Nor can
we really modify the memory that the FcPattern * points to.
However, as long as applications used to work and work in the "normal" case
we're never going to be able to get everything changed to work in flatpak if
the code has to be rewritten, so we need a solution here.
I'll have a look and see what options i can figure out.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20180523/a5880665/attachment.html>
More information about the Fontconfig-bugs
mailing list