DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 54NFtssd1136210 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 54NFtssd1136210 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=yKoZtmQp X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A0D46385B805 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1748015753; bh=bZRaAEurzLqMIGqA9r/DnFjtNlAFa81xcESPz64c69U=; h=Date:To:cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=yKoZtmQphohQ9b9/cjzRzuH1JFTD50tNXWr3Jz3G1IYLRm19q1l37kKw/+gIUMKzY u0V7Jl7wLqEG3J0uU2RVoEhoLwFl7hpRS3e9VU1Xpd0Pxlk3v8v/3OCTNt7jnMYaEv Ij58MDzt52Ot5QoOev95K/ME7gBTisxeWVbxSoh8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 286F43858C60 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 286F43858C60 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748015725; cv=none; b=nxvPOS3O/cwV0VJhe723xCpHz5SxQ7F6WwToF5WkROJNO+OVKd/NeTTIK47sa/glsH4kyXm78WX33YZ9YEE3PkM0MqUoLCofx9AXGhi8CNRkOR2/Lm68IjkRqmOBm7ZVAyPtWIOcTc6lzYTnBBy5oH/7ocv30XTvial0jXPVBt8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748015725; c=relaxed/simple; bh=SFGKugOtHPMd3GPb+CA/VHQ70Xs10v7vRnkazdjW/34=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=U0iOkyxbRhXhG2SJRuA16ZYMUkXe7GlTyMDSV+UmlVlR11vigRaGXNPiAxfTtYKsoqEUrLV+3AdMhoKjZ5cBf5oePf1M2Z8/RTQ4zpWhZqU01pRGa0qeMfkV2H2SXIkO3txdyvCExV1O00dPgdJyx7q4kjPQxexbJS24SAhbNtY= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 286F43858C60 Date: Fri, 23 May 2025 08:55:24 -0700 (PDT) X-X-Sender: jeremyd AT resin DOT csoft DOT net To: Yuyi Wang cc: cygwin AT cygwin DOT com Subject: Re: fork error when trying to call VirtualAlloc with size==0 In-Reply-To: Message-ID: <5e87e58d-a774-927d-fb5d-bf8b0498e311@jdrake.com> References: MIME-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jeremy Drake via Cygwin Reply-To: Jeremy Drake Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Fri, 23 May 2025, Yuyi Wang wrote: > On Fri, 23 May 2025, Jeremy Drake wrote: > > Maybe. MSYS2 doesn't generally advise to rebase on x86_64, but I think > > Cygwin does as part of its setup/postinstall hooks. As a hack, I was able > > to work around this by setting the "dynamicbase" flag on the dlls (it's a > > long story about why this helps rather than hurts in this particular case) > > I believe it is ASLR right? I thought cygwin doesn't support such DLLs on fork. Right > If it helps here, should I add this flag for all DLLs & EXEs compiled by Rust? No. -- 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