If I build my Linux program with AddressSanitiser and then run it and let it end, I get a list of memory leaks from 'malloc', and all of them were allocated inside libfontconfig.
Is this happening because the writers of wxWidgets aren't de-allocating when they should, or is it because libfontconfig never bothers to deallocate them?
I built libfontconfig with "--ggdb3" and so I have the exact filenames and line numbers for the allocations. Do I need to patch libfontconfig to eradicate these leaks?
By the way I don't know if they are harmless memory leaks or not. If the allocations just take place once for the entire run of the program, then there won't be an overflow of memory usage. Still though, when making a debug build of my program, I like to be able to de-allocate all resources because then I get a more simple report when the program ends. For a release build I don't mind leaving the harmless leaks in there.
Here's the output:
#0 0x7f0d36abf90f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x7f0d35a69e39 in FcPatternObjectInsertElt /opt/gitdir/fontconfig/src/fcpat.c:525
#2 0x7f0d35a6a56c in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:711
#3 0x7f0d35a6a68c in IA__FcPatternAdd /opt/gitdir/fontconfig/src/fcpat.c:745
#4 0x7f0d35a626f0 in FcListAppend /opt/gitdir/fontconfig/src/fclist.c:457
#5 0x7f0d35a62958 in IA__FcFontSetList /opt/gitdir/fontconfig/src/fclist.c:528
#6 0x7f0d370c857b (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xb57b)
Direct leak of 6912 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abe720 in __interceptor_realloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:85
#1 0x7f0d35a69dd7 in FcPatternObjectInsertElt /opt/gitdir/fontconfig/src/fcpat.c:516
#2 0x7f0d35a6a3b0 in FcPatternObjectListAdd /opt/gitdir/fontconfig/src/fcpat.c:650
#3 0x7f0d35a65159 in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:834
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Direct leak of 4608 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abe720 in __interceptor_realloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:85
#1 0x7f0d35a69dd7 in FcPatternObjectInsertElt /opt/gitdir/fontconfig/src/fcpat.c:516
#2 0x7f0d35a6a56c in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:711
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6ab04 in FcPatternObjectAddBool /opt/gitdir/fontconfig/src/fcpat.c:884
#5 0x7f0d35a54f9b in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:312
#6 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 86400 byte(s) in 2700 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a68c in IA__FcPatternAdd /opt/gitdir/fontconfig/src/fcpat.c:745
#4 0x7f0d35a626f0 in FcListAppend /opt/gitdir/fontconfig/src/fclist.c:457
#5 0x7f0d35a62958 in IA__FcFontSetList /opt/gitdir/fontconfig/src/fclist.c:528
#6 0x7f0d370c857b (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xb57b)
Indirect leak of 14111 byte(s) in 1373 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a6a68c in IA__FcPatternAdd /opt/gitdir/fontconfig/src/fcpat.c:745
#4 0x7f0d35a626f0 in FcListAppend /opt/gitdir/fontconfig/src/fclist.c:457
#5 0x7f0d35a62958 in IA__FcFontSetList /opt/gitdir/fontconfig/src/fclist.c:528
#6 0x7f0d370c857b (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xb57b)
Indirect leak of 9888 byte(s) in 309 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a690a4 in FcValueListAppend /opt/gitdir/fontconfig/src/fcpat.c:180
#3 0x7f0d35a64ada in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:747
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 9824 byte(s) in 307 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a690a4 in FcValueListAppend /opt/gitdir/fontconfig/src/fcpat.c:180
#3 0x7f0d35a64a74 in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:739
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 4396 byte(s) in 305 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a690cd in FcValueListAppend /opt/gitdir/fontconfig/src/fcpat.c:184
#3 0x7f0d35a64a74 in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:739
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 4256 byte(s) in 133 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a691ca in FcValueListDuplicate /opt/gitdir/fontconfig/src/fcpat.c:210
#3 0x7f0d35a65139 in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:834
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 3200 byte(s) in 100 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a691ca in FcValueListDuplicate /opt/gitdir/fontconfig/src/fcpat.c:210
#3 0x7f0d35a6501c in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:820
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 2560 byte(s) in 80 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a64e28 in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:783
#5 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#6 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 2016 byte(s) in 63 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a68c in IA__FcPatternAdd /opt/gitdir/fontconfig/src/fcpat.c:745
#4 0x7f0d35a6bf3d in IA__FcPatternBuild /opt/gitdir/fontconfig/src/fcpat.c:1239
#5 0x7f0d370ccaee (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfaee)
Indirect leak of 1895 byte(s) in 42 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a69246 in FcValueListDuplicate /opt/gitdir/fontconfig/src/fcpat.c:218
#3 0x7f0d35a6501c in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:820
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 1728 byte(s) in 54 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6ab04 in FcPatternObjectAddBool /opt/gitdir/fontconfig/src/fcpat.c:884
#5 0x7f0d35a54f9b in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:312
#6 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 927 byte(s) in 309 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a690cd in FcValueListAppend /opt/gitdir/fontconfig/src/fcpat.c:184
#3 0x7f0d35a64ada in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:747
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 864 byte(s) in 27 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6901a in FcValueListPrepend /opt/gitdir/fontconfig/src/fcpat.c:160
#3 0x7f0d35a64ada in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:747
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 832 byte(s) in 26 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6901a in FcValueListPrepend /opt/gitdir/fontconfig/src/fcpat.c:160
#3 0x7f0d35a64a74 in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:739
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 432 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf90f in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x7f0d35a5ff4a in IA__FcLangSetCreate /opt/gitdir/fontconfig/src/fclang.c:476
#2 0x7f0d35a5fffb in IA__FcLangSetCopy /opt/gitdir/fontconfig/src/fclang.c:504
#3 0x7f0d35a68ef6 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:118
#4 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#5 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#6 0x7f0d35a64e28 in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:783
#7 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#8 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a553ef in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:383
#5 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a55416 in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:384
#4 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6aa43 in FcPatternObjectAddString /opt/gitdir/fontconfig/src/fcpat.c:857
#5 0x7f0d35a554b0 in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:398
#6 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6a90c in FcPatternObjectAddInteger /opt/gitdir/fontconfig/src/fcpat.c:817
#5 0x7f0d35a554e8 in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:402
#6 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6aa43 in FcPatternObjectAddString /opt/gitdir/fontconfig/src/fcpat.c:857
#5 0x7f0d35a6aa7d in IA__FcPatternAddString /opt/gitdir/fontconfig/src/fcpat.c:863
#6 0x7f0d370ccb5e (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfb5e)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6aa43 in FcPatternObjectAddString /opt/gitdir/fontconfig/src/fcpat.c:857
#5 0x7f0d35a6aa7d in IA__FcPatternAddString /opt/gitdir/fontconfig/src/fcpat.c:863
#6 0x7f0d370ccb8f (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfb8f)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6aa43 in FcPatternObjectAddString /opt/gitdir/fontconfig/src/fcpat.c:857
#5 0x7f0d35a6aa7d in IA__FcPatternAddString /opt/gitdir/fontconfig/src/fcpat.c:863
#6 0x7f0d370ccbb7 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfbb7)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6a90c in FcPatternObjectAddInteger /opt/gitdir/fontconfig/src/fcpat.c:817
#5 0x7f0d35a6a944 in IA__FcPatternAddInteger /opt/gitdir/fontconfig/src/fcpat.c:823
#6 0x7f0d35f98a6d (/lib/x86_64-linux-gnu/libcairo.so.2+0xc0a6d)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6ab04 in FcPatternObjectAddBool /opt/gitdir/fontconfig/src/fcpat.c:884
#5 0x7f0d35a6ab3c in IA__FcPatternAddBool /opt/gitdir/fontconfig/src/fcpat.c:890
#6 0x7f0d35f98ae3 (/lib/x86_64-linux-gnu/libcairo.so.2+0xc0ae3)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6a90c in FcPatternObjectAddInteger /opt/gitdir/fontconfig/src/fcpat.c:817
#5 0x7f0d35a6a944 in IA__FcPatternAddInteger /opt/gitdir/fontconfig/src/fcpat.c:823
#6 0x7f0d35f989d9 (/lib/x86_64-linux-gnu/libcairo.so.2+0xc09d9)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6a90c in FcPatternObjectAddInteger /opt/gitdir/fontconfig/src/fcpat.c:817
#5 0x7f0d35a5523c in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:348
#6 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a553af in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:379
#4 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6ab04 in FcPatternObjectAddBool /opt/gitdir/fontconfig/src/fcpat.c:884
#5 0x7f0d35a6ab3c in IA__FcPatternAddBool /opt/gitdir/fontconfig/src/fcpat.c:890
#6 0x7f0d35f98b0a (/lib/x86_64-linux-gnu/libcairo.so.2+0xc0b0a)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6aa43 in FcPatternObjectAddString /opt/gitdir/fontconfig/src/fcpat.c:857
#5 0x7f0d35a552af in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:354
#6 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a55321 in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:373
#5 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a55348 in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:374
#4 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a55388 in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:378
#5 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 288 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6a98b in FcPatternObjectAddDouble /opt/gitdir/fontconfig/src/fcpat.c:833
#5 0x7f0d35a55204 in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:345
#6 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 256 byte(s) in 8 object(s) allocated from:
#0 0x7f0d36abf2d7 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f0d35a68f6b in FcValueListCreate /opt/gitdir/fontconfig/src/fcpat.c:136
#2 0x7f0d35a6a487 in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:687
#3 0x7f0d35a4d1ce in IA__FcConfigSubstituteWithPat /opt/gitdir/fontconfig/src/fccfg.c:2032
#4 0x7f0d35a4df20 in IA__FcConfigSubstitute /opt/gitdir/fontconfig/src/fccfg.c:2296
#5 0x7f0d3714d892 (/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0+0x7892)
Indirect leak of 207 byte(s) in 27 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a69246 in FcValueListDuplicate /opt/gitdir/fontconfig/src/fcpat.c:218
#3 0x7f0d35a65139 in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:834
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 189 byte(s) in 20 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a69040 in FcValueListPrepend /opt/gitdir/fontconfig/src/fcpat.c:164
#3 0x7f0d35a64a74 in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:739
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 117 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6aa43 in FcPatternObjectAddString /opt/gitdir/fontconfig/src/fcpat.c:857
#5 0x7f0d35a554b0 in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:398
#6 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 81 byte(s) in 27 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a69040 in FcValueListPrepend /opt/gitdir/fontconfig/src/fcpat.c:164
#3 0x7f0d35a64ada in IA__FcFontRenderPrepare /opt/gitdir/fontconfig/src/fcmatch.c:747
#4 0x7f0d35a65caf in IA__FcFontSetMatch /opt/gitdir/fontconfig/src/fcmatch.c:1050
#5 0x7f0d370c7596 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xa596)
Indirect leak of 69 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6aa43 in FcPatternObjectAddString /opt/gitdir/fontconfig/src/fcpat.c:857
#5 0x7f0d35a6aa7d in IA__FcPatternAddString /opt/gitdir/fontconfig/src/fcpat.c:863
#6 0x7f0d370ccb5e (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfb5e)
Indirect leak of 63 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6aa43 in FcPatternObjectAddString /opt/gitdir/fontconfig/src/fcpat.c:857
#5 0x7f0d35a6aa7d in IA__FcPatternAddString /opt/gitdir/fontconfig/src/fcpat.c:863
#6 0x7f0d370ccbb7 (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfbb7)
Indirect leak of 54 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a55348 in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:374
#4 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 54 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a553af in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:379
#4 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 54 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a55416 in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:384
#4 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 27 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6aa43 in FcPatternObjectAddString /opt/gitdir/fontconfig/src/fcpat.c:857
#5 0x7f0d35a552af in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:354
#6 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 27 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a55321 in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:373
#5 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 27 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a55388 in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:378
#5 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 27 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a553ef in IA__FcDefaultSubstitute /opt/gitdir/fontconfig/src/fcdefault.c:383
#5 0x7f0d370ccc6d (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfc6d)
Indirect leak of 24 byte(s) in 8 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a4d1ce in IA__FcConfigSubstituteWithPat /opt/gitdir/fontconfig/src/fccfg.c:2032
#4 0x7f0d35a4df20 in IA__FcConfigSubstitute /opt/gitdir/fontconfig/src/fccfg.c:2296
#5 0x7f0d3714d892 (/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0+0x7892)
Indirect leak of 19 byte(s) in 9 object(s) allocated from:
#0 0x7f0d36a73658 in __interceptor_strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:439
#1 0x7f0d35a68e89 in IA__FcValueSave /opt/gitdir/fontconfig/src/fcpat.c:103
#2 0x7f0d35a6a4ab in FcPatternObjectAddWithBinding /opt/gitdir/fontconfig/src/fcpat.c:691
#3 0x7f0d35a6a638 in FcPatternObjectAdd /opt/gitdir/fontconfig/src/fcpat.c:738
#4 0x7f0d35a6aa43 in FcPatternObjectAddString /opt/gitdir/fontconfig/src/fcpat.c:857
#5 0x7f0d35a6aa7d in IA__FcPatternAddString /opt/gitdir/fontconfig/src/fcpat.c:863
#6 0x7f0d370ccb8f (/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0+0xfb8f)
SUMMARY: AddressSanitizer: 244016 byte(s) leaked in 6529 allocation(s).