public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: cygwin Rsync x32 issue
Date: Sun, 14 Feb 2021 19:01:18 -0500	[thread overview]
Message-ID: <d1d566fd-d4ac-4838-b5f2-6479cc5aa1e3@cornell.edu> (raw)
In-Reply-To: <cad3a794-d335-0522-689b-d8a4b826a723@jbrain.com>

On 2/13/2021 11:33 PM, Jim Brain wrote:
> I perused the archive and did not see anything noted about this, but please 
> forgive me if it's been discussed.
> 
> Server: ubuntu 2004, running rsync 3.1.3 protocol version 31
> 
> client Windows 10 x64.
> 
> When calling rsync x64 3.2.4dev, transfer works fine.
> 
> When using rsync x32 3.2.4dev, downloaded last night, same transfer fails, with:
> 
> "
> 
> dup() in/out/err failed
> rsync: connection unexpectedly closed (0 bytes received so far) [sender]
> [sender] _exit_cleanup(code=12, file=io.c, line=228): entered
> rsync error: error in rsync protocol data stream (code 12) at io.c(228) 
> [sender=3.2.4dev]
> [sender] _exit_cleanup(code=12, file=io.c, line=228): about to call exit(12)
> 
> "
> 
> cwrsync fails in the same way.
> 
> Sadly, I would ignore and just use x64 rsync (as I normally do on my system 
> here), but this is to set up a sync job for a elderly user who wants to update 
> his web site and only has Windows x32 bit.
> 
> Any help would be most appreciated.  I can probably come up with an alternate 
> solution (scp or zip/ftp) but rsync seemed a clean approach to ensuring his 
> local version of the site and the web version stayed in sync.

There was a bug in Cygwin's implementation of fstatat(2) that was recently 
reported and fixed.  It affected 32-bit only.  On the chance that you've bumped 
into the same bug, you could try a snapshot of cygwin1.dll to see if that fixes 
the problem:

   https://cygwin.com/snapshots/

Ken

  parent reply	other threads:[~2021-02-15  0:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-14  4:33 Jim Brain
2021-02-14  5:39 ` Brian Inglis
2021-02-14  5:55   ` Jim Brain
2021-02-15  0:01 ` Ken Brown [this message]
2021-02-15  2:04   ` Jim Brain
2021-02-15  2:21     ` Ken Brown
2021-02-15  2:48       ` Jim Brain
2021-02-15 23:18         ` Ken Brown
2021-02-16  1:57           ` Jim Brain
2021-02-16  2:11             ` Jim Brain
2021-02-16 12:30           ` Ken Brown
2021-02-16 23:32             ` Jim Brain
2021-02-18  6:35       ` Andrey Repin
2021-02-18 21:50         ` Ken Brown
  -- strict thread matches above, loose matches on Subject: below --
2020-12-13 22:49 Jim Brain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d1d566fd-d4ac-4838-b5f2-6479cc5aa1e3@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).