www.delorie.com/archives/browse.cgi | search |
DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 54MHIPEX306410 |
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 54MHIPEX306410 |
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=ysOcRH7u | |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 07C423857C6E |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1747934304; | |
bh=DKqNuNm3csS3WjG78PPaJDqOCht2FhD5VvWhDGiOsfo=; | |
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: | |
From; | |
b=ysOcRH7uN2CyBVPE9JlQoDvMCMK77VNDMDctU7vWkUoZy91saOvWXdRKmTlcu2RAE | |
HI1GKYOllfAX+G+TKg22kbjbooPV9YbFQJHfv/CCFvd3ye+0KXbJ7jsuGf4JBZzMgR | |
FRbsbK5tc1HG6MLNSyNsrrwToxxMcnJ9QJrrsdIk= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 3A01D3858023 |
ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 3A01D3858023 |
ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1747934237; cv=none; |
b=cIqlQrzxd/z7fAn+TbfGNEP1ACm2h4giFNBhUyG7RknFqrvqxJRegwTkjGhWqB0dOmpR3EJ24D+su5PDQGTdAb1JjGh8Cd1X+vTySEx2pavPvyS0bBIWLI1xxYGABD3kl41iDtT65zhdRE9LT1zWUfVukPh9IRJDTCbnJnBc33A= | |
ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
t=1747934237; c=relaxed/simple; | |
bh=DUyzOKZHiVnxCcuCZUeAWZ30sXfkqjcCjjPW9Z+Myis=; | |
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; | |
b=TS421NxHMSuVH0WibqwKADXG57dnloEU8PIdzOWvxJuHytYxodf5cw+sMOZ5RxktVG4mJ7e9xeGf84VEDQDaf3LSTlLZeigl4+alNgENnHMN4MFF00MfAk5w3XZvpIpsTlcyImu2J3tYL93eA/0FoPGsapd8AMA4/jEe3eVRhOM= | |
ARC-Authentication-Results: | i=1; server2.sourceware.org |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 3A01D3858023 |
Date: | Thu, 22 May 2025 10:17:16 -0700 (PDT) |
X-X-Sender: | jeremyd AT resin DOT csoft DOT net |
To: | cygwin AT cygwin DOT com |
Subject: | Re: fork error when trying to call VirtualAlloc with size==0 |
In-Reply-To: | <2574093e-922e-c9a3-2be0-c7cb2a829106@jdrake.com> |
Message-ID: | <58358b38-9bdc-0f7b-7f65-fb158147abdf@jdrake.com> |
References: | <9635a215-9e5a-e725-cbe1-595f508032f6 AT jdrake DOT com> |
<TYCPR01MB10926705B7D31BB79B1DD1543F89FA AT TYCPR01MB10926 DOT jpnprd01 DOT prod DOT outlook DOT com> | |
<e5f949fe-70cf-f7a8-f208-dcce44cb4538 AT jdrake DOT com> | |
<2574093e-922e-c9a3-2be0-c7cb2a829106 AT jdrake DOT 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-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
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> |
Errors-To: | cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
On Wed, 21 May 2025, Jeremy Drake via Cygwin wrote: > On Wed, 21 May 2025, Jeremy Drake via Cygwin wrote: > > > the child to not be very fruitful, but maybe there's some debugging to be > > done there > > Well, found the bug that results in a 0 size. size is a DWORD, but > mb.RegionSize is 0x200000000. mb.RegionSize is SIZE_T, but I figure > size_t is appropriate. I've sent a patch https://cygwin.com/pipermail/cygwin-patches/2025q2/013726.html for review. Now I get the correct error message: 0 [main] rustc 1569 child_info_fork::abort: unable to remap \??\V:\rust\rustc-nightly-src\build-MSYS\x86_64-pc-cygwin\stage0-rustc\release\deps\tracing_attributes-0e8ab81319ad49f1.dll (using V:\rust\rustc-nightly-src\build-MSYS\x86_64-pc-cygwin\stage0-rustc\release\deps\tracing_attributes-0e8ab81319ad49f1.dll) to same address as parent (0x2090000) - try running rebaseall Ultimately, playing whack-a-mole in a 64-bit address space hoping that the DLL will load in the same place as the parent is an exercise in futility, especially in only 6 attempts. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |