[Bug 261713] ThreadSanitizer detects race in __catopen_l (via strerror_r)
Date: Fri, 04 Feb 2022 20:59:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261713
Dimitry Andric <dim@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |In Progress
--- Comment #2 from Dimitry Andric <dim@FreeBSD.org> ---
This is a false positive in ThreadSanitizer: it does not intercept the
_pthread_rwlock_* functions in libc, so it does not realize __catopen_l() is
locking the cache SLIST when reading and writing it, and then produces a bogus
thread race warning.
Submitted a review upstream: https://reviews.llvm.org/D119034
--
You are receiving this mail because:
You are the assignee for the bug.