#A possible bug?

9 messages · Page 1 of 1 (latest)

winged robin
#

Hard to discern without having full source, but if you're running in to garbled memory after some size of allocations, could it be that you're blowing the temp allocator?

#

nodeComponents := make([]^GraphNode, len(garModel.MeshInstances), context.temp_allocator); <- swap for main allocator?

indigo spindle
#

isn't the temp allocator a growing one

somber creek
#

Yeah this is impossible to say or help with

old basin
#

If you're on a platform with asan (Darwin or Linux) then you can test to make sure you're not accidently corrupting memory somehow.

#

Or, if you just so happened to rebuild Odin this very moment on Windows with LLVM18 support (fixes asan on windows) 😛

old basin
#

-sanitize:address

#

odin help build for all options

#

On linux and darwin there are even more sanitizers to build with