Skip to content

Commit b6f5304

Browse files
committed
CI: disable __tls_get_addr interception in ASan
It might be the cause of the intermittent ASan failures on CI. See: google/sanitizers#1322
1 parent 25444cd commit b6f5304

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ jobs:
9393
echo "ASAN_DSO=$ASAN_DSO" >> $GITHUB_ENV
9494
# Glib is built without -fno-omit-frame-pointer. We need
9595
# to disable the fast unwinder to get full stacktraces.
96-
echo "ASAN_OPTIONS=suppressions=${{ github.workspace }}/suppressions/asan.supp:fast_unwind_on_malloc=0:allocator_may_return_null=1" >> $GITHUB_ENV
96+
# FIXME: remove `intercept_tls_get_addr=0`
97+
# https://github.com/google/sanitizers/issues/1322
98+
echo "ASAN_OPTIONS=suppressions=${{ github.workspace }}/suppressions/asan.supp:fast_unwind_on_malloc=0:allocator_may_return_null=1:intercept_tls_get_addr=0" >> $GITHUB_ENV
9799
echo "LSAN_OPTIONS=suppressions=${{ github.workspace }}/suppressions/lsan.supp:fast_unwind_on_malloc=0" >> $GITHUB_ENV
98100
echo "TSAN_OPTIONS=suppressions=${{ github.workspace }}/suppressions/tsan.supp" >> $GITHUB_ENV
99101
# Ensure UBSan issues causes the program to abort.

0 commit comments

Comments
 (0)