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:from:to:subject:date:message-id:content-type :content-id:content-transfer-encoding:mime-version; q=dns; s= default; b=oVlLgBFAeOHcZ+NeENheALwyBzNMsR7EDAMlK9GpNSqeEzrdPdqWc aofSnRDpgKVecTeOnHWROVgTy4Vi1ZvqT0CkePrGNuQYLmo1PvZiwGJPpyhabseB ZMg0Y1aVGGEL7CZXRlzGSgjcCGyNmWrlF45fphgoNN/1eAKirY0o7Y= 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:from:to:subject:date:message-id:content-type :content-id:content-transfer-encoding:mime-version; s=default; bh=F7TH/nkIvC9NHMr1q1iSh9yPOoU=; b=xDF7qtq73Mn6uIBRyN9tIDGyny3y u/+AWAFyjf5d1uOnoqUVMc8Q3cE5SoNTwl3DkRzC7p1ROgh81t1m5lAMVIcWClKG yNrybNOOln4MXcM1jcx6BjFJf3NzuOg3ya1/OZj8mxtxY8RF9J+wyGI6PZb6CXxG Lxtr+UwpLYQUFY4= 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-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,KAM_NUMSUBJECT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:1290, H*MI:edu, emacs, H*MI:a0af X-HELO: NAM03-DM3-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z+wo5sUaEnQVIPZDOyHEP3YseyNLy0WpDt0aFCmGYJs=; b=JrlnP9DastL1P7iLlwGFrqXMnkOp1+NQ/ct1QJSpJlk/azAWyKWnrJAZ8S48RecG+MDVS8QXu0j7wDiehZH+/19q0kJ7itYQ6PBHtFAWRryvAkOZnm65W2mTT3ktIevy0WtVtoA7UE/uXh5th3BnweJLZdxma9RSzprgvt7UY68= From: Ken Brown To: cygwin Subject: fixup_mmaps_after_fork failure with cygwin-3.0.0 Date: Sun, 17 Feb 2019 00:11:00 +0000 Message-ID: <1d506605-a0af-12c2-6faf-ac74ab842182@cornell.edu> user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 authentication-results: spf=none (sender IP is ) smtp.mailfrom=kbrown AT cornell DOT edu; received-spf: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 Content-Type: text/plain; charset="utf-8" Content-ID: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id x1H0BLw5008799 I'm getting a lot of errors like this when building emacs from its git repo: EMACSLOADPATH= '../src/emacs.exe' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile ../../master/lisp/finder.el 1 [main] emacs 26848 fixup_mmaps_after_fork: VirtualProtectEx failed for MAP_PRIVATE address 0x6FFFFCD0000, Win32 error 5 190 [main] emacs 26848 C:\Users\kbrown\src\emacs\x86_64\src\emacs.exe: *** fatal error in forked process - recreate_mmaps_after_fork_failed 619 [main] emacs 26848 cygwin_exception::open_stackdumpfile: Dumping stack trace to emacs.exe.stackdump 1 [main] emacs 27052 fork: child -1 - forked process 26848 died unexpectedly, retry 0, exit code 0x100, errno 11 A bisection points to the following as the first bad commit: commit 69cc7a068656b5c6ef07ca079a213f801e02e650 Author: Corinna Vinschen Date: Sun Jan 27 13:15:15 2019 +0100 Cygwin: fork: restrict parent handle perms and drop handle after use I'll try to do some debugging and/or provide further information tomorrow, but I thought I'd start with this preliminary report. Ken P.S. I meant to try this during the testing phase prior to the release of 3.0.0, but I didn't get to it until today. Sorry. -- 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