2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-22 18:19:42 +00:00

chg: nil: Suppress FreeBSD-specific TSAN false-positive lock-order-inversion

TSAN reports a lock-order-inversion (potential deadlock) issue in
`add_trace_entry()`.

While it is true that in one case a lock in the `isc_mem_t` structure is
locked first, and then a lock in the `FILE` structure is locked second,
and in the the second case it is the other way around, this isn't an
issue, because those are `FILE` structures for totally different files,
used in different parts of the code.

Closes #5266

Merge branch '5266-freebsd-suppress-tsan-lock-order-inversion-false-positive' into 'main'

See merge request isc-projects/bind9!10355
This commit is contained in:
Arаm Sаrgsyаn 2025-04-02 12:33:00 +00:00
commit 3571c70203

View File

@ -4,3 +4,6 @@ race:dummyrpz
# FreeBSD false-positive, see GL#5267 # FreeBSD false-positive, see GL#5267
race:libexec/rtld-elf/rtld_malloc.c race:libexec/rtld-elf/rtld_malloc.c
# FreeBSD false-positive, see GL#5266
deadlock:add_trace_entry