This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
With LLVM-14 the Leak Sanitizer crashes after completion of fullstate-simulator-tests
#1078
Labels
bug
Something isn't working
2022.09.15: Likely to get deprecated after migrating to Rust.
Upon migrating from Clang-13 to Clang-14 some of the test cases of the test src/Qir/Tests/FullstateSimulator/FullstateSimulatorTests.cpp start failing (for pipeline
microsoft.qsharp-runtime.sanitized (Build linux)
building everything in Debug config):Original Failure
The investigation shows that after the test case completes, the leak sanitizer starts its analysis, gets the signal 11 (SIGSEGV - Signal "Segmentation Violation", typically the null pointer access or an access using a corrupt pointer):
Detailed Failure of a Test Case (see last few lines)
The experiments and the attempts to narrow down the issue didn't clarify the logic behind the failures.
Googling out makes an impression that there is still some unresolved bug in the sanitizer.
Hopefully the issue will be fixed after LLVM-14.0.6.
To Reproduce
The text was updated successfully, but these errors were encountered: