]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Suppress FreeBSD-specific TSAN false-positive data race
authorAram Sargsyan <aram@isc.org>
Tue, 1 Apr 2025 13:36:33 +0000 (13:36 +0000)
committerMichal Nowak <mnowak@isc.org>
Wed, 2 Apr 2025 17:31:02 +0000 (19:31 +0200)
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)

.tsan-suppress

index b12e03892f9e7e045aa31597c83596f899eb1f82..22ac7cb2c5e379741616d9c3e8911fd9a0d0d841 100644 (file)
@@ -1,2 +1,5 @@
 # Uninstrumented library.
 called_from_lib:libfstrm.so
+
+# FreeBSD false-positive, see GL#5267
+race:libexec/rtld-elf/rtld_malloc.c