]> 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)
committerAram Sargsyan <aram@isc.org>
Tue, 1 Apr 2025 13:36:33 +0000 (13:36 +0000)
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

.tsan-suppress

index 9473b652d298003bda2cbdf6b66b043878068b28..107f169d1358ac37a2eba937c887a6c817dfd6e3 100644 (file)
@@ -1,3 +1,6 @@
 # Uninstrumented libraries
 called_from_lib:libfstrm.so
 race:dummyrpz
+
+# FreeBSD false-positive, see GL#5267
+race:libexec/rtld-elf/rtld_malloc.c