Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Feb 2022 20:59:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        threads@FreeBSD.org
Subject:   [Bug 261713] ThreadSanitizer detects race in __catopen_l (via strerror_r)
Message-ID:  <bug-261713-13406-FroAobCodx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261713-13406@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261713-13406@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261713

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 bo=
gus
thread race warning.

Submitted a review upstream: https://reviews.llvm.org/D119034

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261713-13406-FroAobCodx>