Re: Deadlock when pressing Ctrl-C at startup of a native console application

2022-04-18 Thread Alexey Izbyshev
On 2022-04-18 15:48, Takashi Yano wrote: On Sat, 16 Apr 2022 18:16:50 +0900 Takashi Yano wrote: On Fri, 15 Apr 2022 21:09:05 +0300 Alexey Izbyshev wrote: > Hi, > > I've discovered that pressing Ctrl-C in a Cygwin ssh session running the > following command can cause a deadlock: > > $ while pytho

Re: Deadlock when pressing Ctrl-C at startup of a native console application

2022-04-18 Thread Takashi Yano
On Sat, 16 Apr 2022 18:16:50 +0900 Takashi Yano wrote: > On Fri, 15 Apr 2022 21:09:05 +0300 > Alexey Izbyshev wrote: > > Hi, > > > > I've discovered that pressing Ctrl-C in a Cygwin ssh session running the > > following command can cause a deadlock: > > > > $ while python -c ''; do :; done > >

Re: Deadlock when pressing Ctrl-C at startup of a native console application

2022-04-16 Thread Takashi Yano
On Fri, 15 Apr 2022 21:09:05 +0300 Alexey Izbyshev wrote: > Hi, > > I've discovered that pressing Ctrl-C in a Cygwin ssh session running the > following command can cause a deadlock: > > $ while python -c ''; do :; done > > The exact native application doesn't matter here, e.g. "ping -n 1 > lo

Deadlock when pressing Ctrl-C at startup of a native console application

2022-04-15 Thread Alexey Izbyshev
Hi, I've discovered that pressing Ctrl-C in a Cygwin ssh session running the following command can cause a deadlock: $ while python -c ''; do :; done The exact native application doesn't matter here, e.g. "ping -n 1 localhost >/dev/null" instead of "python -c ''" also "works". The deadlock