> Could you manage to run fc-cache on each directory separately until you > find one which shows memory leaks? > > # valgrind --leak-check=full fc-cache -f -v /usr/local/share/fonts > > replacing /usr/local/share/fonts with suitable directories until you get > leaks displayed?
i'm not sure whether this is a leak or a normal report, but the first subdirectory i picked finished and reported some data. # valgrind --leak-check=full fc-cache -f -v /usr/local/share/fonts/TrueType/B/ ==8225== Memcheck, a memory error detector for x86-linux. ==8225== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==8225== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==8225== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==8225== For more details, rerun with: -v ==8225== fc-cache: "/usr/local/share/fonts/TrueType/B/": caching, 236 fonts, 0 dirs fc-cache: succeeded ==8225== ==8225== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 23 from 1) ==8225== malloc/free: in use at exit: 164459538 bytes in 10081 blocks. ==8225== malloc/free: 71417 allocs, 61336 frees, 204891554 bytes allocated. ==8225== For counts of detected errors, rerun with: -v ==8225== searching for pointers to 10081 not-freed blocks. ==8225== checked 3383208 bytes. ==8225== ==8225== 12 bytes in 1 blocks are definitely lost in loss record 1 of 6 ==8225== at 0x1B90459D: malloc (vg_replace_malloc.c:130) ==8225== by 0x1B914867: ??? ==8225== by 0x1B938809: gen_steps (gconv_db.c:276) ==8225== by 0x1B938AB9: find_derivation (gconv_db.c:621) ==8225== by 0x1B939075: __gconv_find_transform (gconv_db.c:722) ==8225== by 0x1B937A6C: __gconv_open (gconv_open.c:172) ==8225== by 0x1B9376E4: iconv_open (iconv_open.c:54) ==8225== by 0x4175888D: (within /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x4175A0ED: FcFreeTypeQuery (in /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x417581EE: FcFileScanConfig (in /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x417586BB: FcDirScanConfig (in /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x41758747: FcDirScan (in /usr/lib/libfontconfig.so.1.0.4) ==8225== ==8225== ==8225== 161227840 (271040 direct, 160956800 indirect) bytes in 3388 blocks aredefinitely lost in loss record 4 of 6 ==8225== at 0x1B90459D: malloc (vg_replace_malloc.c:130) ==8225== by 0x1B937AB9: __gconv_open (gconv_open.c:190) ==8225== by 0x1B9376E4: iconv_open (iconv_open.c:54) ==8225== by 0x4175888D: (within /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x4175A0ED: FcFreeTypeQuery (in /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x417581EE: FcFileScanConfig (in /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x417586BB: FcDirScanConfig (in /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x41758747: FcDirScan (in /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x8048E2E: (within /usr/bin/fc-cache) ==8225== by 0x80491B8: (within /usr/bin/fc-cache) ==8225== by 0x1B936E35: __libc_start_main (libc-start.c:242) ==8225== by 0x8048B20: (within /usr/bin/fc-cache) ==8225== ==8225== ==8225== 3231360 bytes in 99 blocks are possibly lost in loss record 5 of 6 ==8225== at 0x1B90459D: malloc (vg_replace_malloc.c:130) ==8225== by 0x1B937BBB: __gconv_open (gconv_open.c:277) ==8225== by 0x1B9376E4: iconv_open (iconv_open.c:54) ==8225== by 0x4175888D: (within /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x4175A0ED: FcFreeTypeQuery (in /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x417581EE: FcFileScanConfig (in /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x417586BB: FcDirScanConfig (in /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x41758747: FcDirScan (in /usr/lib/libfontconfig.so.1.0.4) ==8225== by 0x8048E2E: (within /usr/bin/fc-cache) ==8225== by 0x80491B8: (within /usr/bin/fc-cache) ==8225== by 0x1B936E35: __libc_start_main (libc-start.c:242) ==8225== by 0x8048B20: (within /usr/bin/fc-cache) ==8225== ==8225== LEAK SUMMARY: ==8225== definitely lost: 271052 bytes in 3389 blocks. ==8225== indirectly lost: 160956800 bytes in 6573 blocks. ==8225== possibly lost: 3231360 bytes in 99 blocks. ==8225== still reachable: 326 bytes in 20 blocks. ==8225== suppressed: 0 bytes in 0 blocks. ==8225== Reachable blocks (those to which a pointer was found) are not shown. ==8225== To see them, rerun with: --show-reachable=yes -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]