Skip to content

Commit 137595f

Browse files
authored
[3.13] gh-124878: Add temporary TSAN suppression for free_threadstate (gh-130602) (gh-130687)
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. (cherry picked from commit cc17307)
1 parent 9d825d4 commit 137595f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Tools/tsan/suppressions.txt

+3
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
race:get_allocator_unlocked
44
race:set_allocator_unlocked
55

6+
# gh-124878: race condition when interpreter finalized while daemon thread runs
7+
race:free_threadstate
8+
69
# https://gist.github.com/mpage/daaf32b39180c1989572957b943eb665
710
thread:pthread_create

Tools/tsan/suppressions_free_threading.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ race:set_allocator_unlocked
1717

1818
# https://gist.github.com/swtaarrs/8e0e365e1d9cecece3269a2fb2f2b8b8
1919
race:sock_recv_impl
20-
# https://gist.github.com/swtaarrs/08dfe7883b4c975c31ecb39388987a67
20+
21+
# gh-124878: race condition when interpreter finalized while daemon thread runs
2122
race:free_threadstate
2223

2324

0 commit comments

Comments
 (0)