delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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:date:from:to:cc:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=f8U7Nb1pAtnhfWLJbTGOP61YO//OHHgu3/+IVRHuMop02xsOxnw9P | |
GpbJzNqSNtMPGkwOK4KaNnRRygInqYtQUfkWADy7oONYMvKjDMDtevRSVsDBCQJG | |
3KIK2aMB+7K8PMjBKQCGWOBOKnijfggbjiYFNEFk8d8vKkc5lyYsEI= | |
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:date:from:to:cc:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=Wa+9hqHkl9BEaaRuiUjT8HZsy4g=; b=DOK8Txh3rnU+eRpcBQ1m14wZL5uO | |
VcP/ri+SnTIFobDyMDRtG9I27C6c20sWB9L95ZXyzcZCjRBnK+g4x/7tF0MoXMtK | |
l/9UlBmY97bg479z06WSVGXdkYHchldqWWAhOgFZ+aw1SBjk8DP0cTrb8Twka5ka | |
QVFFX4jSVwIxx7I= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-100.4 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy= |
X-HELO: | mout.kundenserver.de |
Date: | Fri, 8 Feb 2019 13:21:26 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | Michael Haubenwallner <michael DOT haubenwallner AT ssi-schaefer DOT com> |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re: [ANNOUNCEMENT] TEST: Cygwin 3.0.0-0.7 |
Message-ID: | <20190208122126.GM13951@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | Michael Haubenwallner <michael DOT haubenwallner AT ssi-schaefer DOT com>, cygwin AT cygwin DOT com |
References: | <announce DOT 20190205151855 DOT GD16130 AT calimero DOT vinschen DOT de> <02da4eeb-fcce-b1bc-e6eb-68ff3ec0cf74 AT ssi-schaefer DOT com> <20190207182735 DOT GG13951 AT calimero DOT vinschen DOT de> <8a2f041f-f8f7-6e17-5d97-5a168440009b AT ssi-schaefer DOT com> <20190208113158 DOT GH13951 AT calimero DOT vinschen DOT de> <17e339bb-2115-bf22-7291-04215aab3150 AT ssi-schaefer DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <17e339bb-2115-bf22-7291-04215aab3150@ssi-schaefer.com> |
User-Agent: | Mutt/1.10.1 (2018-07-13) |
--GBDnBH7+ZvLx8QD4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 8 12:51, Michael Haubenwallner wrote: >=20 >=20 > 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? > >=20 > > 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? >=20 > 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: >=20 > $ ./dospawn /bin/bash -c 'echo $$' > 12625 > waitpid: pid 12624 status 0x0 Oh, hmm. If you call spawnve, rather than execve, a new child pid is generated in spawnve, rather than just keeping the callers pid. However, apparently the child invents its own pid in pinfo::thisproc after being spawned. But actually this should only occur for forked processes aore processes started from non-Cygwin parents. Corinna --=20 Corinna Vinschen Cygwin Maintainer --GBDnBH7+ZvLx8QD4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxddEUACgkQ9TYGna5E T6DIPA/+P5kNDsPMNb0IupYS+BnstCDVvD0VDtOSmuClf4b/jZ1WtqWl0b8JsWFW sasAD26vuyZAOltPzimjRt0OcT+8Y2cMgO3IxbQGKuWm5KDwsgLcmB1XKrArSc6c bb/zHP995HfjPkQhpiyuXERm++3+SxUFzmJpC4jLeiO6oOZ4SNiUcFxDk7fVdunE D0Ag1XHoL9oAEMLnXpTnFnec+6av32fvM9f+cUWUF+ur+0nYYRy68u9YkD6gY0Qw egUBhKQlQh9dq3Y+EWZOjxoxZ6G73nahroriW3ncRvSegllR6cYgWDp5CENp7PeI xQsmN4WSJ/HEjfpWRxIu9fkMMcIVl2hOXgDv+L5n312jvAVwdxH4QJacjk78Lcfs Ym269YhVx6WMTmjr7CEasWVbBLsXp9x/66D76IQGgCLFID4+fYgzPEuZpo7C7vQF UU2iuY+PwRl+mjnPoYN6mzc23FYu9JIFjkUnLSr41mXeib5NF9O0q7f2wcKr5yXg DOY2dMIPBp/ioddtkBRKwo705FhZ0xbgNFPpeiCMKzACggObOrQQ0Aisd2hjc8q5 WH61HGUnJQUQQ0Jh8IUXyH4VZ5ML1UUdf8iiSYG2VkN5QEt/vxcimJlEgezZPAcZ 0Rtig4H4ybIwgH9WlnvepmHgOcPBskW+PNo0Y0DsEpG9TReoSfU= =x5/N -----END PGP SIGNATURE----- --GBDnBH7+ZvLx8QD4--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |