Bug#741628: rsync dies with "inflate returned -3"

2015-12-30 Thread Paul Slootman
Following up on this bug report, does anyone still get this error on
rsync 3.1.1?

If not, I'll mark this bug as fixed in 3.1.1.


Thanks,
Paul



Bug#741628: rsync dies with inflate returned -3

2014-06-24 Thread Nick Craig-Wood
I've been seeing this error too while transferring 1.5GB VM Images.
Turning compression off fixes it.

According to this it is something to do with how rsync was compiled -
whether it was using the internal or external zlib

https://bugzilla.samba.org/show_bug.cgi?id=10372

-- 
Nick Craig-Wood n...@craig-wood.com -- http://www.craig-wood.com/nick


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#741628: rsync dies with inflate returned -3

2014-05-27 Thread Hontvári József Levente
I have similar experience. I dumped a subversion repository and rsynced 
it. This is practically append only data. It worked for several days 
than it stopped with the error mentioned in this thread:


receiving incremental file list
repo-dump
   2.19G  99%   31.53MB/s0:00:00
inflate returned -3 (422 bytes)
rsync error: error in rsync protocol data stream (code 12) at 
token.c(548) [receiver=3.0.9]

rsync: connection unexpectedly closed (62 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) 
[generator=3.0.9]


Versions (rsync --version):
local (Ubuntu 13.10 saucy): : rsync  version 3.0.9  protocol version 30
remote (Ubuntu 14.04 trusty): rsync  version 3.1.0  protocol version 31

After adding --compress-level=0 to the original --compress option, so 
effectively turning off compression, the problem ceases.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#741628: Re: Bug#741628: rsync dies with inflate returned -3

2014-05-21 Thread Simon Deziel
On 14-03-14 02:59 PM, Paul Slootman wrote:
 On Fri 14 Mar 2014, Nigel Horne wrote:

 When using the -z flag of rsync, it dies with

 inflate returned -3 (0 bytes)
 rsync error: error in rsync protocol data stream (code 12) at token.c(548) 
 [receiver=3.0.9]
 rsync: writefd_unbuffered failed to write 4 bytes to socket [generator]: 
 Broken pipe (32)
 rsync error: error in rsync protocol data stream (code 12) at io.c(1532) 
 [generator=3.0.9]

 Removing the -z flag fixes it.
 
 Is this always, or only with certain data? If it's always, then it's
 probably related to the architecture / build, as I'm sure I would have
 been deluged by vast amounts of complaints if rsync always failed with
 -z ...
 
 If it's only with certain data, it would be great if you could supply a
 minimal case to reproduce the problem.

I can get the error 100% of the time by copying a 2G VM image that
changes only slightly (hostname/ip). The raw file is a sparse one.

In this example, xeon:/tmp has an older ns0.raw.

simon@laptop:~$ rsync -azSP ns0.raw xeon:/tmp/
sending incremental file list
ns0.raw
160,481,280   7%   51.00MB/s0:00:38
rsync: [sender] write error: Broken pipe (32)
inflate returned -3 (0 bytes)
rsync error: error in rsync protocol data stream (code 12) at
token.c(548) [receiver=3.0.9]
rsync error: error in rsync protocol data stream (code 12) at io.c(837)
[sender=3.1.0]


Since the failed rsync trashed xeon:/tmp/ns0.raw, I restore the original
(old) file on the destination then re-attempted:


simon@laptop:~$ rsync -azSP ns0.raw xeon:/tmp/
sending incremental file list
ns0.raw
160,612,352   7%   51.06MB/s0:00:38
rsync: [sender] write error: Broken pipe (32)
inflate returned -3 (0 bytes)
rsync error: error in rsync protocol data stream (code 12) at
token.c(548) [receiver=3.0.9]
rsync error: error in rsync protocol data stream (code 12) at io.c(837)
[sender=3.1.0]


Same failure but slightly later in the file. Leaving out the -z works
around the issue so does removing the destination's old copy.

Regards,
Simon


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#741628: rsync dies with inflate returned -3

2014-03-14 Thread Nigel Horne
Package: rsync
Version: 3.0.9-4
Severity: normal

When using the -z flag of rsync, it dies with

inflate returned -3 (0 bytes)
rsync error: error in rsync protocol data stream (code 12) at token.c(548) 
[receiver=3.0.9]
rsync: writefd_unbuffered failed to write 4 bytes to socket [generator]: Broken 
pipe (32)
rsync error: error in rsync protocol data stream (code 12) at io.c(1532) 
[generator=3.0.9]

Removing the -z flag fixes it.

-- System Information:
Debian Release: 7.2
Architecture: armhf (armv6l)

Kernel: Linux 3.10.25+ (PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rsync depends on:
ii  base-files  7.1wheezy2+rpi1
ii  libacl1 2.2.51-8
ii  libc6   2.13-38+rpi2
ii  libgcc1 1:4.7.2-5+rpi1
ii  libpopt01.16-7
ii  lsb-base4.1+Debian8+rpi1

rsync recommends no packages.

Versions of packages rsync suggests:
ii  openssh-client  1:6.0p1-4
ii  openssh-server  1:6.0p1-4

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#741628: rsync dies with inflate returned -3

2014-03-14 Thread Paul Slootman
On Fri 14 Mar 2014, Nigel Horne wrote:
 
 When using the -z flag of rsync, it dies with
 
 inflate returned -3 (0 bytes)
 rsync error: error in rsync protocol data stream (code 12) at token.c(548) 
 [receiver=3.0.9]
 rsync: writefd_unbuffered failed to write 4 bytes to socket [generator]: 
 Broken pipe (32)
 rsync error: error in rsync protocol data stream (code 12) at io.c(1532) 
 [generator=3.0.9]
 
 Removing the -z flag fixes it.

Is this always, or only with certain data? If it's always, then it's
probably related to the architecture / build, as I'm sure I would have
been deluged by vast amounts of complaints if rsync always failed with
-z ...

If it's only with certain data, it would be great if you could supply a
minimal case to reproduce the problem.


thanks,
Paul


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#741628: rsync dies with inflate returned -3

2014-03-14 Thread Nigel Horne

On 14/03/2014 14:59, Paul Slootman wrote:

On Fri 14 Mar 2014, Nigel Horne wrote:

When using the -z flag of rsync, it dies with

inflate returned -3 (0 bytes)
rsync error: error in rsync protocol data stream (code 12) at token.c(548) 
[receiver=3.0.9]
rsync: writefd_unbuffered failed to write 4 bytes to socket [generator]: Broken 
pipe (32)
rsync error: error in rsync protocol data stream (code 12) at io.c(1532) 
[generator=3.0.9]

Removing the -z flag fixes it.

Is this always, or only with certain data? If it's always, then it's
probably related to the architecture / build, as I'm sure I would have
been deluged by vast amounts of complaints if rsync always failed with
-z ...

If it's only with certain data, it would be great if you could supply a
minimal case to reproduce the problem.
I've only seen it with very large files (say 1 or 2 G in size). That may 
or may not be relevant.  FWIW, I've also seen it on a
PPC machine.  I don't know if that's relevant or not.  Both machines 
were copying from a x64_64 machine.



thanks,
Paul

Regards,

-Nigel



smime.p7s
Description: S/MIME Cryptographic Signature