[Fontconfig-bugs] [Bug 106618] Relocated caches not quite working

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 24 06:15:43 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106618

--- Comment #18 from Alexander Larsson <alexl at redhat.com> ---
So, i rebuilt the gnome sdk with this in it and tried thunderbird, but it
crashes with valgrind reporting:

==70== Warning: set address range perms: large range [0x20454b34b000,
0x20458b34b000) (noaccess)
==70== Invalid read of size 4
==70==    at 0xC949AA0: FcPatternReference (fcpat.c:1159)
==70==    by 0x1073D88F: ??? (in /app/lib/thunderbird-52.7.0/libxul.so)
...
==70==  Address 0x258e8d78 is 24 bytes inside a block of size 466 free'd
==70==    at 0x4A0906A: free (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==70==    by 0xC931E27: FcCacheRemoveUnlocked (fccache.c:648)
==70==    by 0xC931E27: FcDirCacheDisposeUnlocked (fccache.c:680)
==70==    by 0xC931E27: FcCacheObjectDereference (fccache.c:715)
==70==    by 0x1073FE0D: ??? (in /app/lib/thunderbird-52.7.0/libxul.so)
...
==70==  Block was alloc'd at
==70==    at 0x4A07EBD: malloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==70==    by 0xC932489: FcCacheAllocate (fccache.c:730)
==70==    by 0xC936C11: FcConfigAddCache (fccfg.c:397)
...

So, there seems to be some refcounting issue in the patch.

-- 
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/20180524/ea868c8c/attachment.html>


More information about the Fontconfig-bugs mailing list