delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/12/06:31:51

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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=mUBE4Tu
oUbNyGhqaamfkkTOwRryK0DCabNhSvRnWFVsnBDyjrUdkp1UGvrA0XP29za65RTQ
TBFTVp/nh1wWJAmwa9QPvcjdHzIpWScv5xkTyaP14dz3Ggm7qH6c8e2UJlxkCYFD
AEnlvkkb30+eaYrdtyT6rJvc1yZmQTV+Uodw=
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:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=dLUTuCmGc1a1r
6pNDtxqFXuKbTY=; b=uxvWaQ8Mvwlx3TIXSXFPMiyW6Rfx9qb7SkAM6gmXG3/TP
So2PPOLx4Ux76s9OjUvQ+H/f7ZQbId760JxEWPuxvCTO9XX8qfyVZ5KsYrHjD0sm
gzzQJDxotPaNcgrsS4gRqQPV6fCm2Z80GqMbvzrqgMZPKl9OH/eXxcwl8zcTfM=
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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:932
X-HELO: mail-wr1-f50.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=QblFrrj91zIhcM5Vc5/TkVfVC9VybLZjyCiFVWLlre0=; b=pc03uly+6FT+hR5ucoHvv29C29gIx6eGY2tKbeaknMOMJC/06mGg7sgXDbpNxiKsot TNUBXAst8ugm+htJHKQ5pH4ov/RF2KeqFTJ3CumqvKC4X3tR0ByU8S5+LOARi4w1wZER R52VsXL40gLyuLB86pTsR4tShEJJ3/HtQFSU3npHvLQL6dwy0yXJAFEfl2ZhX+XJRqDD gjY4hbDkSbLM+qy7gasUPJCkeYBUeIJJNPHJ+NRxeEPEkcVyzj6PIqqKNXZfBhj8dco2 LTyI6N8+Ap09MCrOw6LvNp7xYILzXp8oZQFmHr/GcEP91Meqq9yPlA/Z84OKXfTkjatW Llow==
MIME-Version: 1.0
In-Reply-To: <fd7e7ce2-84fd-aef3-b54a-0ff76ef8900c@gmail.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>
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
Date: Thu, 12 Jul 2018 12:31:36 +0200
Message-ID: <CAB8Xom_DX=u0q17ewfRokh_mTcBYMppPZdDLS3UUdaPm5GMV4w@mail.gmail.com>
Subject: Re: Fork issue on W10 WOW
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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
>

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.

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.

It seems I have only two choices:
- disable totally ASLR, but some guidance (1)  around seem not working anymore
- use a virtual machine for a 32 bit W7 system to be used as build environment.

Any suggestion for the two approaches ?

Regards
Marco


1) https://gist.github.com/trietptm/b84ccad9db01f459ac7e

--
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

- Raw text -


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