7 ms·
LOL. I did not realize "all" was not all. Jesus Christ. Maybe I will finally be able to figure out what is causing my program to crash.
by ilaksh 7y ago
LOL. I did not realize "all" was not all. Jesus Christ. Maybe I will finally be able to figure out what is causing my program to crash.
- saagarjha 7y agoI’d recommend using a sanitizer rather than relying on compiler warnings for this.
- ilaksh 7y agoI tried to use some sanitizers but they seemed unavailable for my system. I am on MSYS2 with GCC 9.
- KindOne 7y agoWhat about gdb?
- ilaksh 7y agoIs it possible to use gdb as a sanitizer or something? gdb usually works great for me but the backtraces and random crashes make me think it's actually some kind of memory corruption.
- throwaway8941 7y agoWindows has something resembling ASAN, you could try running your application with some/all checks enabled. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/application-verifier https://docs.microsoft.com/en-us/windows-hardware/drivers/de...
- ilaksh 7y agoYeah I tried that. Can't remember for sure if I was able to get it to work for my program or not but I think not.