From: Aram Sargsyan Date: Tue, 1 Apr 2025 13:36:33 +0000 (+0000) Subject: Suppress FreeBSD-specific TSAN false-positive data race X-Git-Tag: v9.18.36~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7495e64f87e87cfb8dd7649b8ec605ca71392ed4;p=thirdparty%2Fbind9.git Suppress FreeBSD-specific TSAN false-positive data race TSAN reports a data race in FreeBSD's memset(), called by its __crt_calloc() memory allocation function. There is a very similar bug report [1] in FreeBSD bug tracker, and an existing code-review [2] that tries to address an issue, the description of which is very similar to what we are seeing. Suppress this report by adding its signature to '.tsan-suppress'. [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282794 [2] https://reviews.freebsd.org/D28536?id=86694 (cherry picked from commit 40a91f51d72921d07d50c4315beb9ffa6d2dd577) --- diff --git a/.tsan-suppress b/.tsan-suppress index b12e03892f9..22ac7cb2c5e 100644 --- a/.tsan-suppress +++ b/.tsan-suppress @@ -1,2 +1,5 @@ # Uninstrumented library. called_from_lib:libfstrm.so + +# FreeBSD false-positive, see GL#5267 +race:libexec/rtld-elf/rtld_malloc.c