delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/04/11/11:29:07

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 BDD113858D1E
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: Mon, 11 Apr 2022 18:28:41 +0300
From: Alexey Izbyshev <izbyshev AT ispras DOT ru>
To: cygwin AT jdrake DOT com
Subject: Re: Re: Deadlock of the process tree when running make
In-Reply-To: <alpine.BSO.2.21.2204102220580.15719@resin.csoft.net>
User-Agent: Roundcube Webmail/1.4.4
Message-ID: <b11010a576cde2079049d34dfb19dc00@ispras.ru>
X-Sender: izbyshev AT ispras DOT ru
X-Spam-Status: No, score=0.0 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 2022-04-11 08:23, Jeremy Drake wrote:
> On Sat, 9 Apr 2022, Alexey Izbyshev wrote:
>> I don't have mintty because "make" is run via an SSH session. I 
>> suppose
>> I should look into sshd in this case?

> Sshd wouldn't happen to be running as a service, would it?

> https://cygwin.com/pipermail/cygwin-patches/2022q2/011867.html

(I've noticed your message in the mailing list archive, please add me to 
CC on replying, I'm not subscribed)

Yes, sshd is running as a service, but I'm not sure that patch is 
relevant. In my case, the problematic pipe that the hanging conhost.exe 
is waiting on is probably created for that specific conhost.exe process 
within the process tree rooted at "make", which runs as an ordinary 
user. Also, wouldn't the hang be deterministic if the problem were in 
the pipe ownership?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019