Re: Deadlock of the process tree when running make

2022-04-09 Thread Alexey Izbyshev
On 2022-04-09 22:35, Alexey Izbyshev wrote: On 2022-04-09 20:54, Takashi Yano wrote: Thanks for checking. This seems to be normal. Then, I cannot understand why the ClosePseudoConsole() call is blocked... The document by Microsoft mentions the blocking conditions of ClosePseudoConsole():

Re: Deadlock of the process tree when running make

2022-04-09 Thread Alexey Izbyshev
On 2022-04-09 20:54, Takashi Yano wrote: Thanks for checking. This seems to be normal. Then, I cannot understand why the ClosePseudoConsole() call is blocked... The document by Microsoft mentions the blocking conditions of ClosePseudoConsole():

Re: Deadlock of the process tree when running make

2022-04-09 Thread Takashi Yano
On Sat, 09 Apr 2022 20:23:06 +0300 Alexey Izbyshev wrote: > On 2022-04-09 19:57, Takashi Yano wrote: > > Thank you very much for the information. Can you check if > > the thread pty_master_fwd_thread() in root mintty is still > > alive? > > I don't have mintty because "make" is run via an SSH

Re: Deadlock of the process tree when running make

2022-04-09 Thread Alexey Izbyshev
On 2022-04-09 19:57, Takashi Yano wrote: Thank you very much for the information. Can you check if the thread pty_master_fwd_thread() in root mintty is still alive? I don't have mintty because "make" is run via an SSH session. I suppose I should look into sshd in this case? I've checked an

Re: Deadlock of the process tree when running make

2022-04-09 Thread Takashi Yano
On Sat, 09 Apr 2022 19:07:08 +0300 Alexey Izbyshev wrote: > On 2022-04-09 14:46, Takashi Yano wrote: > > On Sat, 09 Apr 2022 14:02:38 +0300 > > Alexey Izbyshev wrote: > >> > >> Missed the line in the link above: > >>

Re: Test: gzip 1.12 (TEST)

2022-04-09 Thread Brian Inglis
On 2022-04-09 09:54, Cygwin gzip Co-Maintainer wrote: https://cygwin.com/pipermail/cygwin-announce/2022-April/010512.html Noteworthy changes in release 1.12 (2022-04-07) [stable] * Changes in behavior 'zless' is no longer installed on platforms lacking 'less'. For the stable production

Re: Deadlock of the process tree when running make

2022-04-09 Thread Alexey Izbyshev
On 2022-04-09 14:46, Takashi Yano wrote: On Sat, 09 Apr 2022 14:02:38 +0300 Alexey Izbyshev wrote: Missed the line in the link above: https://cygwin.com/git?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/fhandler_tty.cc;h=7bef6958c106c5e78cc90e014081022fd3a205bc;hb=cygwin-3_3_4-release#l1199

[ANNOUNCEMENT] Test: gzip 1.12 (TEST)

2022-04-09 Thread Cygwin gzip Co-Maintainer
The following test packages have been uploaded to the Cygwin distribution: * gzip 1.12 GNU gzip is a popular data compression program, developed to replace compress because of patents covering the LZW algorithm at the time, with better compression as a bonus. Please test this Base category

Test: gzip 1.12 (TEST)

2022-04-09 Thread Cygwin gzip Co-Maintainer
The following test packages have been uploaded to the Cygwin distribution: * gzip 1.12 GNU gzip is a popular data compression program, developed to replace compress because of patents covering the LZW algorithm at the time, with better compression as a bonus. Please test this Base category

[ANNOUNCEMENT] Updated: Perl distributions

2022-04-09 Thread Achim Gratz
The following Perl distributions have been updated to their latest release version available on CPAN: x86/x86_64 -- perl-XML-LibXSLT-2.00-1 noarch -- perl-DateTime-Locale-1.34-1 perl-libwww-perl-6.62-1 -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to

Updated: Perl distributions

2022-04-09 Thread Achim Gratz
The following Perl distributions have been updated to their latest release version available on CPAN: x86/x86_64 -- perl-XML-LibXSLT-2.00-1 noarch -- perl-DateTime-Locale-1.34-1 perl-libwww-perl-6.62-1 -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to

Re: Deadlock of the process tree when running make

2022-04-09 Thread Takashi Yano
On Sat, 09 Apr 2022 14:02:38 +0300 Alexey Izbyshev wrote: > On 2022-04-09 14:00, Alexey Izbyshev wrote: > > On 2022-04-09 13:17, Takashi Yano wrote: > > > >> Attaching gdb to the hanging process and dumping stack by 'bt' > >> command for each thread may diagnose more detail. > > > > I decided to

Re: Deadlock of the process tree when running make

2022-04-09 Thread Alexey Izbyshev
On 2022-04-09 14:00, Alexey Izbyshev wrote: On 2022-04-09 13:17, Takashi Yano wrote: Attaching gdb to the hanging process and dumping stack by 'bt' command for each thread may diagnose more detail. I decided to simply look at assembly at the point shown in ProcessHacker stack trace

Re: Deadlock of the process tree when running make

2022-04-09 Thread Alexey Izbyshev
On 2022-04-09 13:17, Takashi Yano wrote: Attaching gdb to the hanging process and dumping stack by 'bt' command for each thread may diagnose more detail. I decided to simply look at assembly at the point shown in ProcessHacker stack trace (cygwin1.dll!feinitialise+0x5ecab) to avoid

Re: Deadlock of the process tree when running make

2022-04-09 Thread Takashi Yano
On Fri, 08 Apr 2022 00:53:31 +0300 Alexey Izbyshev wrote: > Hi, > > I'm using 32-bit Cygwin 3.3.4 on 64-bit Windows 10 21H2. When running > parallel make (for testing my project), very rarely I get the whole > process tree hanging at some seemingly random point. An example of such > a tree: >