ASAN reports a memory error when running AzCore.Test #18471
Closed
Description
Describe the bug
Address sanitizer reports a memory error when running AzCore.Test. This is a konwn bug of google test.
It prevents us to debug code using ASAN through unit tests.
Assets required
None.
Steps to reproduce
Steps to reproduce the behavior:
- Config project with
-DLY_BUILD_WITH_ADDRESS_SANITIZER=ON
. - Build and run AzCore.Test in debug configration.
- See error.
Expected behavior
Test start successfully.
Actual behavior
Test crash.
Found in Branch
latest commit on development branch.
Desktop/Device:
- Device: PC
- OS: Windows
- Version 11
- CPU 12th Gen Intel(R) Core(TM) i7-12700KF
- GPU NVIDIA GeForce RTX 3080
- Memory 64GB