Closed neuromancer closed 4 years ago
That very useful thing!
stb_sprintf.h is third-party library, so I don't know what exactly is happening there. I'll try to update it.
These leaks looks strange. What does mean ' /usr/lib/libnvidia-glcore.so ' - is the one who did allocations?
stb_sprintf.h is third-party library, so I don't know what exactly is happening there. I'll try to update it.
Undefined behavior like this one is not usually very serious (or could be only if you are using some exotic architecture like MIPS)
These leaks looks strange. What does it mean string ' /usr/lib/libnvidia-glcore.so ' - is the one who did allocations?
I think so, but getting more information will require to symbolize the traces. I will try to get you more information and fill an issue, so you can take a better look to these.
Sanitizers are a great tool that can catch undefined behavior in C/C++ compiled code such as memory corruption bugs (buffer overflows or accesses to a dangling pointer). They are even available in Windows!
Right now, it detects 3 potential issues:
as well as a few memory leaks when the Carnage3D exits: