From 40a91f51d72921d07d50c4315beb9ffa6d2dd577 Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Tue, 1 Apr 2025 13:36:33 +0000 Subject: [PATCH] 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 --- .tsan-suppress | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.tsan-suppress b/.tsan-suppress index 9473b652d2..107f169d13 100644 --- a/.tsan-suppress +++ b/.tsan-suppress @@ -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