delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/02/17:15:42

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:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=ngJlJ4p8Uswr43ZFuS0fXmhyeWNepyaMk3/xd1LhnhJx/GCbjyLfb
F8AAYMSZ6ZovcT795R3uasT3nsV+hAft7ICFE7iP+zbgrRcBP3pigFM8CdTNQulH
81naGzTOg+B37KF4umoYHCG6Jm8TT/DKkf51DS6ptswCxgDTn+NluU=
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:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=6KLfG4VpocwRioqpAT3ec8A2Qus=; b=fxlHY2fb4xmoqUNTyQyCe10tXb4z
eWloCdM2ZmxgBnhI895bhppHCx14fhTw7lGO2zZ2fZnbU5urAeKcnnOhURciJOmV
uprCEkpcocTe/VTtJWEM58hsxJhEYCNwcyDNNW/a1Cys7GdCeiszXo5gWBk+/I0T
J8wfjazPrsucvBk=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.4 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RDNS_DYNAMIC autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 2 Dec 2015 23:15:21 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: fork issue when lauching cygwin64 process from 32bit native app on Windows 10 TH2
Message-ID: <20151202221521.GH18447@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <565D762E DOT 4090109 AT gmail DOT com> <20151201112037 DOT GU2755 AT calimero DOT vinschen DOT de> <565D8D88 DOT 4080601 AT gmail DOT com> <20151201140105 DOT GW2755 AT calimero DOT vinschen DOT de> <565DDB8E DOT 1090609 AT gmail DOT com> <565E14BA DOT 60204 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <565E14BA.60204@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--l76fUT7nc3MelDdI
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Dec  1 22:44, David Macek wrote:
> On 1. 12. 2015 18:40, David Macek wrote:
> > On 1. 12. 2015 15:01, Corinna Vinschen wrote:
> >> On Dec  1 21:07, nu774 wrote:
> >>>> There must be a bug in the new CMD somewhere.  But, anyway, I'll look
> >>>> into it when I finally managed to update my W10 test machine.
> >>>
> >>> No, cmd.exe is just an example. Any 32bit process can be an trigger.
> >>> I guess something has changed in TH2 kernel regarding process memory
> >>> management or something that interferes cygwin's fork().
> >>
> >> If that only happens w/ 64 bit Cygwin started from a 32 bit parent, th=
en
> >> there's some foul-up in the WOW64 layer in terms of starting 64 bit
> >> processes, perhaps.  Sigh, it's a rather unexpected change after it
> >> worked fine for so long :(
> >=20
> > Yup. I can confirm.
>=20
> Just for the record, we did some debugging over IRC and it seems it's an =
issue with WOW64 where the stack in the first 64-bit process is offset for =
some reason.
>=20
> Citing Corinna: "I wonder if we have to resurrect the old wow64_respawn_p=
rocess function for this border case"

Along these lines, is anybody here still running a 64 bit Windows 10
which has *NOT* been updated to 1511?  If so, I just need the output
of a call to `cat /proc/self/maps' once for comparison.


Thanks in advance,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--l76fUT7nc3MelDdI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWX215AAoJEPU2Bp2uRE+gsW8P/RkQ/qzEigjryfIz9yTI0nRb
Wo4hRQrEIUbAFk7lB6BxCAhssf1RI7mrE9zW6eq3YXb4GL7oAlQdaLGy/961H/Hg
AEbHlTnPc75a03URJuiHecDjALqEhVdprzyI3C3Ds07C6p702pZw99tBhytjBRdi
saqc4a1J+BmkNKkaceYUr9G7kO6kV7OWa2Z3bJmXS3iV87ZdJY1+LYg0JwBhNBnZ
x5k6q+Aaeg4BTij9pgcnfXpC3zijLBghYmqaD8ETS+8EIXjDfKIQIXSfrZvn+Xev
ZVNXqR9bv2uJRrHfja33/IfR32hLQxcSvs5hNe9dFDiKS7zBBVwVC1m6x5asVMgK
AiqXutyS4Qkrz3fTctb8wzZARjvqvbtOzHlF1QeI1WdvKm0U3SSOzgBG14Jj33p1
4dLUYJAk0ELCxQxr1pY7Kva9JMxwDg/+PCDR84npkoDLDQM8PhJ92VG9IgsqeBKc
OihrtiM+xljZxp6jlkD82YHbIv7tJWRIaBLHabbNnMuEsteMWk6iFDD59xEGfy+J
gzEERPhzMdIao8HAkgSVuVZTxOydkyhveWdXRyNjXgFdBZzymqpjXIdArw8DBLux
hoURiyJTt+PKu3fPcX5Mcs0Sep7TrdfTVdkjjWQrl8C9Yy2VFjPHzLt3cMbXRG2u
8XszDJ0GGPZX4z5gkh/4
=i23D
-----END PGP SIGNATURE-----

--l76fUT7nc3MelDdI--

- Raw text -


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