mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 01:42:58 +01:00
ci: add second_deadlock_stack=1 to TSAN options
This is mentioned in the developer notes, but isn't present in `TSAN_OPTIONS`, resulting in: ```bash WARNING: ThreadSanitizer: lock-order-inversion (potential deadlock) (pid=60508) Cycle in lock order graph: M0 (0xffff98e02208) => M1 (0xffff98e0cbe8) => M2 (0xffff98e0cd98) => M0 <snip> Hint: use TSAN_OPTIONS=second_deadlock_stack=1 to get more informative warning message ``` Add it, for (potentially) more informative output, when failures occur. Checked that adding does output more information.
This commit is contained in:
parent
85224f92d5
commit
5161c2618c
@ -10,7 +10,7 @@ set -ex
|
||||
|
||||
export ASAN_OPTIONS="detect_leaks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1"
|
||||
export LSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/lsan"
|
||||
export TSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/tsan:halt_on_error=1"
|
||||
export TSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/tsan:halt_on_error=1:second_deadlock_stack=1"
|
||||
export UBSAN_OPTIONS="suppressions=${BASE_ROOT_DIR}/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1"
|
||||
|
||||
echo "Number of available processing units: $(nproc)"
|
||||
|
Loading…
Reference in New Issue
Block a user