https://github.com/python/cpython/commit/4b15d105a2b954cce2d97646ebf9e672d3a23b45
commit: 4b15d105a2b954cce2d97646ebf9e672d3a23b45
branch: main
author: Kumar Aditya <kumaradi...@python.org>
committer: kumaraditya303 <kumaradi...@python.org>
date: 2025-04-16T06:10:56+05:30
summary:

gh-132070: add `PyObject_Realloc` suppression in free-threading (#132468)

files:
M Tools/tsan/suppressions_free_threading.txt

diff --git a/Tools/tsan/suppressions_free_threading.txt 
b/Tools/tsan/suppressions_free_threading.txt
index b0d64d36996920..21224e490b8160 100644
--- a/Tools/tsan/suppressions_free_threading.txt
+++ b/Tools/tsan/suppressions_free_threading.txt
@@ -43,3 +43,7 @@ race_top:rangeiter_next
 # of ptr-sized copies to be thread-safe. (Issue #129069)
 race:list_ass_slice_lock_held
 race:list_inplace_repeat_lock_held
+
+# PyObject_Realloc internally does memcpy which isn't atomic so can race
+# with non-locking reads. See #132070
+race:PyObject_Realloc
\ No newline at end of file

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to