Open beaumccartney opened 8 months ago
i ran it in rad debugger and got this
perhaps I don't have all the visual studio things installed that I'm supposed to (god help me) but I don't have a d drive either
I switched to using PortableBuildTools and I'm still having the same issue so I'm not confident its a VS install issue anymore
That sounds like either a rad debugger issue or something else. Are you building your project with -no-crt
?
I'm using libc rn, so using no-crt isn't an option rn
I tried in rememdybg too and I got a stack overflow exception. I suppose that tracks cause the struct is large, but what I'm only copying a small field from the large struct and clearing the rest. I'm not entirely sure how this should behave but I don't have this problem on macos.
my apologies for changing the issue name, I'll change it back
Context
Bug
on windows with certain large structs, clearing them to zero while copying some of their fields back in silently crashes. I've not been able to reproduce this issue on my mac.
e.g.
factoring out to below fixes the crash for me
Unfortunately I don't have a minimal repro. I'll continue searching for one and update here if I find one.