delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/01/21/19:30:36

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 50M0UaPK2963396
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 50M0UaPK2963396
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=fW0n7JMO
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 947F53858423
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1737505834;
bh=GJuGEXGC9k70TdvC13LwP59r4yFIKsqrMWtswa7VTLw=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=fW0n7JMOz/gKgQFy4PGeZv3LkOM8qynkOelQvSvPI+Fo2MZ9DzImKAKQlr+xoMGwg
XeNohy63bY66/fcKjDnZxzoNOYdTVYxriz4w92qbkcK8yvhcAMkIQnf0DzhfYLWon3
xaaDxOTokxb4V7+BtJlmlgLaJ+/p+bjwO2qKQZA4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D2AE83858D28
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D2AE83858D28
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1737505802; cv=none;
b=kropB8kXBnwkj+/f8BSnuGYoLoWTBgLW9WuvkRQNcf/uwsYhqFNBJUcH2Gpbh5doOZ3s6WCy6eZLUuWL9s836ZjDbL+XerJdk94Qv5xF3FUX964++Qko59LL9piWf+s827YRYKWJyG7o83gTg8OthxkIuLAbIxpn0n5E9i9tRIY=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1737505802; c=relaxed/simple;
bh=RM6biUeoNsnmcffYIfLAZSpn6RO0tHod7kB5FhCrgcE=;
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
b=Wh011tMd3X5WuzA0OeHVgEYFdLzr78Wv8Nr1r1FVukSAs7Hl+tFQtFyYD1RV1GQMs1NBlita7zDBxHbTtf5PqQ2Zyk2Y4q/D0lTdsXuL/VOBJSA0kf4n6Mau22yRfwRqpG5wsr7odTlsVgwS6JzWZAE8hYhtZGXudK5H9jWh1KY=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2AE83858D28
Date: Tue, 21 Jan 2025 16:30:01 -0800 (PST)
X-X-Sender: jeremyd AT resin DOT csoft DOT net
To: cygwin AT cygwin DOT com
Subject: fixup_mmaps_after_fork errors building ruby 3.4.1 with high make
-j
Message-ID: <dba53da3-d6e4-e1b0-18dd-a648c2fc3c8c@jdrake.com>
MIME-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jeremy Drake via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jeremy Drake <cygwin AT jdrake DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

I've been trying to track down why ruby 3.4.1 is failing to build for
msys2.  I've now confirmed that this same issue reproduces with
upstream Cygwin 3.5.4 and 3.6.0-0.335.gb879cd1661ad, so I thought I'd
bring it up here:

when building ruby with a high -j value (I'm doing make -j21), I get
errors of the sort:
     0 [main] miniruby 9272 fhandler_dev_zero::fixup_mmap_after_fork:
requested 0x6FFFE6A60000 != 0x0 mem alloc base 0x0, state 0x10000, size
17545331867648, Win32 error 1455
   2717 [main] miniruby 9272
D:\S\ruby\src\build-x86_64-pc-msys\miniruby.exe: *** fatal error in forked
process - recreate_mmaps_after_fork_failed
      0 [main] miniruby 9241 dofork: child -1 - forked process 24744 died
unexpectedly, retry 0, exit code 0x100, errno 11

I did not see this happen with ruby 3.3.7, or when building with -j1.
That address 0x6FFFE6A60000 seems to reoccur.  The size seems completely
off the wall.

Any ideas on how to properly debug this would be appreciated.


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019