From: Kumar Aditya Date: Wed, 16 Apr 2025 00:40:56 +0000 (+0530) Subject: gh-132070: add `PyObject_Realloc` suppression in free-threading (#132468) X-Git-Tag: v3.14.0b1~461 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b15d105a2b954cce2d97646ebf9e672d3a23b45;p=thirdparty%2FPython%2Fcpython.git gh-132070: add `PyObject_Realloc` suppression in free-threading (#132468) --- diff --git a/Tools/tsan/suppressions_free_threading.txt b/Tools/tsan/suppressions_free_threading.txt index b0d64d369969..21224e490b81 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