so now i am re-running tests with the new packages you sent. # valgrind --leak-check=full fc-cache -f -v /usr/local/share/fonts/TrueType/B/ ==5189== Memcheck, a memory error detector for x86-linux. ==5189== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==5189== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==5189== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==5189== For more details, rerun with: -v ==5189== fc-cache: "/usr/local/share/fonts/TrueType/B/": caching, 236 fonts, 0 dirs fc-cache: succeeded ==5189== ==5189== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 20 from 1) ==5189== malloc/free: in use at exit: 630 bytes in 38 blocks. ==5189== malloc/free: 59426 allocs, 59388 frees, 39490771 bytes allocated. ==5189== For counts of detected errors, rerun with: -v ==5189== searching for pointers to 38 not-freed blocks. ==5189== checked 152120 bytes. ==5189== ==5189== LEAK SUMMARY: ==5189== definitely lost: 0 bytes in 0 blocks. ==5189== possibly lost: 0 bytes in 0 blocks. ==5189== still reachable: 630 bytes in 38 blocks. ==5189== suppressed: 0 bytes in 0 blocks. ==5189== Reachable blocks (those to which a pointer was found) are not shown. ==5189== To see them, rerun with: --show-reachable=yes
i'm not sure about what all this means, but the "ERROR SUMMARY: 0 errors" part sounds pretty good. # valgrind --leak-check=full fc-cache -f ==5209== Memcheck, a memory error detector for x86-linux. ==5209== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==5209== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==5209== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==5209== For more details, rerun with: -v ==5209== ==5209== ==5209== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 22 from 1) ==5209== malloc/free: in use at exit: 658 bytes in 40 blocks. ==5209== malloc/free: 7990951 allocs, 7990911 frees, 1645410344 bytes allocated. ==5209== For counts of detected errors, rerun with: -v ==5209== searching for pointers to 40 not-freed blocks. ==5209== checked 152120 bytes. ==5209== ==5209== 12 bytes in 1 blocks are definitely lost in loss record 1 of 3 ==5209== at 0x1B90459D: malloc (vg_replace_malloc.c:130) ==5209== by 0x1B9366E2: FcFontSetCreate (fcfs.c:33) ==5209== by 0x8048D84: (within /usr/bin/fc-cache) ==5209== by 0x80491B8: (within /usr/bin/fc-cache) ==5209== by 0x1B966E35: __libc_start_main (libc-start.c:242) ==5209== by 0x8048B20: (within /usr/bin/fc-cache) ==5209== ==5209== ==5209== 16 bytes in 1 blocks are definitely lost in loss record 2 of 3 ==5209== at 0x1B90459D: malloc (vg_replace_malloc.c:130) ==5209== by 0x1B93DF22: FcStrSetCreate (fcstr.c:844) ==5209== by 0x8048D93: (within /usr/bin/fc-cache) ==5209== by 0x80491B8: (within /usr/bin/fc-cache) ==5209== by 0x1B966E35: __libc_start_main (libc-start.c:242) ==5209== by 0x8048B20: (within /usr/bin/fc-cache) ==5209== ==5209== LEAK SUMMARY: ==5209== definitely lost: 28 bytes in 2 blocks. ==5209== possibly lost: 0 bytes in 0 blocks. ==5209== still reachable: 630 bytes in 38 blocks. ==5209== suppressed: 0 bytes in 0 blocks. ==5209== Reachable blocks (those to which a pointer was found) are not shown. ==5209== To see them, rerun with: --show-reachable=yes so it looks like a small leak is present when all the fonts directories are traversed. the bug i reported is fixed. fc-cache -f no longer runs out of memory when it is scanning all my fonts. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]