X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D9A343858436
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1710666178;
	bh=L2EBTku8D9D/JN7g7YuWaJsXiMhc5Zcbcg+gA2c+icc=;
	h=Date:To:Cc:Subject:In-Reply-To:References:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 From:Reply-To:From;
	b=dzVJ3UrWYLHxfqCnr7uhovjVUIGNa0XlRW5djm1J9l4l8Dem1E3pJfPFkSgULdoHx
	 YFE4EnIujxwm8hX2ryDE2ToSNXWtYus2x1J+xHtdqfRX9DoIkJvC8WEuDxiNxyf0G8
	 2/v9ly0tEQKGGhNc6Nfoq0uiKp0rUTFoVPEcubKY=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C30A43858CD1
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C30A43858CD1
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710666118; cv=none;
 b=XNPb8tZu5gcIWDUKdKTMiouBX5+rbXjFtanxPUgOvBWVrkcRTuYF5BEeWyUnu11fwTJAp3weBFBAoesMo8A0pb1JwAXnPxZD6J8sDApTvDdQ53NTOsphi0sUWVDmYE9T210yYYN/98/WVReRh5PC3QaM7n5JBwrU9xtM64eLO7I=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1710666118; c=relaxed/simple;
 bh=z9DiPIJyL90VpK3pufItcQQ7CdQVAr75BVTVDZHltu8=;
 h=DKIM-Signature:MIME-Version:Date:From:To:Subject:Message-ID;
 b=xHywQi6XXbylYnZXOMuL0Mh+t3I8z20G2Ua3jSRMlzU3x0abRkIbSLTkm8fFHwSt2oITenahg1Z9bg2F3GT84FAI9SlbghjypUGOpD2/cmRM8U2DAHxrBsQsNEqWIrXwrEC67s0EZX7hs9ExDJSuHsiWui0JxtPQlf7ijizSPFw=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.ispras.ru 0F94A40737D5
MIME-Version: 1.0
Date: Sun, 17 Mar 2024 12:01:55 +0300
To: Takashi Yano <takashi.yano@nifty.ne.jp>
Cc: cygwin@cygwin.com
Subject: Re: Bogus exit code 127 from a child process
In-Reply-To: <20240317174402.4a3e73a7fca2f5978ac93913@nifty.ne.jp>
References: <d5c90ec69060cea65c9eb31492a655ac@ispras.ru>
 <20240317174402.4a3e73a7fca2f5978ac93913@nifty.ne.jp>
User-Agent: Roundcube Webmail/1.4.13
Message-ID: <61d4fca73047915567fc9b4aac2860a3@ispras.ru>
X-Sender: izbyshev@ispras.ru
X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Alexey Izbyshev via Cygwin <cygwin@cygwin.com>
Reply-To: Alexey Izbyshev <izbyshev@ispras.ru>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 2024-03-17 11:44, Takashi Yano wrote:
> On Sun, 17 Mar 2024 11:14:16 +0300
> Alexey Izbyshev wrote:
>> Hello,
>> 
>> I've been getting occasional "Error 127" from make -jN on seemingly
>> random jobs. After reducing the set of jobs and eventually eliminating
>> make, I've arrived to this one-liner:
>> 
>> bash -c 'true & true & wait -n || echo 1: $? && wait -n || echo 2: $?'
>> 
>> When run repeatedly, the second "wait -n" often reports 127.
>> 
>> I've reproduced this in the following environments:
>> 
>> * Cygwin 3.5.1, Windows 10 22H2 x64
>> * Cygwin 3.4.6, Windows 10 22H2 x64 and Windows 7 x64
>> 
>> I couldn't reproduce it in Cygwin 3.3.6 (WOW64) on Windows 7 x64.
> 
> Could you please try latest cygwin 3.6.0 (TEST) ?

Tested with 3.6.0-0.82.gfc691d0246b9 on Windows 10 22H2 x64, the problem 
still occurs.

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
