delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/14/09:09:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 14 Sep 2004 09:10:10 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.10: expr + configure failure + testcase (also on 1.5.11-1)
Message-ID: <20040914131010.GH32582@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20040914022552 DOT GC26109 AT trixie DOT casa DOT cgf DOT cx> <01af01c49a26$625a5b20$0b03a8c0 AT lithium>
Mime-Version: 1.0
In-Reply-To: <01af01c49a26$625a5b20$0b03a8c0@lithium>
User-Agent: Mutt/1.4.1i

On Tue, Sep 14, 2004 at 02:45:11AM -0400, Bogdan Vacaliuc wrote:
>Chris, Pierre,
>> I was thinking the same thing but AFAIK, ash doesn't have the 
>> pid recycling problem.
>
>In my failure cases, configure is run under bash.
>
>I have also captured (finally?) an strace under the ~current cygwin
>(attached).  The details are largely the same as Peter's last
>attachment, to which Igor remarked "FWIW, expr.exe does seem to exit
>with the right exit code, but is later zombified, which doesn't sound
>quite right."
>
>Actually, its ok for it to be zombified, because the parent didn't
>happen to be waiting for the child at the time that the child exited.
>
>>>>Pierre's observation that error text is output by the parent shell
>>>>*before* the expr command even executes was an inspiration.
>
>So it seems like the parent shell decides its going to exit after
>forking but before waiting on the expr process.

That is consistent with the recycled pid problem.  Are you seeing
duplicated pids?

>> Wasn't there a registry value that controlled how pids were 
>> allocated? I can't find anything appropriate in google.
>
>I looked for something about this in M$ knowledge base.  I didn't find that, but I found this:
>
>"BUG: Registry access from multiple threads might fail" (WinNT, Win2K)
>http://support.microsoft.com/default.aspx?scid=kb;en-us;176906

I don't really see how that applies.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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