agrawal-d / cph

Makes judging, compiling, and downloading problems for competitive programming easy.
https://agrawal-d.github.io/cph
GNU General Public License v3.0
816 stars 137 forks source link

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

Open boasbakker opened 5 months ago

boasbakker commented 5 months ago

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

boasbakker commented 3 months ago

Any update on this?