]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-117657: Add TSAN suppression for set_default_allocator_unlocked (GH-120500...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 14 Jun 2024 16:34:07 +0000 (18:34 +0200)
committerGitHub <noreply@github.com>
Fri, 14 Jun 2024 16:34:07 +0000 (16:34 +0000)
gh-117657: Add TSAN suppression for set_default_allocator_unlocked (GH-120500)

Add TSAN suppression for set_default_allocator_unlocked
(cherry picked from commit 2bacc2343c24c49292dea3461f6b7664fc2d33e2)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Tools/tsan/suppressions_free_threading.txt

index 05ceaf438b63537395a50d8f19589815398b406e..4c8b0b8abd2963db0c8627119d017609b4858196 100644 (file)
@@ -63,6 +63,8 @@ race_top:tstate_is_freed
 race_top:type_modified_unlocked
 race_top:write_thread_id
 race_top:PyThreadState_Clear
+# Only seen on macOS, sample: https://gist.github.com/aisk/dda53f5d494a4556c35dde1fce03259c
+race_top:set_default_allocator_unlocked
 
 # https://gist.github.com/mpage/6962e8870606cfc960e159b407a0cb40
 thread:pthread_create