rsync crash behind a firewall [cygwin]

Voelker, Bernhard bernhard.voelker at siemens-enterprise.com
Mon Sep 5 09:10:32 MDT 2011


As part of coreutils' bootstrap, rsync crashes on cygwin:

  $ /usr/bin/rsync \
    --delete \
    --exclude '*.s1' \
    -Lrtvz 'translationproject.org::tp/latest/coreutils/' \
    'po/.reference'
  rsync: failed to connect to translationproject.org (*inet_ntop failed*): Connection refused (111)
  Segmentation fault (core dumped)

  $ cat rsync.exe.stackdump
  Exception: STATUS_ACCESS_VIOLATION at eip=0042C160
  eax=00000000 ebx=00000002 ecx=00000000 edx=00000000 esi=004F860C edi=0022A7EC
  ebp=0022BC28 esp=0022A7A0 program=D:\cygwin\bin\rsync.exe, pid 10172, thread main
  cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
  Stack trace:
  Frame     Function  Args
  0022BC28  0042C160  (004F85A8, 00000369, 00000000, 00000000)
  0022BC98  0042C8A0  (004F85A8, 00000369, 00000000, 00000000)
  0022BCD8  0043775D  (004F85A8, 00000001, 004E8410, 00000001)
  0022CD58  0041BCA9  (61244087, 00000000, 0022CD98, 61007038)
  0022CD98  61007038  (00000000, 0022CDD4, 61006980, 7FFDB000)
  End of stack trace

  $ /usr/bin/rsync --version
  rsync  version 3.0.8  protocol version 30
  Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
  Web site: http://rsync.samba.org/
  Capabilities:
      64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
      socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
      append, ACLs, xattrs, no iconv, symtimes

  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.

This is reproduceable in Cygwin both on on XP and Win7; uname -a:
CYGWIN_NT-6.1-WOW64 MYWIN7 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
CYGWIN_NT-5.1 MYXP 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

I'm behind a corporate firewall which doesn't permit outgoing connections,
but why does rsync crash _after_ issueing the error message?
Or is it a Cygwin issue?

Have a nice day,
Berny


More information about the rsync mailing list