Re: deflate on token returned 0 - rsync error: error in protocol data stream
Heiko Schlittermann via rsync <[email protected]>
| Newsgroups | gmane.network.rsync.general |
|---|---|
| Organization | schlittermann -- internet & unix support |
| Message-ID | <[email protected]> |
Hi, Heiko Schlittermann via rsync <[email protected]> (Mi 20 Okt 2021 10:56:51 CEST): > Hello, > > we're using rsync on SLES 12 SP 5 on both sides (for detailed version > info see below) and we're experiencing the following issue on the > sender's side: … > deflate on token returned 0 (22199 bytes left) > rsync error: error in rsync protocol data stream (code 12) at token.c(427) [sender=3.1.3] I manged to create a reproducer: https://code.schlittermann.de/heiko/rsync-bug/src/commit/d8176333f8ef08b7dbf7957c83055677cddcc080/bug Several times in a row if successfully reproduced the issue on SLES12SP5, using Rsync 3.1.3 (connection to localhost, so identical rsyncs on both sides of the connection) If you can confirm that this is a bug that is fixed already, then it would be enough for us for pushing the Distro maintainer to backport the fix or whatever their policy allows. ======8<------------------ #!/bin/bash set -eu size=1029 cd ${1:?Usage $0 DIR} echo --------------------- echo rsync: $(rsync --version | grep version) hostnamectl | grep 'Operating System' | sed 's/^\s*//' echo ---------------------- echo Creating src file ${size}MiB dd status=progress if=/dev/urandom of=fail-src bs=1M count=$size iflag=fullblock echo Local copy to avoid initial transfer cp -a fail-{src,dst} echo Touch source touch fail-src echo Trigger the bug now rsync -Pv -z fail-src localhost:$PWD/fail-dst ======8<------------------ Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted messages are welcome --------------- key ID: F69376CE - -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEE0L/WueylaUpvFJ3Or0zGdqa2wUIFAmFykVwACgkQr0zGdqa2 wULOsgf/Rz2zZWg1gO1uIOUaFVH9qjiGVlcRMvAs/fLz+QA5BFfN7dgCGBKcdm0C Cd/8uLdPk3KtyDdfnBx9k2+lE8LKAF5R9L1AQix/EyAxTXuelptg+gos2DJirtst eg1wbwSmBPbD0MjjEshLPMctyk86xjZjId5+JriqUGMWdU3twTPrXPh8dDu7EpPv vKIq0E+LFi+I/j/TOM7WhFn8hJwEYMMgYN+LutQEkGmt0ST2vDnw/hZBKOD4twph ezr4xKfg5yZmZm5LxDESzdkBN4dLfIvWfAx+WE/jYap1DHVPM2QsOlQaYO7BjoWQ LaPNHEsZfWW0LyLiObq8RFFQS7Dn8A== =EEbO -----END PGP SIGNATURE-----