ZDoom / gzdoom

GZDoom is a feature centric port for all Doom engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities
http://zdoom.org
GNU General Public License v3.0
2.33k stars 526 forks source link

Add missing GC write barrier #2607

Closed MrRaveYard closed 5 days ago

MrRaveYard commented 1 week ago

Took me 4 days to figure out...

May or may not solve: https://github.com/ZDoom/gzdoom/issues/2487

During propagation phase of GC, it's possible to end up with references to deallocated memory: image