fork error when trying to call VirtualAlloc with size==0

Yuyi Wang Strawberry_Str@hotmail.com
Fri May 23 12:46:23 GMT 2025


On 2025年5月23日, 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.
If it helps here, should I add this flag for all DLLs & EXEs compiled by Rust?
--
Yuyi Wang


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /