X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3A8153858401 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=ispras.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ispras.ru MIME-Version: 1.0 Date: Sat, 09 Apr 2022 20:23:06 +0300 From: Alexey Izbyshev To: Takashi Yano Subject: Re: Deadlock of the process tree when running make In-Reply-To: <20220410015753.753e2a238513eaf2a3da81e9@nifty.ne.jp> References: <9388316255ada0e0fcb2d849cce5a894 AT ispras DOT ru> <20220409191743 DOT 6da2268a36e8c9b4ab22c722 AT nifty DOT ne DOT jp> <1ecd670b1cdff43e0b0d7e5ee4c9cfc5 AT ispras DOT ru> <20220409204619 DOT dd0e53902d5e108ef462e510 AT nifty DOT ne DOT jp> <907ce1b4416a826cb07990dd601bd687 AT ispras DOT ru> <20220410015753 DOT 753e2a238513eaf2a3da81e9 AT nifty DOT ne DOT jp> User-Agent: Roundcube Webmail/1.4.4 Message-ID: X-Sender: izbyshev AT ispras DOT ru X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DOS_RCVD_IP_TWICE_B, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: cygwin AT cygwin DOT com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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 sshd process that is the parent of this session, and yes, one of its threads is blocked at https://cygwin.com/git?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/fhandler_tty.cc;h=7bef6958c106c5e78cc90e014081022fd3a205bc;hb=cygwin-3_3_4-release#l2710. Thanks, Alexey -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple