From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mta-snd-e08.mail.nifty.com (mta-snd-e08.mail.nifty.com [106.153.226.40]) by sourceware.org (Postfix) with ESMTPS id 2335E3858CD1 for ; Sun, 17 Mar 2024 09:27:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2335E3858CD1 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2335E3858CD1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=106.153.226.40 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710667683; cv=none; b=wbFYiYOrhNnQ3E6Buk5PfEWw4c98FO266+K9AdBedOUbFxCViMSBqH/p2IYPPE8hjKkbdqP5UETDBtGFUZzr+wvyJiCswGzi59T5GGDLPf89u16lpH2X/1q7MRwetXiiLn2AudU/D+CwoTL4kqv4baa8/UAZSmrmi1iDyg5cIQA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710667683; c=relaxed/simple; bh=HKxaul0DNYvus/jIJtdMmiNCmQv5X5Icjpq/eFqG2nM=; h=Date:From:To:Subject:Message-Id:Mime-Version; b=aLBaKmu1A/xaLwhX50WuI+VyWiGX5CumDv9wYPAcrmSVVl442VMQMejzT1pW+Nzk5rz+Ad0WwdkJvt2M+RowAsxhSXb1/9/cjGkHz4xqXgs/fhPvD5wikwud1l1JXsO5pkJLislUlOrruKqdwiRy7KB4GL83wIWCd23/gAvVo7E= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from HP-Z230 by dmta0008.nifty.com with ESMTP id <20240317092758221.CADG.17758.HP-Z230@nifty.com>; Sun, 17 Mar 2024 18:27:58 +0900 Date: Sun, 17 Mar 2024 18:27:57 +0900 From: Takashi Yano To: cygwin@cygwin.com Cc: Alexey Izbyshev Subject: Re: Bogus exit code 127 from a child process Message-Id: <20240317182757.84b41a596c344f395c1d8f9a@nifty.ne.jp> In-Reply-To: <61d4fca73047915567fc9b4aac2860a3@ispras.ru> References: <20240317174402.4a3e73a7fca2f5978ac93913@nifty.ne.jp> <61d4fca73047915567fc9b4aac2860a3@ispras.ru> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,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 List-Id: On Sun, 17 Mar 2024 12:01:55 +0300 Alexey Izbyshev wrote: > 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. In my evrironmen, trial for 1 hour does not reproduce the issue. Could you please let us know your environment, i.e. CPU, amount of memory, and so on? -- Takashi Yano