LeakSanitizer encounters fatal error since Jenkins update
Summary
Since the Jenkins upgrade our C++ tests fail due to GCC LeakSanitizer issuing this error message
44: [0;39;49m==8771==LeakSanitizer has encountered a fatal error.
44: ==8771==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
44: ==8771==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)
Steps to reproduce
Can be reproduced on running a build via the string 'Run pipeline' any patch we have on org.eclipse.4diac.forte Gerrit. For example, this commit https://git.eclipse.org/r/c/4diac/org.eclipse.4diac.forte/+/206016 worked before the update and fails now after the update
What is the current bug behavior?
LeakSanitizer has a critical error
What is the expected correct behavior?
LeakSanitizer should work.
Relevant logs and/or screenshots
44: [0;39;49m==8771==LeakSanitizer has encountered a fatal error.
44: ==8771==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
44: ==8771==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)
I googled a bit and found a similar issue here https://github.com/google/sanitizers/issues/916
, not sure if it is related, but if this capability should be missing this could be an issue
Priority
-
Urgent -
High -
Medium -
Low
Severity
-
Blocker -
Major -
Normal -
Low
Impact
We cannot perform our leak checks on new code. This can be circumvented by disabling the leak sanitizer, but we would to prefer not.
/cc @azoitl