1# This file contains suppressions for the free-threaded build. It contains the 2# suppressions for the default build and additional suppressions needed only in 3# the free-threaded build. 4# 5# reference: https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions 6 7## Default build suppresssions 8 9race:get_allocator_unlocked 10race:set_allocator_unlocked 11 12## Free-threaded suppressions 13 14 15# These entries are for warnings that trigger in a library function, as called 16# by a CPython function. 17 18# https://gist.github.com/swtaarrs/8e0e365e1d9cecece3269a2fb2f2b8b8 19race:sock_recv_impl 20# https://gist.github.com/swtaarrs/08dfe7883b4c975c31ecb39388987a67 21race:free_threadstate 22 23 24# These warnings trigger directly in a CPython function. 25 26race_top:assign_version_tag 27race_top:new_reference 28race_top:_multiprocessing_SemLock_acquire_impl 29race_top:list_get_item_ref 30race_top:_Py_slot_tp_getattr_hook 31race_top:add_threadstate 32race_top:dump_traceback 33race_top:fatal_error 34race_top:_multiprocessing_SemLock_release_impl 35race_top:_PyFrame_GetCode 36race_top:_PyFrame_Initialize 37race_top:PyInterpreterState_ThreadHead 38race_top:_PyObject_TryGetInstanceAttribute 39race_top:PyThreadState_Next 40race_top:PyUnstable_InterpreterFrame_GetLine 41race_top:sock_close 42race_top:tstate_delete_common 43race_top:tstate_is_freed 44race_top:type_modified_unlocked 45race_top:write_thread_id 46race_top:PyThreadState_Clear 47# Only seen on macOS, sample: https://gist.github.com/aisk/dda53f5d494a4556c35dde1fce03259c 48race_top:set_default_allocator_unlocked 49 50# https://gist.github.com/mpage/6962e8870606cfc960e159b407a0cb40 51thread:pthread_create 52