delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/12/09:39:01

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=NKZFXXP526PtnPmJnFz8/WKOBmhOd0eKsco6yxDqzhK91WlAHFgjo
3TWxt7H+GtqVFyVAj9FJEsuHBl0RnZb7YOcntvQ5qFVWi3FiqyGJUPo+hYNOrsZf
ewwsVQjNssMOgQPZPh+YtfboasH6VLAz4Dpsk9nVDkL2zFkq7GT290=
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=oVuUC6aSHAwnTZ1RS4CSdCPqcJA=; b=XtWuFzXb2U70j8VV62l0v1P8f3nY
McjWqNTLB7T7ILSt8dEFdMVLff8jS0vbgZVhZn1HaHEQEEd5rTyOkIqqsq37bbGc
XHsJ+pwp2jSoxenkuisdhFp+PJ0qjeTPf9fnqBBWgHO6dbveZTJ6seMzdkYl86MW
XEZq0KJuSX+Oc9U=
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=-101.2 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=
X-HELO: mout.kundenserver.de
Date: Thu, 12 Jul 2018 15:38:47 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Fork issue on W10 WOW
Message-ID: <20180712133847.GT27673@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <7ad0e0d4-438b-33ad-a711-e0b1996fa6f6 AT gmail DOT com> <c1505248-8d03-c0b6-37ca-9c6eed2100e9 AT cornell DOT edu> <c618e65c-ab40-287d-39fb-d9daa9ef858a AT gmail DOT com> <20180709090332 DOT GC3111 AT calimero DOT vinschen DOT de> <87e94b8c-13d0-928e-957d-c32b15b8a962 AT gmail DOT com> <20180709123739 DOT GB27673 AT calimero DOT vinschen DOT de> <fd7e7ce2-84fd-aef3-b54a-0ff76ef8900c AT gmail DOT com> <CAB8Xom_DX=u0q17ewfRokh_mTcBYMppPZdDLS3UUdaPm5GMV4w AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAB8Xom_DX=u0q17ewfRokh_mTcBYMppPZdDLS3UUdaPm5GMV4w@mail.gmail.com>
User-Agent: Mutt/1.9.2 (2017-12-15)

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

On Jul 12 12:31, marco atzeri wrote:
> On Tue, Jul 10, 2018 at 7:33 AM, Marco Atzeri  wrote:
> > Am 09.07.2018 um 14:37 schrieb Corinna Vinschen:
> >
> >
> > It seems there is some type of ASLR for the wow64.
> > I will try to rebase using 0x6b000000 to see if
> > make any change
> >
>=20
> from my experiments the 32bit under W10 is substantially unusable.
> At every restart the base address of the wow64*.dll are moved
> randomly everywhere between  0x50000000 and 0x70000000.

Actually, as I wrote before, in my case the wow64 stuff is beyond
0x70000000:

76E90000-76F08000 /mnt/c/Windows/System32/wow64win.dll
76F10000-76F62000 /mnt/c/Windows/System32/wow64.dll
76F70000-76F7A000 /mnt/c/Windows/System32/wow64cpu.dll

> It seems the 32bit subsystem is totally ignoring that cygwin programs
> have not the ASLR flag. May be the subsystem base address
> is initialized before any cygwin program is started.

The ASLRed addresses of system DLLs are puzzled out at system boottime,
afaik.

> It seems I have only two choices:
> - disable totally ASLR, but some guidance (1)  around seem not working an=
ymore

That won't work.  You can't disable ASLR for system DLLs.

> - use a virtual machine for a 32 bit W7 system to be used as build enviro=
nment.

You could reboot the machine until the DLLs are at an adddress you
can work with and then never reboot again.  /duck/


Corinna

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

--2YJj5f1P6Th4nBRw
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAltHWecACgkQ9TYGna5E
T6De8g//RNYRzh7uYlF52F18WExlyWH/E+g1011JtWEyx7/2jv/7bTbiqi9RpJUU
/EXD+sKEJJLf7klN3BKzME4Pm3rSFMw7trWISteabgfO9pDkO4vTJ/asVqBcZnAF
ciaDXrGk0v+e868l8E6O3wbjEOjtKr05/rvYMMvsjlTtny9h8QHaziuPlSW/xrhm
dVnZSX3f+naMlozaVxu+WiAUdlrM2Ft7RRZFoNLShmCxnlkSjnwOR5MNwDP0VXOD
/eaOdUvItGug/4fGeECyEe/uE/Wyv4ZyuobpcVO11OCr1ZUO6bnK5H3hLqcfYBL/
ymHGEFNNdj2JsaxMfLzNqw+h7cfAleRRb2SOu+/ySDgyt/sljRmbg3/j+2UF1Xc6
Ssl0+xadBtTob8QHgeOGSaRgnMv5NjVEQo17j1736c0tmiixaIA7DtTzoJntQeKn
T/zot0Fd6106PIfpwpE644TfGdETFcrQJXmb9b09rMHWUuCB2NgcL/37m9bXO4Jj
OHV47xsRidF+8peVnoOoD2HY85PVl9AUoZsNHi/lqrQvV7LAOEXxZthloUeOeMkC
0Jm+CJYTKKLDysT3g2zNdTHi1XHk6+2LzVC4uT76yg5yBKdOBzh6BWC6tUcqc65L
57pld5h+0jIvfgMB04xgfdaSYcv3UN7EFjZzV7v3VYPHnl9qEFE=
=UI5Y
-----END PGP SIGNATURE-----

--2YJj5f1P6Th4nBRw--

- Raw text -


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