You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
beaumccartney
changed the title
silent crash when copying parts of large structs back to themselves
can't find chkstk.asm when copying parts of large structures
Mar 22, 2024
That sounds like either a rad debugger issue or something else. Are you building your project with -no-crt?
beaumccartney
changed the title
can't find chkstk.asm when copying parts of large structures
silent crash (stack overflow?) when copying small parts of large structs back to themselves
Mar 22, 2024
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
Uh oh!
There was an error while loading. Please reload this page.
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.
// silently crashes gamestate^ = { persistent = gamestate.persistent }
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.
The text was updated successfully, but these errors were encountered: