delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/12/10/11:14:05

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:subject:to:references:from:reply-to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=xorDFfR/Gp7CVD9R
uZPiiQ0DV/yZQJI73X6heQP/ufqFW8mazb9yCtDXTTzMIJBy1VExE5ATJXoQ4kWj
KlWEyv/8W3ItT1TX7DQHbGN7owkbs+DSGlDP7+MO82UoXTTQf/7o1m+VG+g7O+rS
E87hd+++dKVNdHk7hSYgsQoFyIM=
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:subject:to:references:from:reply-to:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=NNczX72hyVotr55E1/USCq
fCkoI=; b=tlHNg4CVR+0AGgMNXKwec5PTlksnff426CnZKze+x40wxJWw5YcXy1
ziTvQiMWnWckI7ovxo09m5YF8c7IjG3VN7FDKa0ikFoR8vEkPxtP/4YD/CO36haw
+XFoxfY93DFwDjuIQPfx0YpxzQoiBj4sG3ddvFGIbuSiBEX3wD2OA=
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=-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:957, H*M:yahoo, Hx-spam-relays-external:ESMTPA
X-HELO: sonic304-22.consmr.mail.ir2.yahoo.com
Subject: Re: fork fails after nmap with hint address in an unmapped memory region
To: cygwin AT cygwin DOT com
References: <b431898c-30f5-2847-c922-0f25a525ef76 AT yahoo DOT fr> <15510444518 DOT 20171209184819 AT yandex DOT ru>
From: "Stéphane Mbape via cygwin" <cygwin AT cygwin DOT com>
Reply-To: =?UTF-8?Q?St=c3=a9phane_Mbape?= <smbape AT yahoo DOT fr>
Message-ID: <77dab900-6ce1-6a28-b011-4d233fda408f@yahoo.fr>
Date: Sun, 10 Dec 2017 17:13:41 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0
MIME-Version: 1.0
In-Reply-To: <15510444518.20171209184819@yandex.ru>

Worked for me.
Thank you.

On Sun, 10 Dec 2017 14:31:09, Corinna Vinschen wrote:
> --0eh6TmSyL6TZE2Uz
> Content-Type: text/plain; charset=utf-8
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Dec  9 15:58, St=C3=A9phane Mbape via cygwin wrote:
> > Hello,
> >=20
> > While embeding luajit in a c=C2=A0 program, I found myself unable to fork
> > processes.
> > Investigations prove that it was related to nmap.
> > To be accurate, calling nmap with hint address in a unmapped memory region
> > will cause all forks to fail with
> > "fixup_mmaps_after_fork: ReadProcessMemory failed for MAP_PRIVATE address
> > 0x6FFFFFE0000, Win32 error 299"
> >=20
> > There is a sample code below.
> >=20
> > Thank you for reading.
> 
> Thank you for the testcase.  I pushed a patch and uploaded new developer
> snapshots to https://cygwin.com/snapshots.  Please test.


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