Skip to content

Commit

Permalink
Expand stacktrace buffer for tsan (#7167)
Browse files Browse the repository at this point in the history
Change the default from 2 to 4 to help with 'failed to restore the stack' situation.
Also, dump stacktrace for ubsan.
  • Loading branch information
kiburtse authored Nov 24, 2023
1 parent 8f55f1c commit 2fab39e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ functions:
if [[ -n "${run_with_encryption}" ]]; then
export UNITTEST_ENCRYPT_ALL=1
fi
export TSAN_OPTIONS="suppressions=$(pwd)/test/tsan.suppress"
export TSAN_OPTIONS="suppressions=$(pwd)/test/tsan.suppress history_size=4"
export UBSAN_OPTIONS="print_stacktrace=1"
cd build
if ! $CTEST -C ${cmake_build_type|Debug} $TEST_FLAGS; then
Expand Down

0 comments on commit 2fab39e

Please sign in to comment.