Reported by TSAN. Makes `src/test/test_bitcoin --run_test=DoS_tests` pass also when compiled with TreadSanitizer (`./configure --with-sanitizers=thread`).
Backport of core PR12882
https://github.com/bitcoin/bitcoin/pull/12882/files
Differential D3606
tests: Fix lock-order-inversion (potential deadlock) in DoS_tests. Fabien on Jul 9 2019, 12:03. Authored by Tags None Subscribers None
Details
Reported by TSAN. Makes `src/test/test_bitcoin --run_test=DoS_tests` pass also when compiled with TreadSanitizer (`./configure --with-sanitizers=thread`). Backport of core PR12882 mkdir build && cd build ../configure --with-sanitizers=thread make export TSAN_OPTIONS="suppressions=${PWD}/../test/sanitizer_suppressions/tsan" ./src/test/test_bitcoin -t denialofservice_tests
Diff Detail
Event Timeline
|