Details
Description
Added to /libbson/CMakeLists.txt:
set(CMAKE_C_FLAGS "-fsanitize=address")
|
cmake .
|
make
|
./test-libbson
|
The unit tests will more often than not stall and abort due to a timeout. Given a lucky ordering of the tests from threading, they all pass.
./test-libbson
|
...
|
Timed out, aborting!
|
Aborted (core dumped)
|
Running the unit tests without parallelization are good.
./test-libbson -p
|
Attachments
Issue Links
- is related to
-
CDRIVER-747 Test with address sanitizer
-
- Closed
-
-
CDRIVER-748 Test with ThreadSanitizer
-
- Closed
-
-
CDRIVER-1051 ASAN/UBSAN: misaligned address
-
- Closed
-