delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/03/17/04:15:57

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8CE8D385840D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1710663354;
bh=55Kl6rW4f0ZRhxJkKgBEGQwbcA6OoajzahZLLVUsZbw=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=AxeUYLc22oWTwUKicKShdOu0p7ehgzWvuQ5kN6uOnt5gly1TL9xGOK+2YAAHoW+tr
1fd+cDmBPfbPkyD247vbyvOIWwJeh0Byq/G3dDXCCdhEdg9C0eXcg+nbohaBIiK8xc
B3lJwELK2gzya0Py9Dx//GGFjKqZiAfrwBAnu4D0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5D0313858D20
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5D0313858D20
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710663273; cv=none;
b=GQrkPSNgylnlGz3XOxHVaucSNXB3FzRMtQsXwertKnnFEIibWjcWU6KwoR+IuJTTVuxhm/y4o2ZALc+78xvtGwU3GLHv1wMcfmI3jJui3CjgpQcgpmI8RXJh8/5eDQ34RWyplds5giCUZgbEZXr2RO5YTS0eTY44QwlZBUl0Khs=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1710663273; c=relaxed/simple;
bh=GVTJKg78s6erUDNjnoxmmXlDYiDpADAFqqm4Bl3vcRA=;
h=DKIM-Signature:MIME-Version:Date:From:To:Subject:Message-ID;
b=enK+orOAHZvAbgkOFnWgCT15+ryUtUPQVwzb+h+9gNDtCGEUKo1Bxuq7zp+RuRCnyz4YV2gFMJe7sBVDG/vP6vTbsp/mu0rc0OTh4SnMb83bGGaQiNBKD9qSHJCBhPu2FqfSROoz8vj2MRm1hmhp3xliuEN2qB2oSYRbUpfmakY=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.ispras.ru 7497040737D5
MIME-Version: 1.0
Date: Sun, 17 Mar 2024 11:14:16 +0300
To: cygwin AT cygwin DOT com
Subject: Bogus exit code 127 from a child process
User-Agent: Roundcube Webmail/1.4.13
Message-ID: <d5c90ec69060cea65c9eb31492a655ac@ispras.ru>
X-Sender: izbyshev AT ispras DOT 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 AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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>
From: Alexey Izbyshev via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Alexey Izbyshev <izbyshev AT ispras DOT ru>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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.

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

- Raw text -


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