I have a strange situation – my program runs into segfault after everything is complete (in cleanup process when calling destructors).
It runs into segfault only with debug build (no segfault with release build, address sanitizer build, valgrind).
My program is very large (cannot show sources here). We have a std::vector like class which based on specific memory, in which destructor’s segfault happens…I’m still debugging to find a solution.
But, I’m really interested if someone faced similar issue – when segfault occurs only on debug build (not in sanitizer, valgrind builds).
Source: Windows Questions C++