delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/03/17/08:51:24

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CBEF4385828A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1710679881;
bh=BQly6VFL/TWuafQ6fNL4uHu595C6EVNyBpFfnQjOFVY=;
h=Subject:In-Reply-To:Date:Cc:References:To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=maXtzLrFCjy5W2JuMLWwNlj/bCLIScAwRiYOmJHFTcHy2CibDbcsvny8sNmUCV4sp
C9rC/3IRGzedcfK1vdsttKMIZoAQLTy3x5eO+cQPl+qJl7Xh/h1bPI7e+pNpfdGOHc
XAVBFbNLPMaL3ohypr/Useq5BmT12lYthV+I2hDc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 422C73858417
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 422C73858417
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710679830; cv=none;
b=hioeLG2NZJmKPx4s6VnxgmlUlO6/DX+AxOlHJvNxg/78qXJIQ+v+wax4hJ7zJKp6iEr/k9QGwVX0R/5Fs+6+kl15/Op52d+4yWvNTVIwlhXzV9Rhg5wzd79itS5shm39rsddnPfrSjtKOaFjaOeudAjzR7+rC0VNcya9Yc1Nm/A=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1710679830; c=relaxed/simple;
bh=lP7OolYuKUJh7XZ8rAH0oq9bqkKwnKJoeeyqmmhnFss=;
h=DKIM-Signature:Mime-Version:Subject:From:Date:Message-Id:To;
b=PaFQpnsDt5zvb2Fr17NfRaOqbaK4vGFHjiayWEzlg2a/EaoG4grjNWQRl37YDb9eJ5z5wnjl2X1zJEHq+30QZHsjjE914l/st2JZVcjKs1g+Z0iFlSCiCDH3OvAuwYGNd/Lf3R2jxrNGVTTU5IDyX10Ru6DBs8SBB0QPDOfS+5k=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1710679826; x=1711284626;
h=to:references:message-id:content-transfer-encoding:cc:date
:in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=lP7OolYuKUJh7XZ8rAH0oq9bqkKwnKJoeeyqmmhnFss=;
b=G3mbxlgX0nB5qLhcpSO7CFr383Q/oFMcEO43yr5QsR0cJsOkKTmZ32D76Gk8u2CKJ1
IdaCGnArS1d4y1ewG4b2z4OS2sPmBIi86qBXZFsNzd2CozeEwmHSQcnwXx5bnlA6D6Sc
gqH7x6iscrOKzrDhxZqfz/i6fiSmtkcwiw+dvjd1+yRQy8UysCwI/8nHq/qNwUKOffmT
qf7DHrVE6P6A2jXvwT7IdcWTT/WlSrL0fsSVtj1DupJQZwvJ+Y36A7TAsonVtx6oZorx
S8OhmmSk3v45JtrFPDuooiW8t5pkAkCDOFy/8ahaurbdqxgTq13sW7CrPmZmj1gXVh18
5eaw==
X-Gm-Message-State: AOJu0YydmWDrfSJjKsOtSLTdqQZ3p4VfAoUx3mJ+xjlGoxRp8iKMg5yw
Jpga1fOA/caKbdqCMgYwTsNQRde72c3pNHe1eoXSEViZIZJc9KIg9OfHFxwy9Xw=
X-Google-Smtp-Source: AGHT+IEHsWigGRJkvUarMkaQXVoyqM9D9JEmr9jR3gMPQ/XpjHhNEGjO+hAqMC0K1Ll3lFiNV21uSg==
X-Received: by 2002:a05:6402:5414:b0:568:a515:346a with SMTP id
ev20-20020a056402541400b00568a515346amr5605943edb.9.1710679825784;
Sun, 17 Mar 2024 05:50:25 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\))
Subject: Re: Bogus exit code 127 from a child process
In-Reply-To: <20240317213548.652be777a51f00108414d9bf@nifty.ne.jp>
Date: Sun, 17 Mar 2024 13:50:24 +0100
Cc: cygwin AT cygwin DOT com
Message-Id: <8F45EC6F-A035-449B-89D0-065FAE3FC157@unified-streaming.com>
References: <d5c90ec69060cea65c9eb31492a655ac AT ispras DOT ru>
<20240317174402 DOT 4a3e73a7fca2f5978ac93913 AT nifty DOT ne DOT jp>
<61d4fca73047915567fc9b4aac2860a3 AT ispras DOT ru>
<20240317182757 DOT 84b41a596c344f395c1d8f9a AT nifty DOT ne DOT jp>
<c587acce90e624992471b392c1f0e171 AT ispras DOT ru>
<20240317192116 DOT b00f24c9ee065f16d6ac6673 AT nifty DOT ne DOT jp>
<20240317210358 DOT ad701873dc5cfc9a3026dc0c AT nifty DOT ne DOT jp>
<20240317211517 DOT 40cfbe0a664f7c7fe3d6e73d AT nifty DOT ne DOT jp>
<20240317213548 DOT 652be777a51f00108414d9bf AT nifty DOT ne DOT jp>
To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
X-Mailer: Apple Mail (2.3731.700.6.1.1)
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no 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-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>
From: Dimitry Andric via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Dimitry Andric <dimitry AT unified-streaming 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 17 Mar 2024, at 13:35, Takashi Yano via Cygwin <cygwin AT cygwin DOT com> wrote:
...
> 
> I also test your test case:
> while bash -c 'true & true & wait -n || { echo 1: $?; exit 1; } && wait -n || { echo 2: $?; exit 1; }'; do echo $((i++)); done
> in Linux (Debian 12.5), and the issue reproduced!

Yeah, same here with bash 5.1.16(1)-release on Ubuntu 22.04. It errors out with 127 after ~50-200 loops.

-Dimitry


-- 
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