Jim Meyering <[EMAIL PROTECTED]> writes: > However, I'm not able to reproduce that with 5.93 and a small > hierarchy created like this (on a RHEL 2.4.28-sparc system):
I can reproduce the problem as follows on a Debian GNU/Linux stable x86 system: 526-penguin $ mkdir d 527-penguin $ cd d 528-penguin $ mkdir -p {a,b,c}/{c,d,e}/{c,d,e} 529-penguin $ valgrind chmod 600 `find ./` ==9774== Memcheck, a memory error detector for x86-linux. ==9774== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==9774== Using valgrind-2.4.0, a program supervision framework for x86-linux. ==9774== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==9774== For more details, rerun with: -v ==9774== chmod: fts_read failed: Permission denied ==9774== Invalid read of size 4 ==9774== at 0x804B7B1: fts_close (fts.c:363) ==9774== by 0x8049D9F: main (chmod.c:313) ==9774== Address 0x1BA553F4 is 44 bytes inside a block of size 162 free'd ==9774== at 0x1B904B04: free (vg_replace_malloc.c:152) ==9774== by 0x804C50A: fts_read (fts.c:517) ==9774== by 0x80494FD: main (chmod.c:295) ==9774== ==9774== Invalid read of size 4 ==9774== at 0x804B7D1: fts_close (fts.c:365) ==9774== by 0x8049D9F: main (chmod.c:313) ==9774== Address 0x1BA553D0 is 8 bytes inside a block of size 162 free'd ==9774== at 0x1B904B04: free (vg_replace_malloc.c:152) ==9774== by 0x804C50A: fts_read (fts.c:517) ==9774== by 0x80494FD: main (chmod.c:295) ==9774== ==9774== Invalid free() / delete / delete[] ==9774== at 0x1B904B04: free (vg_replace_malloc.c:152) ==9774== by 0x804B7C7: fts_close (fts.c:366) ==9774== by 0x8049D9F: main (chmod.c:313) ==9774== Address 0x1BA553C8 is 0 bytes inside a block of size 162 free'd ==9774== at 0x1B904B04: free (vg_replace_malloc.c:152) ==9774== by 0x804C50A: fts_read (fts.c:517) ==9774== by 0x80494FD: main (chmod.c:295) ==9774== ==9774== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 13 from 1) ==9774== malloc/free: in use at exit: 24 bytes in 1 blocks. ==9774== malloc/free: 49 allocs, 49 frees, 11509 bytes allocated. ==9774== For counts of detected errors, rerun with: -v ==9774== searching for pointers to 1 not-freed blocks. ==9774== checked 77848 bytes. ==9774== ==9774== LEAK SUMMARY: ==9774== definitely lost: 0 bytes in 0 blocks. ==9774== possibly lost: 0 bytes in 0 blocks. ==9774== still reachable: 24 bytes in 1 blocks. ==9774== suppressed: 0 bytes in 0 blocks. ==9774== Reachable blocks (those to which a pointer was found) are not shown. ==9774== To see them, rerun with: --show-reachable=yes 530-penguin $ _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils