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=L72q5Y8XBlafsITF6XHmGx025kJK26LsYPEZEEG36dnTPkb3wIJNl iJVwxD0wwkiAa3hzTa8ZsVjUiHM0mXJ3383Hj86Tajs4rjv+A9Isp2/nq7QEKKzj LAaLYokra1ypg5LaLX2FwlqaCymDhIMtU2Gv/YxCGgL4AMn1h560LQ= 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=SGS70soKnGTREdo67iuGywL2kR4=; b=Gsnud3fy/S0tCrZiftiYihz2QrFU jy6OBe3Pt27dtbYnfcXCHbXzSh5vhv5u9xRCKSpfice+8rwPdN4FRr+pemi2Rm6T o6knZWxNoxjRpCWPMz6LoIzg/RndoSSTjWJshYjmkBcDHRPO4lc+2q0EIzmSRD9L 8J3dQDsx/CCfsgI= 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=uploaded X-HELO: drew.franken.de Date: Sun, 10 Dec 2017 14:31:09 +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: <20171210133109.GK18791@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0eh6TmSyL6TZE2Uz" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) --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. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --0eh6TmSyL6TZE2Uz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJaLTcdAAoJEPU2Bp2uRE+gKsEP/ROxRjkE0F2itULG/a61xHSp 83mQIEIs0YxhkDYFUc8vyC2TsQsr7mpPAtCCqYxYnApXA5GrtHA2U2YHLjpC5ISm QC9rvTvcT5piPvORwdSxuu35xPmi0jfwkA54Nt1q6GdMREpXEZ94u4jSCxiROmHS fmmHMJES53Hekd+eWVYn2rbhlo7OrqfkTArqx6uJ44g7zV78KlRgDiLcIuzIB3wO n1FRAKt3wLhUsdDfqujNR9WvT+1qye5pTxl9QbbbgWzqjSAP74OUeYGP3+hhCBpD hMYCFubwipjIBbztFVkTomAE10EzGXdYBcwM1Ghja+ihszZJMvDmRArpFN+BmYon nX7DyWZJ7QAjx9Q6+hh32Jb2aLom5e5EGRPv0d+jf1RACZ7VU3Y59aEGrgG2YvTW m62N+20ywGDIgOXT2MKyVt+GFakCs2DckelxRhWYdTe3Okv7qzknCESUd1WSOZGw 5ptb//LtFMUczk0SPYyyrII5N9sqvaRaekv/6jrwG6I9VzI7L5z/8m0mr7dCRyw/ olFiuM1UUXPGfjtNosjKYIfbTHF1+5vH91OD/MOOWS6+Ol5PBiNazpiAtKSVx607 J7g1ZQXENxS0HKYkKHiQQpL8Jj3xybUpz9snNGi0rSkgPny55D4lS6ZsU39hlQsJ /PF1gUBizmvwI+5n5z1F =9L2l -----END PGP SIGNATURE----- --0eh6TmSyL6TZE2Uz--