Problem syncing large dataset

Matt McCutchen matt at
Thu Jan 15 17:33:39 GMT 2009

On Thu, 2009-01-15 at 17:33 +0100, Maarten Thibaut wrote:
> When using rsync-3.0.2 through 3.0.5, I get this error on a large 
> dataset syncing from machine-a to machine-b:
> $ /bin/rsync -aHSz /local/. machine-b:/local/.
> invalid len passed to map_ptr: -1737287498
> rsync error: error in file IO (code 11) at fileio.c(188) [sender=3.0.5]

It looks like you have a large file that is overflowing a 32-bit length
variable.  This would be considered a bug in rsync.  It would be a great
help if you would run the sending rsync under gdb:

gdb --args /bin/rsync -aHSz /local/. machine-b:/local/.

put a breakpoint on the line that prints that error message
(fileio.c:186 in rsync 3.0.5) and post the stack trace so we can see
which code path is failing to prevent overflow.


More information about the rsync mailing list