[Bug 1971932] Re: error in rsync protocol data stream
Lena Voytek
1971932 at bugs.launchpad.net
Mon May 16 17:07:44 UTC 2022
I attempted to reproduce by running the command through localhost over
ssh and it succeeded using a 3GB file. This may be due to the transfer
between Ubuntu and Debian then. Here is my test case:
# lxc launch images:ubuntu/jammy test-rsync
# lxc exec test-rsync bash
# apt update && apt dist-upgrade -y
# apt install rsync openssh-server
# passwd ubuntu
# su ubuntu
# cd
# mkdir dest
# head -c 3GB /dev/urandom > test
# rsync -avz --stats -e ssh test localhost:~/dest/
@jmbaudach can you try to transfer your over 2GB file locally with ssh
to see if it fails there. That will help us narrow down the issue.
Thanks!
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/1971932
Title:
error in rsync protocol data stream
Status in rsync package in Ubuntu:
Incomplete
Bug description:
When synchronizing to other systems, rsync exits with "error in rsync
protocol data stream (code 12)".
The problem occurs since ubuntu 22.04 LTS with two different
destination systems not running ubuntu but plain debian. The error did
not occur under 20.04 LTS.
Synchronisation runs fine for most other files, but always stops at
the same (relative large) file. The file itself has also been changed
on a test basis to make sure the file is not the problem itself.
Log snippet:
------------
...
chunk[46131] len=46120 offset=2127561720 sum1=2f48caf4
chunk[46132] len=46120 offset=2127607840 sum1=5dfcb4ee
chunk[46133] len=46120 offset=2127653960 sum1=d1037d81
chunk[46134] len=8870 offset=2127700080 sum1=6deedc97
send_files mapped /path/backup/subdir/.thunderbird/profile/ImapMail/imap.domain.com/INBOX of size 2135722584
calling match_sums /path/backup/subdir/.thunderbird/profile/ImapMail/imap.domain.com/INBOX
built hash table
hash search b=46120 len=2135722584
sum=1e1722dc k=46120
hash search s->blength=46120 len=2135722584 count=46135
potential match at 0 i=0 sum=1e1722dc
match at 0 last_match=0 j=0 len=46120 n=0
potential match at 46120 i=1 sum=c482d6b6
match at 46120 last_match=46120 j=1 len=46120 n=0
potential match at 92240 i=2 sum=b21c7e11
match at 92240 last_match=92240 j=2 len=46120 n=0
potential match at 138360 i=3 sum=d066473a
match at 138360 last_match=138360 j=3 len=46120 n=0
potential match at 184480 i=4 sum=a32a2984
match at 184480 last_match=184480 j=4 len=46120 n=0
potential match at 230600 i=5 sum=39cc049f
match at 230600 last_match=230600 j=5 len=46120 n=0
potential match at 276720 i=6 sum=ad3de98a
match at 276720 last_match=276720 j=6 len=46120 n=0
potential match at 322840 i=7 sum=83e16fa9
match at 322840 last_match=322840 j=7 len=46120 n=0
deflate on token returned 0 (8512 bytes left)
rsync error: error in rsync protocol data stream (code 12) at token.c(476) [sender=3.2.3]
[sender] _exit_cleanup(code=12, file=token.c, line=476): entered
[sender] _exit_cleanup(code=12, file=token.c, line=476): about to call exit(12)
Sender system: (rsync 3.2.3-8ubuntu3)
-------------------------------------
rsync version 3.2.3 protocol version 31
Copyright (C) 1996-2020 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, hardlink-specials, symlinks, IPv6, atimes,
batchfiles, inplace, append, ACLs, xattrs, optional protect-args, iconv,
symtimes, prealloc, stop-at, no crtimes
Optimizations:
SIMD, no asm, openssl-crypto
Checksum list:
xxh128 xxh3 xxh64 (xxhash) md5 md4 none
Compress list:
zstd lz4 zlibx zlib none
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
Recipient systems: (rsync 3.1.3-6)
----------------------------------
rsync version 3.1.3 protocol version 31
Copyright (C) 1996-2018 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, prealloc
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1971932/+subscriptions
More information about the foundations-bugs
mailing list