pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

OS X default rsync doesn't start transfer with NetBSD pkgsrc rsync


I have trouble transferring data with rsync between an OSX (10.8.2)
and NetBSD-6.99.15/amd64 machine. There is no ssh server running on
the OSX machine, so I start the rsync from there, but it immediately

Here's the output of a run with a few -v:

# rsync -vvvv netbsd-host:notes.txt .
cmd= machine=netbsd-host user= path=notes.txt
cmd[0]=ssh cmd[1]=netbsd-host cmd[2]=rsync cmd[3]=--server cmd[4]=--sender 
cmd[5]=-vvvv cmd[6]=. cmd[7]=notes.txt 
opening connection using ssh netbsd-host rsync --server --sender -vvvv . 
wiz@netbsd-host's password: 
(Server) Protocol versions: remote=29, negotiated=29
(Client) Protocol versions: remote=30, negotiated=29
server_sender starting pid=24641
[sender] make_file(notes.txt,*,0)
overflow: flags=0xe8 l1=3 l2=6553600 lastname=notes.txt
ERROR: buffer overflow in receive_file_entry [receiver]
_exit_cleanup(code=22, file=/SourceCache/rsync/rsync-42/rsync/util.c, 
line=121): entered
rsync error: error allocating core memory buffers (code 22) at 
/SourceCache/rsync/rsync-42/rsync/util.c(121) [receiver=2.6.9]
_exit_cleanup(code=22, file=/SourceCache/rsync/rsync-42/rsync/util.c, 
line=121): about to call exit(22)

The rsync on OSX is the one coming with the base system, i.e. 2.6.9.
On NetBSD, it's the latest pkgsrc version, 3.0.9. The difference
between protocols 29 and 30, AFAICT, is that the hash changed from md4
to md5; but since "negotiated=29" I thought that shouldn't be a

Has anyone else seen this?

Is there a workaround? (I will probably install pkgsrc on the OSX
eventually but for now I'd prefer a solution with the existing rsync.)


Home | Main Index | Thread Index | Old Index