diff --git a/devtools/build-and-test-with-sanitize.sh b/devtools/build-and-test-with-sanitize.sh index 565b187c22d..50e2cd59042 100755 --- a/devtools/build-and-test-with-sanitize.sh +++ b/devtools/build-and-test-with-sanitize.sh @@ -30,6 +30,10 @@ cmake \ -Dpostgresql=yes cmake --build cmake-build +# avoid problems in containers with sanitizers +# see https://github.com/google/sanitizers/issues/1322 +export ASAN_OPTIONS=intercept_tls_get_addr=0 + cd cmake-build export REGRESS_DEBUG=1 ctest \