definite data corruption in 2.5.0 with -z option

rsync at rsync at
Thu Dec 13 13:33:06 EST 2001

>Please keep the two directories that caused the problems, if they have
>not already been overwritten.

They've been overwritten, but the problem is easy to recreate.

I did diff the correct and incorrect versions of the file. A whole
bunch of instances of the word "for" were turned into "foF". Weird.

>Are you sure you're running 2.5.0 at both ends?


>Are you using rsh or ssh?


After I sent my note, I ran some more experiments and found the
problem goes away if I use the default checksum blocksize. So the
problem occurs *only* if I use a large blocksize (65536) *and* enable

>David: I suspect this might be because the "bit length overflow"
>message is being emitted by one end, getting into stderr, and
>therefore corrupting the stream.  If this is true, you should be able
>to avoid it by upgrading to 2.5.1pre.

I'll give that a try.


More information about the rsync mailing list