X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=k/mJtwPwigAeng3m
	abANEdDwkcNdDp21zn9tVmfUb8i/v1XZU0EV+wOeFiZwMc4JDCZuEZEs1U135sXZ
	4Bjv2IVhgwp3OJEZg26wxFbWCIp/ONEHhRm1zoWyAuGE+2wvtqXoiENKJntGbwMu
	yJfHov7e8tKwVOdj+5tWpInm3+8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=Msz/gG4mnd9XHG+By3smcj
	8ANYg=; b=wPqGDr94Xjj6X2Ilkk830w9HzuJyjlxdNSw22fBEXkfsMPpf8wFDBP
	GBuvboaM6t3N49IFCBN/39b0PKzm+I0xc0+pR+aDqEVK9s/wRA1ewAnhnqCvFMpa
	WPURLP1Wl9ixoXkYXoYWdpSIB2E93ZHRxQUjqrqGRYh0KMw7WkIDk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=
X-HELO: atfriesa01.ssi-schaefer.com
Subject: Re: [ANNOUNCEMENT] TEST: Cygwin 3.0.0-0.7
To: cygwin@cygwin.com
References: <announce.20190205151855.GD16130@calimero.vinschen.de> <02da4eeb-fcce-b1bc-e6eb-68ff3ec0cf74@ssi-schaefer.com> <20190207182735.GG13951@calimero.vinschen.de> <8a2f041f-f8f7-6e17-5d97-5a168440009b@ssi-schaefer.com> <20190208113158.GH13951@calimero.vinschen.de>
From: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Message-ID: <17e339bb-2115-bf22-7291-04215aab3150@ssi-schaefer.com>
Date: Fri, 8 Feb 2019 12:51:07 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
MIME-Version: 1.0
In-Reply-To: <20190208113158.GH13951@calimero.vinschen.de>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit



On 2/8/19 12:31 PM, Corinna Vinschen wrote:
> On Feb  8 07:46, Michael Haubenwallner wrote:
>>
>> On 2/7/19 7:27 PM, Corinna Vinschen wrote:
>>> On Feb  7 17:14, Michael Haubenwallner wrote:
>>>> On 2/5/19 4:18 PM, Corinna Vinschen wrote:
>>>>> Hi folks,
>>>>>
>>>>>
>>>>> I uploaded a new Cygwin test release 3.0.0-0.7
>>>>>
>>>>
>>>>> Please test.
>>>>>
>>>>
>>>> There's another regression - regarding spawn, exec and waitpid,
>>>> loosing the exitstatus somewhere in between:
>>>>
>>>
>>> Any chance you could take a look?  I haven't much time for Cygwin the
>>> next couple of days.
>>
>> Ok, will do. Any hints probably?
> 
> Thanks!  The only thing coming to mind is the removal of the parent
> handle when switching PID method.  Or maybe the permission restriction
> on the process handles?

For now it seems like there's an inconsistency with PIDs:
A first process PID 100, receives PID 101 from spawn(),
but in the new process getpid() returns 102:

$ ./dospawn /bin/bash -c 'echo $$'
12625
waitpid: pid 12624 status 0x0

/haubi/

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

