i'm trying to use latest CVS rsync, but i'm getting these errors:
*** glibc detected *** rsync: munmap_chunk(): invalid pointer:
0x0d757d58 ***
======= Backtrace: ========/lib/i686/cmov/libc.so.6(cfree+0x1bb)[0xb7eeffeb]
rsync[0x807f2f0]
rsync[0x804bc22]
rsync[0x8056a5d]
rsync[0x8056e83]
rsync[0x806101a]
rsync[0x8061869]
rsync[0x8062bf8]
rsync[0x8077fef]
rsync[0x80623a6]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7e99030]
rsync[0x804ab21]
======= Memory map: =======08048000-08096000 r-xp 00000000 08:41 8028848
/usr/bin/rsync
08096000-08098000 rw-p 0004e000 08:41 8028848 /usr/bin/rsync
08098000-0e6d6000 rw-p 08098000 00:00 0 [heap]
b78c8000-b7ac9000 rw-p b7ce3000 00:00 0
b7c39000-b7c43000 r-xp 00000000 08:41 3751949 /lib/libgcc_s.so.1
b7c43000-b7c44000 rw-p 00009000 08:41 3751949 /lib/libgcc_s.so.1
b7c4b000-b7c54000 r-xp 00000000 08:41 3752996
/lib/i686/cmov/libnss_files-2.6.so
b7c54000-b7c56000 rw-p 00008000 08:41 3752996
/lib/i686/cmov/libnss_files-2.6.so
b7c56000-b7c5e000 r-xp 00000000 08:41 3752998
/lib/i686/cmov/libnss_nis-2.6.so
b7c5e000-b7c60000 rw-p 00007000 08:41 3752998
/lib/i686/cmov/libnss_nis-2.6.so
b7c60000-b7c74000 r-xp 00000000 08:41 3752993
/lib/i686/cmov/libnsl-2.6.so
b7c74000-b7c76000 rw-p 00013000 08:41 3752993
/lib/i686/cmov/libnsl-2.6.so
b7c76000-b7c78000 rw-p b7c76000 00:00 0
b7c78000-b7c7f000 r-xp 00000000 08:41 3752994
/lib/i686/cmov/libnss_compat-2.6.so
b7c7f000-b7c81000 rw-p 00006000 08:41 3752994
/lib/i686/cmov/libnss_compat-2.6.so
b7d04000-b7d25000 rw-p b7d04000 00:00 0
b7d46000-b7e7e000 r--p 00000000 08:41 8044989
/usr/lib/locale/locale-archive
b7e7e000-b7e7f000 rw-p b7e7e000 00:00 0
b7e7f000-b7e82000 r-xp 00000000 08:41 3752004 /lib/libattr.so.1.1.0
b7e82000-b7e83000 rw-p 00002000 08:41 3752004 /lib/libattr.so.1.1.0
b7e83000-b7fc4000 r-xp 00000000 08:41 3752986 /lib/i686/cmov/libc-2.6.so
b7fc4000-b7fc5000 r--p 00141000 08:41 3752986 /lib/i686/cmov/libc-2.6.so
b7fc5000-b7fc7000 rw-p 00142000 08:41 3752986 /lib/i686/cmov/libc-2.6.so
b7fc7000-b7fcb000 rw-p b7fc7000 00:00 0
b7fcb000-b7fd2000 r-xp 00000000 08:41 3752103 /lib/libpopt.so.0.0.0
b7fd2000-b7fd3000 rw-p 00006000 08:41 3752103 /lib/libpopt.so.0.0.0
b7fd3000-b7fd8000 r-xp 00000000 08:41 3752038 /lib/libacl.so.1.1.0
b7fd8000-b7fd9000 rw-p 00005000 08:41 3752038 /lib/libacl.so.1.1.0
b7fe0000-b7fe2000 rw-p b7fe0000 00:00 0
b7fe2000-b7ffe000 r-xp 00000000 08:41 3751940 /lib/ld-2.6.so
b7ffe000-b8000000 rw-p 0001b000 08:41 3751940 /lib/ld-2.6.so
bf90f000-bf924000 rw-p bf90f000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (5399764 bytes received so far)
[sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(605)
[sender=3.0.0cvs]
it started happening like 3-4 months ago, always when i try to backup
something. i've been updating rsync to latest CVS almost every day, but
the error keeps showing up ( i tried like 10 different versions - all
3.0CVS )
i can't use version 2.x because it tries to put list of every file in
memory, and i'm trying to backup 5 000 000 files, and 4GB of ram is too
small for this it seems.
version 3.x handles big number of files very well, but it is getting
errors like this.
i've used kernel 2.6.17, 2.6.18, 2.6.19, 2.6.20, 2.6.21 and now 2.6.22.1
and it's all the same. i even upgraded glibc 2 times durning this time,
and almost every other package, and it is still hapening, so i'm pretty
sure it's rsync bug.
i hoped that 3-4 months of development will help it, but since it
doesnt, i'm trying to get some help from you.
system is Linux Debian, it was etch (stable), now it's lenny.
libc6 is 2.6-2 but it was 2.5 and the same thing was happening