gh-124878: Add temporary TSAN suppression for free_threadstate (gh-130602)

The race condition with `free_threadstate` and daemon threads exists in
both the free threading and default builds. We were missing a
suppression in the default build.
This commit is contained in:
Sam Gross 2025-02-28 09:27:51 -05:00 committed by GitHub
parent 038e4d606b
commit cc17307faa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
# This file contains suppressions for the default (with GIL) build.
# reference: https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions
# gh-124878: race condition when interpreter finalized while daemon thread runs
race:free_threadstate
# https://gist.github.com/mpage/daaf32b39180c1989572957b943eb665
thread:pthread_create

View file

@ -10,7 +10,7 @@
# These entries are for warnings that trigger in a library function, as called
# by a CPython function.
# https://gist.github.com/swtaarrs/08dfe7883b4c975c31ecb39388987a67
# gh-124878: race condition when interpreter finalized while daemon thread runs
race:free_threadstate
# These warnings trigger directly in a CPython function.