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=T7WqvSZQAWG0GlhLq9t0eyfXW9qKz1Gpv7EWc1tJlOsY4TZnDb7DP xsYGi4/iCNkUF+kRKdSpBk1ZKH6xl2MPEPERfV8G0E3ltEErcud8s/Mvfu/6dw06 YsNW8USuk0ebuprxEX7/D5pqd8bS7s0iRvqdJ/0NtjiJEVu+rxDitM= 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=zgHTxbRzbeOsKG9c8mZJvM5sIjU=; b=kELQ7Y4wRqba07PMbzOdPNuWdxfn OdfqFoDmUgke+CfzVPrUWrxtC2+8RyRydWLMf6DLVTNK6zhD9ZJ4hSSJ4X5+5uD4 IQiS7s5EDYgh5VpbenC9aqD+b/syPMs9jfUhw/7XtiFBj0YuNZYzdu8hpZyVO4ty 2cpRDmaI/LC0vQs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-100.3 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_BRBL_LASTEXT,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Worked X-HELO: drew.franken.de Date: Sun, 10 Dec 2017 19:03:56 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: fork fails after nmap with hint address in an unmapped memory region Message-ID: <20171210180356.GL18791@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <15510444518 DOT 20171209184819 AT yandex DOT ru> <77dab900-6ce1-6a28-b011-4d233fda408f AT yahoo DOT fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="s9fJI615cBHmzTOP" Content-Disposition: inline In-Reply-To: <77dab900-6ce1-6a28-b011-4d233fda408f@yahoo.fr> User-Agent: Mutt/1.9.1 (2017-09-22) --s9fJI615cBHmzTOP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Dec 10 17:13, St=C3=A9phane Mbape via cygwin wrote: > Worked for me. > Thank you. >=20 > On Sun, 10 Dec 2017 14:31:09, Corinna Vinschen wrote: > > --0eh6TmSyL6TZE2Uz > > Content-Type: text/plain; charset=3Dutf-8 > > Content-Disposition: inline > > Content-Transfer-Encoding: quoted-printable > >=20 > > On Dec 9 15:58, St=3DC3=3DA9phane Mbape via cygwin wrote: > > > Hello, > > >=3D20 > > > While embeding luajit in a c=3DC2=3DA0 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 r= egion > > > will cause all forks to fail with > > > "fixup_mmaps_after_fork: ReadProcessMemory failed for MAP_PRIVATE add= ress > > > 0x6FFFFFE0000, Win32 error 299" > > >=3D20 > > > There is a sample code below. > > >=3D20 > > > Thank you for reading. > >=20 > > Thank you for the testcase. I pushed a patch and uploaded new developer > > snapshots to https://cygwin.com/snapshots. Please test. Thanks for testing, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --s9fJI615cBHmzTOP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJaLXcMAAoJEPU2Bp2uRE+gmvYP/iimnWQtsqFz+6B5t7xtTDkR OQZWe60dHhr14liJKbi3nHk8P4qkzC1MYe0/SgZrDmCO4bIP9j3urNYjG37HR8QL PECUV/2xoaPGfIyWLBYwEqSFBerFKvbdStsjh/a16zyGWf76hAXxdiUe9dbu4r2E KZVOHd2TZfLNKygPSaHQZ2kUN5lOXt8+EI5+ljvF945f5/SoB4A3IH0Nsw0XquEj lSfq8vKGZuVWFAjBoCoi82p5bAsIa76xhprdpHKD8h4zyQVbQdqsMQX9gBOpptBw zj6FBJRMcN7Y1dKpkOE5ZIVZNw7J8gJ+hwiaKwD2Hia3JvrqcFBSgA31ibg/dwga Yld/WrcKhxG5ZUJIz9Rr/+ROgzeE6fzANygvbb0vBFPy9nWCTdmvxevC8527dPkh 9Z7kV+AIgvzOK+v+fueN8pEl29Lt6XonPq7Fo6fc1zk7s+nC9Ae86vpBbvsmRVt+ KvHJhMQz3N/9BYSzpDBLG7tWVCBMsFgvomfb9d6kHSHWtmq5/+W/2u6MPF1RAVWO OLsexraLHy+EvEu4cezQGzGHGKlYYdaKLVoGB7iHfdOhp4GaAOIPkIeFWvAvRhNM xjWAsTpo5TA0kyOSMhZzVxvbped+9SturINUY49U115EYZb9ceDuumvTiQyUyOw/ J78xxExoB/MlOGDE2WyW =rsrQ -----END PGP SIGNATURE----- --s9fJI615cBHmzTOP--