AndreaCatania / godot_tracy

The C++ and GDScript profiler for GodotEngine games
MIT License
98 stars 12 forks source link

segfault on startup due to static initialisation of Tracy - add TRACY_DELAYED_INIT to SCsub #9

Open enetheru opened 1 month ago

enetheru commented 1 month ago

I compile on Windows with MSYS2-ucrt64 While testing this out I would get a segfault on startup when Tracey wanted to intialise. Looking around I found this issue of someone else using a different engine with a similar problem: https://github.com/wolfpld/tracy/issues/71

I implemented it by adding TRACY_DELAYED_INIT to the scons build script and it worked. no more segfaults.