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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=RyZeOIWR4Bcw74Pk eU6LsIncqmM7o1FiZZ7GulEgobFIYTw0pUXSA+kimMPnacgjBVj3ztBhqhKy4gP0 wIOx1pLcdVhO3UqW3e4yKo1+aKYHMy64lmFAgL+uTJIQvzuFWB6g2DRXfRKWlIjQ ZZPN/0AxEr0XLJNXVK1EfhwRwNg= 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:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=7TMHNu9nRXgwSE5Un1QJVW Y9ZPQ=; b=vq0COskfO27PG8+t9SZo+GP/GWJGCQPDGO0XiUHVL4ZGdvZttZdqTS xc779rTNEaKViQzekiY/GcPVOCs3Dt5vpYH480lYe/a++DGSHtR8OGA8yi9oG1Vy h2XhBQl5fSQLGmKM8eNedMrh/LfIwI7jkiZ8BrrzqsMQURSkmnFA8= 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: =?ISO-8859-1?Q?No, score=2.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, Stphane, st=c3=a9phane, mbape?= X-HELO: forward101o.mail.yandex.net Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Sat, 9 Dec 2017 18:48:19 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <15510444518.20171209184819@yandex.ru> To: =?utf-8?Q?St=C3=A9phane_Mbape?= , cygwin AT cygwin DOT com Subject: Re: fork fails after nmap with hint address in an unmapped memory region In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id vB9FoPfk005885 Greetings, Stéphane Mbape! > While embeding luajit in a c  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" > There is a sample code below. You forgot to mention Cygwin version you're using, and please provide the sample as an attach to save people the copy-pasting issues. -- With best regards, Andrey Repin Saturday, December 9, 2017 18:47:12 Sorry for my terrible english... -- 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