From: Sam Gross Date: Fri, 28 Feb 2025 14:27:51 +0000 (-0500) Subject: gh-124878: Add temporary TSAN suppression for free_threadstate (gh-130602) X-Git-Tag: v3.14.0a6~220 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc17307faaa248535c65f6a7668e06dc8ef04575;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Tools/tsan/suppressions.txt b/Tools/tsan/suppressions.txt index 6bda5ecd5708..c70b0ddca059 100644 --- a/Tools/tsan/suppressions.txt +++ b/Tools/tsan/suppressions.txt @@ -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 diff --git a/Tools/tsan/suppressions_free_threading.txt b/Tools/tsan/suppressions_free_threading.txt index 3354b5756811..c32c43db19cb 100644 --- a/Tools/tsan/suppressions_free_threading.txt +++ b/Tools/tsan/suppressions_free_threading.txt @@ -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.