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 40a91f51d7)
This commit is contained in:
Aram Sargsyan 2025-04-01 13:36:33 +00:00 committed by Michal Nowak
parent 2796beb797
commit 7495e64f87
No known key found for this signature in database

View 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