fork error when trying to call VirtualAlloc with size==0
Jeremy Drake
cygwin@jdrake.com
Fri May 23 15:55:24 GMT 2025
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.
More information about the Cygwin
mailing list