[Bug 261713] ThreadSanitizer detects race in __catopen_l (via strerror_r)
[email protected] Fri, 04 Feb 2022 20:59:48 +0000
| Newsgroups | gmane.os.freebsd.devel.threading |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261713 Dimitry Andric <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #2 from Dimitry Andric <[email protected]> --- 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.