René's URL Explorer Experiment


Title: data races in instrumentation when running coverage under TSAN · Issue #136870 · python/cpython · GitHub

Open Graph Title: data races in instrumentation when running coverage under TSAN · Issue #136870 · python/cpython

X Title: data races in instrumentation when running coverage under TSAN · Issue #136870 · python/cpython

Description: When running the test suite of python-isal which uses coverage.py, there are multiple data races reported under a TSAN build: Races: Details #9 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0) #10 _PyFunction_Vectorcall call.c ...

Open Graph Description: When running the test suite of python-isal which uses coverage.py, there are multiple data races reported under a TSAN build: Races: Details #9 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026...

X Description: When running the test suite of python-isal which uses coverage.py, there are multiple data races reported under a TSAN build: Races: Details #9 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026...

Opengraph URL: https://github.com/python/cpython/issues/136870

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"data races in instrumentation when running coverage under TSAN","articleBody":"When running the test suite of [python-isal](https://github.com/pycompression/python-isal) which uses coverage.py, there are multiple data races reported under a TSAN build:\n\n\nRaces:\n\u003cdetails\u003e\n\n```console\n    #9 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #10 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #11 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #12 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #13 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #14 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #15 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #16 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #17 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #18 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #19 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #20 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #21 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #22 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #23 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #24 _PyObject_Call call.c:361 (python.exe:arm64+0x10007f418)\n    #25 PyObject_Call call.c:373 (python.exe:arm64+0x10007f4cc)\n    #26 _PyEval_EvalFrameDefault generated_cases.c.h:2656 (python.exe:arm64+0x10027b6b4)\n    #27 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #28 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #29 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #30 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #31 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #32 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #33 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #34 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #35 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #36 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #37 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #38 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #39 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #40 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #41 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #42 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #43 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #44 _PyEval_EvalFrameDefault generated_cases.c.h:2968 (python.exe:arm64+0x10027c754)\n    #45 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #46 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #47 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #48 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #49 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #50 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #51 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #52 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #53 _PyEval_EvalFrameDefault generated_cases.c.h:2968 (python.exe:arm64+0x10027c754)\n    #54 PyEval_EvalCode ceval.c:868 (python.exe:arm64+0x10026a2ac)\n    #55 builtin_exec bltinmodule.c.h:568 (python.exe:arm64+0x100263f80)\n    #56 cfunction_vectorcall_FASTCALL_KEYWORDS methodobject.c:465 (python.exe:arm64+0x10011f43c)\n    #57 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f1a8)\n    #58 _PyEval_EvalFrameDefault generated_cases.c.h:1620 (python.exe:arm64+0x1002774ac)\n    #59 PyEval_EvalCode ceval.c:868 (python.exe:arm64+0x10026a2ac)\n    #60 run_mod pythonrun.c:1436 (python.exe:arm64+0x1003359cc)\n    #61 _PyRun_SimpleFileObject pythonrun.c:521 (python.exe:arm64+0x1003311f8)\n    #62 _PyRun_AnyFileObject pythonrun.c:81 (python.exe:arm64+0x100330950)\n    #63 pymain_run_file main.c:429 (python.exe:arm64+0x100370710)\n    #64 Py_RunMain main.c:772 (python.exe:arm64+0x10036fb44)\n    #65 pymain_main main.c:802 (python.exe:arm64+0x10036ffb0)\n    #66 Py_BytesMain main.c:826 (python.exe:arm64+0x100370084)\n    #67 main python.c:15 (python.exe:arm64+0x100000a04)\n\nSUMMARY: ThreadSanitizer: data race generated_cases.c.h:9254 in _PyEval_EvalFrameDefault\n==================\n==================\ntests/test_igzip.py::test_compress_stdin_stdout[1] PARALLEL FAILED\ntests/test_igzip.py::test_compress_stdin_stdout[2] PARALLEL FAILED\ntests/test_igzip.py::test_compress_stdin_stdout[3] PARALLEL FAILED\ntests/test_igzip.py::test_decompress_infile_outfile PARALLEL PASSED\n==================\nWARNING: ThreadSanitizer: data race (pid=60855)\n  Read of size 1 at 0x0001181e17ae by thread T26292:\n    #0 _PyEval_EvalFrameDefault generated_cases.c.h (python.exe:arm64+0x10027bbb8)\n    #1 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #2 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #3 method_vectorcall classobject.c:73 (python.exe:arm64+0x100083d20)\n    #4 context_run context.c:728 (python.exe:arm64+0x1002b5200)\n    #5 _PyEval_EvalFrameDefault generated_cases.c.h:3766 (python.exe:arm64+0x10027fa0c)\n    #6 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #7 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #8 method_vectorcall classobject.c:73 (python.exe:arm64+0x100083d20)\n    #9 _PyObject_Call call.c:348 (python.exe:arm64+0x10007f458)\n    #10 PyObject_Call call.c:373 (python.exe:arm64+0x10007f4cc)\n    #11 thread_run _threadmodule.c:373 (python.exe:arm64+0x1003ffad8)\n    #12 pythread_wrapper thread_pthread.h:232 (python.exe:arm64+0x100357734)\n\n  Previous atomic write of size 1 at 0x0001181e17ae by thread T26290:\n    #0 call_instrumentation_vector instrumentation.c:1194 (python.exe:arm64+0x100304348)\n    #1 _Py_call_instrumentation_jump instrumentation.c:1245 (python.exe:arm64+0x1003047f8)\n    #2 _PyEval_EvalFrameDefault generated_cases.c.h:7298 (python.exe:arm64+0x100271388)\n    #3 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #4 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #5 method_vectorcall classobject.c:73 (python.exe:arm64+0x100083d20)\n    #6 context_run context.c:728 (python.exe:arm64+0x1002b5200)\n    #7 _PyEval_EvalFrameDefault generated_cases.c.h:3766 (python.exe:arm64+0x10027fa0c)\n    #8 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #9 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #10 method_vectorcall classobject.c:73 (python.exe:arm64+0x100083d20)\n    #11 _PyObject_Call call.c:348 (python.exe:arm64+0x10007f458)\n    #12 PyObject_Call call.c:373 (python.exe:arm64+0x10007f4cc)\n    #13 thread_run _threadmodule.c:373 (python.exe:arm64+0x1003ffad8)\n    #14 pythread_wrapper thread_pthread.h:232 (python.exe:arm64+0x100357734)\n\n  Thread T26292 (tid=709487, running) created by main thread at:\n    #0 pthread_create \u003cnull\u003e (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x32b00)\n    #1 do_start_joinable_thread thread_pthread.h:279 (python.exe:arm64+0x10035698c)\n    #2 PyThread_start_joinable_thread thread_pthread.h:321 (python.exe:arm64+0x1003567d4)\n    #3 do_start_new_thread _threadmodule.c:1877 (python.exe:arm64+0x1003ff68c)\n    #4 thread_PyThread_start_joinable_thread _threadmodule.c:1992 (python.exe:arm64+0x1003fe41c)\n    #5 cfunction_call methodobject.c:564 (python.exe:arm64+0x10012009c)\n    #6 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #7 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #8 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #9 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #10 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #11 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #12 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #13 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #14 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #15 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #16 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #17 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #18 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #19 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #20 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #21 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #22 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #23 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #24 _PyObject_Call call.c:361 (python.exe:arm64+0x10007f418)\n    #25 PyObject_Call call.c:373 (python.exe:arm64+0x10007f4cc)\n    #26 _PyEval_EvalFrameDefault generated_cases.c.h:2656 (python.exe:arm64+0x10027b6b4)\n    #27 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #28 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #29 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #30 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #31 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #32 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #33 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #34 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #35 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #36 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #37 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #38 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #39 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #40 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #41 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #42 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #43 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #44 _PyEval_EvalFrameDefault generated_cases.c.h:2968 (python.exe:arm64+0x10027c754)\n    #45 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #46 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #47 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #48 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #49 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #50 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #51 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #52 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #53 _PyEval_EvalFrameDefault generated_cases.c.h:2968 (python.exe:arm64+0x10027c754)\n    #54 PyEval_EvalCode ceval.c:868 (python.exe:arm64+0x10026a2ac)\n    #55 builtin_exec bltinmodule.c.h:568 (python.exe:arm64+0x100263f80)\n    #56 cfunction_vectorcall_FASTCALL_KEYWORDS methodobject.c:465 (python.exe:arm64+0x10011f43c)\n    #57 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f1a8)\n    #58 _PyEval_EvalFrameDefault generated_cases.c.h:1620 (python.exe:arm64+0x1002774ac)\n    #59 PyEval_EvalCode ceval.c:868 (python.exe:arm64+0x10026a2ac)\n    #60 run_mod pythonrun.c:1436 (python.exe:arm64+0x1003359cc)\n    #61 _PyRun_SimpleFileObject pythonrun.c:521 (python.exe:arm64+0x1003311f8)\n    #62 _PyRun_AnyFileObject pythonrun.c:81 (python.exe:arm64+0x100330950)\n    #63 pymain_run_file main.c:429 (python.exe:arm64+0x100370710)\n    #64 Py_RunMain main.c:772 (python.exe:arm64+0x10036fb44)\n    #65 pymain_main main.c:802 (python.exe:arm64+0x10036ffb0)\n    #66 Py_BytesMain main.c:826 (python.exe:arm64+0x100370084)\n    #67 main python.c:15 (python.exe:arm64+0x100000a04)\n\n  Thread T26290 (tid=709485, running) created by main thread at:\n    #0 pthread_create \u003cnull\u003e (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x32b00)\n    #1 do_start_joinable_thread thread_pthread.h:279 (python.exe:arm64+0x10035698c)\n    #2 PyThread_start_joinable_thread thread_pthread.h:321 (python.exe:arm64+0x1003567d4)\n    #3 do_start_new_thread _threadmodule.c:1877 (python.exe:arm64+0x1003ff68c)\n    #4 thread_PyThread_start_joinable_thread _threadmodule.c:1992 (python.exe:arm64+0x1003fe41c)\n    #5 cfunction_call methodobject.c:564 (python.exe:arm64+0x10012009c)\n    #6 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #7 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #8 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #9 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #10 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #11 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #12 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #13 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #14 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #15 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #16 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #17 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #18 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #19 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #20 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #21 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #22 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #23 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #24 _PyObject_Call call.c:361 (python.exe:arm64+0x10007f418)\n    #25 PyObject_Call call.c:373 (python.exe:arm64+0x10007f4cc)\n    #26 _PyEval_EvalFrameDefault generated_cases.c.h:2656 (python.exe:arm64+0x10027b6b4)\n    #27 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #28 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #29 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #30 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #31 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #32 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #33 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #34 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #35 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #36 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #37 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #38 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #39 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #40 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #41 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #42 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #43 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #44 _PyEval_EvalFrameDefault generated_cases.c.h:2968 (python.exe:arm64+0x10027c754)\n    #45 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #46 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #47 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #48 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #49 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #50 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #51 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #52 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #53 _PyEval_EvalFrameDefault generated_cases.c.h:2968 (python.exe:arm64+0x10027c754)\n    #54 PyEval_EvalCode ceval.c:868 (python.exe:arm64+0x10026a2ac)\n    #55 builtin_exec bltinmodule.c.h:568 (python.exe:arm64+0x100263f80)\n    #56 cfunction_vectorcall_FASTCALL_KEYWORDS methodobject.c:465 (python.exe:arm64+0x10011f43c)\n    #57 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f1a8)\n    #58 _PyEval_EvalFrameDefault generated_cases.c.h:1620 (python.exe:arm64+0x1002774ac)\n    #59 PyEval_EvalCode ceval.c:868 (python.exe:arm64+0x10026a2ac)\n    #60 run_mod pythonrun.c:1436 (python.exe:arm64+0x1003359cc)\n    #61 _PyRun_SimpleFileObject pythonrun.c:521 (python.exe:arm64+0x1003311f8)\n    #62 _PyRun_AnyFileObject pythonrun.c:81 (python.exe:arm64+0x100330950)\n    #63 pymain_run_file main.c:429 (python.exe:arm64+0x100370710)\n    #64 Py_RunMain main.c:772 (python.exe:arm64+0x10036fb44)\n    #65 pymain_main main.c:802 (python.exe:arm64+0x10036ffb0)\n    #66 Py_BytesMain main.c:826 (python.exe:arm64+0x100370084)\n    #67 main python.c:15 (python.exe:arm64+0x100000a04)\n\nSUMMARY: ThreadSanitizer: data race generated_cases.c.h in _PyEval_EvalFrameDefault\n==================\ntests/test_igzip.py::test_compress_infile_outfile PARALLEL PASSED\ntests/test_igzip.py::test_decompress_infile_outfile_error PARALLEL PASSED\n==================\nWARNING: ThreadSanitizer: data race (pid=60855)\n  Atomic write of size 1 at 0x00011812e114 by thread T26300:\n    #0 _PyEval_EvalFrameDefault generated_cases.c.h:10411 (python.exe:arm64+0x1002770c4)\n    #1 gen_send_ex2 genobject.c:259 (python.exe:arm64+0x1000b3854)\n    #2 gen_iternext genobject.c:634 (python.exe:arm64+0x1000b1068)\n    #3 list_extend_iter_lock_held listobject.c:1263 (python.exe:arm64+0x1000d8b84)\n    #4 _list_extend listobject.c:1452 (python.exe:arm64+0x1000d3c48)\n    #5 _PyList_Extend listobject.c:1480 (python.exe:arm64+0x1000d3540)\n    #6 PySequence_List abstract.c:2085 (python.exe:arm64+0x100054ad0)\n    #7 PySequence_Fast abstract.c:2116 (python.exe:arm64+0x100054d2c)\n    #8 PyUnicode_Join unicodeobject.c:10232 (python.exe:arm64+0x1001c3674)\n    #9 unicode_join unicodeobject.c:12513 (python.exe:arm64+0x1001e81a4)\n    #10 _PyEval_EvalFrameDefault generated_cases.c.h:3979 (python.exe:arm64+0x10026dc20)\n    #11 gen_send_ex2 genobject.c:259 (python.exe:arm64+0x1000b3854)\n    #12 gen_iternext genobject.c:634 (python.exe:arm64+0x1000b1068)\n    #13 _PyForIter_VirtualIteratorNext ceval.c:3585 (python.exe:arm64+0x100289c14)\n    #14 _PyEval_EvalFrameDefault generated_cases.c.h:5751 (python.exe:arm64+0x100273808)\n    #15 gen_send_ex2 genobject.c:259 (python.exe:arm64+0x1000b3854)\n    #16 gen_iternext genobject.c:634 (python.exe:arm64+0x1000b1068)\n    #17 list_extend_iter_lock_held listobject.c:1263 (python.exe:arm64+0x1000d8bc4)\n    #18 _list_extend listobject.c:1452 (python.exe:arm64+0x1000d3c48)\n    #19 _PyList_Extend listobject.c:1480 (python.exe:arm64+0x1000d3540)\n    #20 PySequence_List abstract.c:2085 (python.exe:arm64+0x100054ad0)\n    #21 PySequence_Fast abstract.c:2116 (python.exe:arm64+0x100054d2c)\n    #22 PyUnicode_Join unicodeobject.c:10232 (python.exe:arm64+0x1001c3674)\n    #23 unicode_join unicodeobject.c:12513 (python.exe:arm64+0x1001e81a4)\n    #24 _PyEval_EvalFrameDefault generated_cases.c.h:3979 (python.exe:arm64+0x10026dc20)\n    #25 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #26 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #27 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #28 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #29 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #30 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #31 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #32 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #33 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #34 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #35 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #36 method_vectorcall classobject.c:73 (python.exe:arm64+0x100083d20)\n    #37 context_run context.c:728 (python.exe:arm64+0x1002b5200)\n    #38 _PyEval_EvalFrameDefault generated_cases.c.h:3766 (python.exe:arm64+0x10027fa0c)\n    #39 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #40 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #41 method_vectorcall classobject.c:73 (python.exe:arm64+0x100083d20)\n    #42 _PyObject_Call call.c:348 (python.exe:arm64+0x10007f458)\n    #43 PyObject_Call call.c:373 (python.exe:arm64+0x10007f4cc)\n    #44 thread_run _threadmodule.c:373 (python.exe:arm64+0x1003ffad8)\n    #45 pythread_wrapper thread_pthread.h:232 (python.exe:arm64+0x100357734)\n\n  Previous read of size 1 at 0x00011812e114 by thread T26298:\n    #0 call_instrumentation_vector instrumentation.c:1194 (python.exe:arm64+0x1003042b4)\n    #1 _Py_call_instrumentation instrumentation.c:1209 (python.exe:arm64+0x100303e94)\n    #2 _PyEval_EvalFrameDefault generated_cases.c.h:7500 (python.exe:arm64+0x10026f920)\n    #3 gen_send_ex2 genobject.c:259 (python.exe:arm64+0x1000b3854)\n    #4 gen_iternext genobject.c:634 (python.exe:arm64+0x1000b1068)\n    #5 list_extend_iter_lock_held listobject.c:1263 (python.exe:arm64+0x1000d8b84)\n    #6 _list_extend listobject.c:1452 (python.exe:arm64+0x1000d3c48)\n    #7 _PyList_Extend listobject.c:1480 (python.exe:arm64+0x1000d3540)\n    #8 PySequence_List abstract.c:2085 (python.exe:arm64+0x100054ad0)\n    #9 PySequence_Fast abstract.c:2116 (python.exe:arm64+0x100054d2c)\n    #10 PyUnicode_Join unicodeobject.c:10232 (python.exe:arm64+0x1001c3674)\n    #11 unicode_join unicodeobject.c:12513 (python.exe:arm64+0x1001e81a4)\n    #12 method_vectorcall_O descrobject.c:476 (python.exe:arm64+0x10009693c)\n    #13 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f1a8)\n    #14 _PyEval_EvalFrameDefault generated_cases.c.h:1620 (python.exe:arm64+0x1002774ac)\n    #15 gen_send_ex2 genobject.c:259 (python.exe:arm64+0x1000b3854)\n    #16 gen_iternext genobject.c:634 (python.exe:arm64+0x1000b1068)\n    #17 _PyForIter_VirtualIteratorNext ceval.c:3585 (python.exe:arm64+0x100289c14)\n    #18 _PyEval_EvalFrameDefault generated_cases.c.h:5751 (python.exe:arm64+0x100273808)\n    #19 gen_send_ex2 genobject.c:259 (python.exe:arm64+0x1000b3854)\n    #20 gen_iternext genobject.c:634 (python.exe:arm64+0x1000b1068)\n    #21 list_extend_iter_lock_held listobject.c:1263 (python.exe:arm64+0x1000d8bc4)\n    #22 _list_extend listobject.c:1452 (python.exe:arm64+0x1000d3c48)\n    #23 _PyList_Extend listobject.c:1480 (python.exe:arm64+0x1000d3540)\n    #24 PySequence_List abstract.c:2085 (python.exe:arm64+0x100054ad0)\n    #25 PySequence_Fast abstract.c:2116 (python.exe:arm64+0x100054d2c)\n    #26 PyUnicode_Join unicodeobject.c:10232 (python.exe:arm64+0x1001c3674)\n    #27 unicode_join unicodeobject.c:12513 (python.exe:arm64+0x1001e81a4)\n    #28 _PyEval_EvalFrameDefault generated_cases.c.h:3979 (python.exe:arm64+0x10026dc20)\n    #29 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #30 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #31 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #32 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #33 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #34 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #35 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #36 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #37 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #38 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #39 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #40 method_vectorcall classobject.c:73 (python.exe:arm64+0x100083d20)\n    #41 context_run context.c:728 (python.exe:arm64+0x1002b5200)\n    #42 _PyEval_EvalFrameDefault generated_cases.c.h:3766 (python.exe:arm64+0x10027fa0c)\n    #43 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #44 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #45 method_vectorcall classobject.c:73 (python.exe:arm64+0x100083d20)\n    #46 _PyObject_Call call.c:348 (python.exe:arm64+0x10007f458)\n    #47 PyObject_Call call.c:373 (python.exe:arm64+0x10007f4cc)\n    #48 thread_run _threadmodule.c:373 (python.exe:arm64+0x1003ffad8)\n    #49 pythread_wrapper thread_pthread.h:232 (python.exe:arm64+0x100357734)\n\n  Thread T26300 (tid=709520, running) created by main thread at:\n    #0 pthread_create \u003cnull\u003e (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x32b00)\n    #1 do_start_joinable_thread thread_pthread.h:279 (python.exe:arm64+0x10035698c)\n    #2 PyThread_start_joinable_thread thread_pthread.h:321 (python.exe:arm64+0x1003567d4)\n    #3 do_start_new_thread _threadmodule.c:1877 (python.exe:arm64+0x1003ff68c)\n    #4 thread_PyThread_start_joinable_thread _threadmodule.c:1992 (python.exe:arm64+0x1003fe41c)\n    #5 cfunction_call methodobject.c:564 (python.exe:arm64+0x10012009c)\n    #6 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #7 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #8 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #9 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #10 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #11 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #12 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #13 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #14 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #15 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #16 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #17 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #18 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #19 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #20 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #21 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #22 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #23 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #24 _PyObject_Call call.c:361 (python.exe:arm64+0x10007f418)\n    #25 PyObject_Call call.c:373 (python.exe:arm64+0x10007f4cc)\n    #26 _PyEval_EvalFrameDefault generated_cases.c.h:2656 (python.exe:arm64+0x10027b6b4)\n    #27 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #28 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #29 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #30 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #31 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #32 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #33 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #34 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #35 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #36 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #37 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #38 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #39 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #40 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #41 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #42 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #43 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #44 _PyEval_EvalFrameDefault generated_cases.c.h:2968 (python.exe:arm64+0x10027c754)\n    #45 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #46 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #47 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #48 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #49 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #50 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #51 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #52 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #53 _PyEval_EvalFrameDefault generated_cases.c.h:2968 (python.exe:arm64+0x10027c754)\n    #54 PyEval_EvalCode ceval.c:868 (python.exe:arm64+0x10026a2ac)\n    #55 builtin_exec bltinmodule.c.h:568 (python.exe:arm64+0x100263f80)\n    #56 cfunction_vectorcall_FASTCALL_KEYWORDS methodobject.c:465 (python.exe:arm64+0x10011f43c)\n    #57 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f1a8)\n    #58 _PyEval_EvalFrameDefault generated_cases.c.h:1620 (python.exe:arm64+0x1002774ac)\n    #59 PyEval_EvalCode ceval.c:868 (python.exe:arm64+0x10026a2ac)\n    #60 run_mod pythonrun.c:1436 (python.exe:arm64+0x1003359cc)\n    #61 _PyRun_SimpleFileObject pythonrun.c:521 (python.exe:arm64+0x1003311f8)\n    #62 _PyRun_AnyFileObject pythonrun.c:81 (python.exe:arm64+0x100330950)\n    #63 pymain_run_file main.c:429 (python.exe:arm64+0x100370710)\n    #64 Py_RunMain main.c:772 (python.exe:arm64+0x10036fb44)\n    #65 pymain_main main.c:802 (python.exe:arm64+0x10036ffb0)\n    #66 Py_BytesMain main.c:826 (python.exe:arm64+0x100370084)\n    #67 main python.c:15 (python.exe:arm64+0x100000a04)\n\n  Thread T26298 (tid=709518, running) created by main thread at:\n    #0 pthread_create \u003cnull\u003e (libclang_rt.tsan_osx_dynamic.dylib:arm64e+0x32b00)\n    #1 do_start_joinable_thread thread_pthread.h:279 (python.exe:arm64+0x10035698c)\n    #2 PyThread_start_joinable_thread thread_pthread.h:321 (python.exe:arm64+0x1003567d4)\n    #3 do_start_new_thread _threadmodule.c:1877 (python.exe:arm64+0x1003ff68c)\n    #4 thread_PyThread_start_joinable_thread _threadmodule.c:1992 (python.exe:arm64+0x1003fe41c)\n    #5 cfunction_call methodobject.c:564 (python.exe:arm64+0x10012009c)\n    #6 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #7 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #8 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #9 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #10 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #11 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #12 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #13 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #14 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #15 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #16 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #17 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #18 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #19 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #20 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #21 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #22 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #23 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #24 _PyObject_Call call.c:361 (python.exe:arm64+0x10007f418)\n    #25 PyObject_Call call.c:373 (python.exe:arm64+0x10007f4cc)\n    #26 _PyEval_EvalFrameDefault generated_cases.c.h:2656 (python.exe:arm64+0x10027b6b4)\n    #27 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #28 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #29 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #30 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #31 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #32 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #33 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #34 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #35 _PyEval_EvalFrameDefault generated_cases.c.h:3236 (python.exe:arm64+0x10027ab80)\n    #36 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #37 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #38 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #39 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #40 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #41 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #42 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #43 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #44 _PyEval_EvalFrameDefault generated_cases.c.h:2968 (python.exe:arm64+0x10027c754)\n    #45 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026a6d0)\n    #46 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10007f7e0)\n    #47 _PyObject_VectorcallDictTstate call.c:146 (python.exe:arm64+0x10007e3c0)\n    #48 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x10007fddc)\n    #49 call_method typeobject.c:3055 (python.exe:arm64+0x10018a4e8)\n    #50 slot_tp_call typeobject.c:10524 (python.exe:arm64+0x10018a308)\n    #51 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x10007e658)\n    #52 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f244)\n    #53 _PyEval_EvalFrameDefault generated_cases.c.h:2968 (python.exe:arm64+0x10027c754)\n    #54 PyEval_EvalCode ceval.c:868 (python.exe:arm64+0x10026a2ac)\n    #55 builtin_exec bltinmodule.c.h:568 (python.exe:arm64+0x100263f80)\n    #56 cfunction_vectorcall_FASTCALL_KEYWORDS methodobject.c:465 (python.exe:arm64+0x10011f43c)\n    #57 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x10007f1a8)\n    #58 _PyEval_EvalFrameDefault generated_cases.c.h:1620 (python.exe:arm64+0x1002774ac)\n    #59 PyEval_EvalCode ceval.c:868 (python.exe:arm64+0x10026a2ac)\n    #60 run_mod pythonrun.c:1436 (python.exe:arm64+0x1003359cc)\n    #61 _PyRun_SimpleFileObject pythonrun.c:521 (python.exe:arm64+0x1003311f8)\n    #62 _PyRun_AnyFileObject pythonrun.c:81 (python.exe:arm64+0x100330950)\n    #63 pymain_run_file main.c:429 (python.exe:arm64+0x100370710)\n    #64 Py_RunMain main.c:772 (python.exe:arm64+0x10036fb44)\n    #65 pymain_main main.c:802 (python.exe:arm64+0x10036ffb0)\n    #66 Py_BytesMain main.c:826 (python.exe:arm64+0x100370084)\n    #67 main python.c:15 (python.exe:arm64+0x100000a04)\n\nSUMMARY: ThreadSanitizer: data race generated_cases.c.h:10411 in _PyEval_EvalFrameDefault\n==================\n```\n\n\u003c/details\u003e\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-136951\n* gh-136953\n* gh-136994\n* gh-137082\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/kumaraditya303","@type":"Person","name":"kumaraditya303"},"datePublished":"2025-07-20T12:56:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/136870/cpython/issues/136870"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2e3bcbcd-5ed3-5b1b-6d34-3ecb221ab83f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9E02:39FF2E:10EF2B2:16F897C:6A55712D
html-safe-noncea79c503c029daad8c1f738c08008b4535b7beb1db154ee9e8461791a246c21eb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTAyOjM5RkYyRToxMEVGMkIyOjE2Rjg5N0M6NkE1NTcxMkQiLCJ2aXNpdG9yX2lkIjoiNDcyMzU2MzE4Mzc2MzQ1MjIwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac015fc1683b20bfbcfe104da6e99b92447cce93460cc0b25f7d71b9de3033ca14
hovercard-subject-tagissue:3246336678
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/136870/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bf9e6fb5e11fbbe1d3ef59c023c48c8ebe68219eb486a3d9f4c996eeb8f01d10/python/cpython/issues/136870
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bf9e6fb5e11fbbe1d3ef59c023c48c8ebe68219eb486a3d9f4c996eeb8f01d10/python/cpython/issues/136870
og:image:altWhen running the test suite of python-isal which uses coverage.py, there are multiple data races reported under a TSAN build: Races: Details #9 _PyEval_Vector ceval.c:1977 (python.exe:arm64+0x10026...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekumaraditya303
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea90bd2a4a25feb75544d06b89350dcf95d9c46e0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/136870#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F136870
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F136870
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/136870
Reloadhttps://github.com/python/cpython/issues/136870
Reloadhttps://github.com/python/cpython/issues/136870
Please reload this pagehttps://github.com/python/cpython/issues/136870
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/136870
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
data races in instrumentation when running coverage under TSANhttps://github.com/python/cpython/issues/136870#top
https://github.com/kumaraditya303
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
topic-free-threadinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-free-threading%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
on Jul 20, 2025https://github.com/python/cpython/issues/136870#issue-3246336678
python-isalhttps://github.com/pycompression/python-isal
gh-136870: fix race in PyThreadState_Clear on sys_tracing_threads #136951https://github.com/python/cpython/pull/136951
[3.14] gh-136870: fix data race in PyThreadState_Clear on sys_tracing_threads (GH-136951) #136953https://github.com/python/cpython/pull/136953
gh-136870: fix data races in instrumentation of bytecode  #136994https://github.com/python/cpython/pull/136994
[3.14] gh-136870: fix data races in instrumentation of bytecode (GH-136994) #137082https://github.com/python/cpython/pull/137082
kumaraditya303https://github.com/kumaraditya303
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
topic-free-threadinghttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-free-threading%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.