www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/05/19/00:51:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9A5A23856269
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=kba.biglobe.ne.jp
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=kba.biglobe.ne.jp
From: Jun T <takimoto-j AT kba DOT biglobe DOT ne DOT jp>
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
Subject: Re: killpg(pgid, 0) fails if the process is in the middle of spawnve()
Date: Thu, 19 May 2022 13:51:07 +0900
References: <08B78336-7554-4ACA-80EF-F87C3C04C781 AT kba DOT biglobe DOT ne DOT jp>
<YoUIi9n3xoUogD1z AT calimero DOT vinschen DOT de>
To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin" <cygwin AT cygwin DOT com>
In-Reply-To: <YoUIi9n3xoUogD1z@calimero.vinschen.de>
Message-Id: <0C6FFD9B-F723-4F8C-BDA9-A67A64EB71E0@kba.biglobe.ne.jp>
X-Mailer: Apple Mail (2.3445.104.21)
X-Biglobe-Sender: takimoto-j AT kba DOT biglobe DOT ne DOT jp
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
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.29
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>
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>

> 2022/05/18 23:54, Corinna Vinschen <corinna-cygwin AT cygwin DOT com> wrote:
> 
> For a start, can you try the above patch? 

Thanks for a quick response. The patch seems to solve the problem.
Of course there is a possibility that it happens with very low probability,
but I haven't get the problem by running 'cmd | less' many times, say
fifty times or so.

I didn't notice any bad side effects, and I guess the probability is
very low if it ever happens (so not easy to detect it).
# I tried running 'ls | less' several times while running 
#   while true; do ps; done
# in another terminal, but didn't get duplicated processes.


PS:
I'm new to building cygwin1.dll by myself, and have a few questions:
(1) After make, I've manually copied new-cygwin1.dll to /bin/cygwin1.dll.
I didn't copy/install any other files. Is this OK?
(2) What are cygwin0.dll and cygwin1.dbg? The latter is a new cygwin1.dll
with debug info?
(3) Is there a simple way to build only new-cygwin1.dll (and anything
required by it), without building (or trying to build) unnecessary
things (especially documents)?

--
Jun

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