Re: pipe hang issue when running as SYSTEM

2022-03-25 Thread Jeremy Drake via Cygwin
On Fri, 25 Mar 2022, Takashi Yano wrote: > I can confirm the sample script hangs indeed if the script is > running as SYSTEM account. However, in my test, the patch solves > the issue. > > It would be very helpfull if a simple github repository with > github actions, which can reproduce the issue,

Re: pipe hang issue when running as SYSTEM

2022-03-25 Thread Roumen Petrov
Hi, Takashi Yano wrote: [SNIP] Just got another report to MSYS2 of this behavior, this time from a Gitlab CI runner that is running as a service and trying to pipe output from Microsoft cl.exe while running configure. This user reports that 3.3.4 with your "[PATCH v2] Cygwin: pipe: Avoid deadl

Re: rsync gives me error 12

2022-03-25 Thread Adam Dinwoodie
On Thu, Mar 24, 2022 at 12:22:12AM -0500, Neil Aggarwal wrote: > I am trying to use rsync to pull all backups from a linux server > to my local Windows machine. > > I tried this rsync command: > > $ rsync --debug=ALL -e ssh r...@marketing.propfinancing.com:/var/www/svnDumps > /cygdrive/c/Tmp > >

Re: pipe hang issue when running as SYSTEM

2022-03-25 Thread Takashi Yano
On Fri, 25 Mar 2022 00:09:59 -0700 (PDT) Jeremy Drake wrote: > On Fri, 25 Mar 2022, Takashi Yano wrote: > > > I can confirm the sample script hangs indeed if the script is > > running as SYSTEM account. However, in my test, the patch solves > > the issue. > > > > It would be very helpfull if a sim

RE: rsync gives me error 12

2022-03-25 Thread Neil Aggarwal
> I suspect the `-e ssh` part is the problem here. That's supposed to > specify the remote shell, not the method for connecting. What are you > attempting to achieve with that? I am trying to do the sync over an SSH connection. When I remove it: rsync --debug=ALL r...@marketing.propfinancing.co

Re: rsync gives me error 12

2022-03-25 Thread Adam Dinwoodie
On Fri, Mar 25, 2022 at 08:25:16AM -0500, Neil Aggarwal wrote: > > I suspect the `-e ssh` part is the problem here. That's supposed to > > specify the remote shell, not the method for connecting. What are you > > attempting to achieve with that? > > I am trying to do the sync over an SSH connect

RE: rsync gives me error 12

2022-03-25 Thread Neil Aggarwal
Adam: > Looking slightly closer at the logs, this reads to me like the remote > server is closing the connection, so I expect you'll need help from > whoever provides/supports that remote server to work out why it's doing > that. I am responsible for the remote server. I will look into that. Tha

Re: pipe hang issue when running as SYSTEM

2022-03-25 Thread Jeremy Drake via Cygwin
On Fri, 25 Mar 2022, Takashi Yano wrote: > I will submit v3 patch shortly. I applied your v3 patch to 3.3.4 in https://github.com/msys2/msys2-runtime/pull/88 and re-ran my test action, and it worked as expected this time. I've put out a call to test on the msys2-runtime issue to confirm that it

RE: rsync gives me error 12

2022-03-25 Thread Neil Aggarwal
Adam: > this reads to me like the remote > server is closing the connection When I run this command on my Windows machine: rsync --debug=ALL r...@marketing.propfinancing.com:/var/www/svnDumps /cygdrive/c/Tmp I get this output on the screen: opening connection using: ssh -l root marketing.propfin

RE: rsync gives me error 12

2022-03-25 Thread Neil Aggarwal
Adam: I tried doing an upload using this command: rsync test.xml r...@marketing.propfinancing.com:/tmp I still get an error: rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.3] rsync: c

[ANNOUNCEMENT] Updated: mintty 3.6.0

2022-03-25 Thread Thomas Wolff
I have uploaded mintty 3.6.0 with the following changes: Highlights   * Optional feature: Reflow terminal lines when resizing terminal width.   * Visual feedback of numeric or composed character input.   * New themes helmholtz and luminous (contributed by Andy Koppe).   * Setting helmholtz theme

Re: rsync gives me error 12

2022-03-25 Thread Wayne Davison
On Fri, Mar 25, 2022 at 10:37 AM Neil Aggarwal wrote: > I still get an error: > rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] > rsync error: error in rsync protocol data stream (code 12) at io.c(226) > [Receiver=3.1.3] > rsync: connection unexpectedly closed (0 bytes re

RE: rsync gives me error 12

2022-03-25 Thread Neil Aggarwal
Wayne: When I run this command on my Windows machine: echo hi | ssh r...@marketing.propfinancing.com cat I get back: hi When I run this command: rsync --debug=ALL --msgs2stderr -M--msgs2stderr r...@marketing.propfinancing.com:/var/www/svnDumps /cygdrive/c/Tmp I get this output: opening connect