From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128471 invoked by alias); 12 Jul 2018 13:38:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 128459 invoked by uid 89); 12 Jul 2018 13:38:51 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.187) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 12 Jul 2018 13:38:50 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue006 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MZs0w-1fMUMT2zYk-00LaKw for ; Thu, 12 Jul 2018 15:38:47 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 36FBFA80663; Thu, 12 Jul 2018 15:38:47 +0200 (CEST) Date: Sat, 14 Jul 2018 12:46:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Fork issue on W10 WOW Message-ID: <20180712133847.GT27673@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <7ad0e0d4-438b-33ad-a711-e0b1996fa6f6@gmail.com> <20180709090332.GC3111@calimero.vinschen.de> <87e94b8c-13d0-928e-957d-c32b15b8a962@gmail.com> <20180709123739.GB27673@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2YJj5f1P6Th4nBRw" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-SW-Source: 2018-07/txt/msg00129.txt.bz2 --2YJj5f1P6Th4nBRw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1531 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" Content-length: 833 -----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--