Open LowLevelMahn opened 1 year ago
do you already use ASAN under Linux?
Occasionally, to verify we are not doing any buffer overflow/use-after-free/... etc. This is an ongoing issue (dethrace still causes issues).
I created a valgrind suppression file to limit the leaks to Dethrace-only:
After executing dehtrace with the command below, the leaks are printed to a log.
DETHRACE_ROOT_DIR=/path/to/carmageddon valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --suppressions=dethrace-suppressions.txt --log-file=dethrace-leaks.txt ./dethrace
We should worry first about the "definitely lost" leaks.
do you already use ASAN under Linux?
adding these lines to the CMakeLists.txt will add ASAN support
but that should only active for finding leaks and memory corruptions, not in the normal release
shows some leaks after game start/stop - having non is better :)
i think not all but some leaks coming from dethrace