agrawal-d/cph

Using -fsanitize=address as compile argument randomly gives testcase timed out for some reason

boasbakker opened this issue · 0 comments

Using -fsanitize=address as compile argument randomly gives testcase timed out for some reason
When retrying the testcase it doesn´t fail anymore. Mainly happens when testing multiple testcases at a time.
So with "cph.language.cpp.Args": "-D_GLIBCXX_DEBUG -fsanitize=undefined -ftrapv -g3 -ggdb3 -O0 -Wall -Wextra -Wpedantic -Wshadow -Wno-sign-compare", it runs fine, and with
"cph.language.cpp.Args": "-D_GLIBCXX_DEBUG -fsanitize=address,undefined -ftrapv -g3 -ggdb3 -O0 -Wall -Wextra -Wpedantic -Wshadow -Wno-sign-compare", it sometimes works and sometimes doesn´t with exactly the same code and testcase

afbeelding

Extension Version: v6.1.0

VS Code Version: 1.89.1

Browser Version: Not relevant

Operating System: Ubuntu 22.04 64-bit