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
Hi Wayne, is it 3fd0357f9f9667154f81fa3bb78df5b5063c1684 and fb0d4403f0692ab409df942ff8e13f638ce01ad7 which fix this issue? Have a nice day, Berny -----Original Message----- From: rsync-bounces at lists.samba.org [mailto:rsync-bounces at lists.samba.org] On Behalf Of Voelker, Bernhard Sent: Monday, September 05, 2011 5:11 PM To: rsync at lists.samba.org Subject: rsync crash behind a firewall [cygwin] 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 -- 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
On Mon, Sep 5, 2011 at 8:10 AM, Voelker, Bernhard < bernhard.voelker at siemens-enterprise.com> wrote:> but why does rsync crash _after_ issueing the error message? >See the freeaddrinfo fix (git show 5fed6c07). This fix is in 3.0.9pre2, and 3.0.9 will be released shortly. ..wayne.. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20110913/8459a0c5/attachment.html>
Wayne Davison wrote:> On Mon, Sep 5, 2011 at 8:10 AM, Voelker, Bernhard <bernhard.voelker at siemens-enterprise.com> wrote: > > > but why does rsync crash _after_ issueing the error message? > > See the freeaddrinfo fix (git show 5fed6c07). This fix is in 3.0.9pre2, and 3.0.9 will be released shortly.I see, thanks! Have a nice day, Berny