X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C774C385DC02
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
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 22T9AxVH029759
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;
 s=dec2015msa; t=1648545060;
 bh=9EmMdqqx56Z9Z+aQh9TzXt1hjQp48V5oKQ6eI+xhZF8=;
 h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
 b=JYaQ1rCSYd88CAMM9KYCe/6GMf8nSL7xG0IJzOx6po2IWMzMosY24Ta2XvLzuDfOZ
 tOEulclstrP+ZjdWIQhTxi/+08e0OgEMI+MEm9S3dj4xxIIync5Gsl9VnAIeGiaZeR
 E8h+kxBlH6ggzUI+QfpvI+hRZ6rTf2gasyC7kIsyvzwCLzfJ49bYC+WVITdKYxWT8x
 f+mnhpJMal7YUoPMVa8x0N2l4PdTeHlK87qfE2TPqKAWqqf6RHY6HGRU0Q7RCkzPtL
 7n7wssFVhXPfkU/JQ1EEnzuMtePMlNv23nMtfiSdFLW7Yp49zpZuw6xsUSforB8Yam
 9ASfvcHI8nVpQ==
X-Nifty-SrcIP: [119.150.44.95]
Date: Tue, 29 Mar 2022 18:11:13 +0900
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: pipe hang issue when running as SYSTEM
Message-Id: <20220329181113.a23230b7931f770514d31f85@nifty.ne.jp>
In-Reply-To: <alpine.BSO.2.21.2203250955320.56460@resin.csoft.net>
References: <alpine.BSO.2.21.2203211141320.56460@resin.csoft.net>
 <20220322191807.8348f074683c127b1723c5c2@nifty.ne.jp>
 <20220322221756.2b7e80ec0a51e7ebd9df5a53@nifty.ne.jp>
 <alpine.BSO.2.21.2203242039010.56460@resin.csoft.net>
 <20220325144253.4053d19d7e7b0243dcefa79e@nifty.ne.jp>
 <alpine.BSO.2.21.2203250009170.56460@resin.csoft.net>
 <20220325201104.d4524e351143acbee689161f@nifty.ne.jp>
 <alpine.BSO.2.21.2203250955320.56460@resin.csoft.net>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham 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@cygwin.com
X-Mailman-Version: 2.1.29
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>
Cc: Jeremy Drake <cygwin@jdrake.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Fri, 25 Mar 2022 10:01:53 -0700 (PDT)
Jeremy Drake wrote:
> On Fri, 25 Mar 2022, Takashi Yano wrote:
> 
> > I will submit v3 patch shortly.
> 
> I applied your v3 patch to 3.3.4 in
> https://github.com/msys2/msys2-runtime/pull/88 and re-ran my test action,
> and it worked as expected this time.
> 
> I've put out a call to test on the msys2-runtime issue to confirm that it
> also solves the real-world cases.

I have submitted v4 patch, which fixes the issue caused
when multiple pipes in the same process group exist.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

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