python / python/cpython

TSan warnings with free-threaded interpreter on macOS 26 arm64 and Clang 22

Ouverte
#150,284 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

tests type-bug
Langage dominant
Python
Étoiles
77.2k
Forks
35.9k
Métriques de merge des PR
Métriques de PR en attente

Description

Bug report

Bug description:

Extension of #150195

Configure flag:

GDBM_CFLAGS="-I$(brew --prefix gdbm)/include"
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm"
./configure
--with-thread-sanitizer
--disable-gil
--with-pydebug
--prefix=/opt/python-dev \

Encountered the following warnings:

test_notify_all (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestCondition.test_notify_all) ... Timeout (0:10:00)!
Thread 0x0000000172457000 [Thread-7 (f)] (most recent call first):
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/multiprocessing/synchronize.py", line 275 in wait
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/_test_multiprocessing.py", line 1787 in f
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1160 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1218 in _bootstrap_inner
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1180 in _bootstrap
Thread 0x000000017144b000 [Thread-6 (f)] (most recent call first):
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/multiprocessing/synchronize.py", line 275 in wait
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/_test_multiprocessing.py", line 1787 in f
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1160 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1218 in _bootstrap_inner
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1180 in _bootstrap
Thread 0x000000017043f000 [Thread-5 (f)] (most recent call first):
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/multiprocessing/synchronize.py", line 275 in wait
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/_test_multiprocessing.py", line 1787 in f
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1160 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1218 in _bootstrap_inner
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1180 in _bootstrap
Thread 0x00000001fa8158c0 (most recent call first):
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/_test_multiprocessing.py", line 1902 in test_notify_all
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/contextlib.py", line 116 in inner
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/case.py", line 637 in _callTestMethod
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/case.py", line 691 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/case.py", line 747 in __call__
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/suite.py", line 122 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/suite.py", line 84 in __call__
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/suite.py", line 122 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/suite.py", line 84 in __call__
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/runner.py", line 256 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 84 in _run_suite
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 42 in run_unittest
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 162 in test_func
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 118 in regrtest_runner
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 165 in _load_run_test
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 210 in _runtest_env_changed_exc
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 319 in _runtest
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 348 in run_single_test
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/worker.py", line 99 in worker_process
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/worker.py", line 137 in main
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/worker.py", line 141 in <module>
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/runpy.py", line 87 in _run_code
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/runpy.py", line 201 in _run_module_as_main
==================
WARNING: ThreadSanitizer: thread leak (pid=31360)
  Thread T4 (tid=91133, finished) created by main thread at:
    #0 pthread_create <null> (libclang_rt.tsan_osx_dynamic.dylib:arm64+0x31d84)
    #1 do_start_joinable_thread thread_pthread.h:281 (python.exe:arm64+0x1004c99d4)
    #2 PyThread_start_joinable_thread thread_pthread.h:323 (python.exe:arm64+0x1004c9810)
    #3 ThreadHandle_start _threadmodule.c:475 (python.exe:arm64+0x1005c2084)
    #4 do_start_new_thread _threadmodule.c:1919 (python.exe:arm64+0x1005c2084)
    #5 thread_PyThread_start_joinable_thread _threadmodule.c:2042 (python.exe:arm64+0x1005c0490)
    #6 cfunction_call methodobject.c:564 (python.exe:arm64+0x1001b8918)
    #7 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000eaa90)
    #8 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x1000ea43c)
    #9 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x1000ebd58)
    #10 _Py_VectorCall_StackRefSteal ceval.c:733 (python.exe:arm64+0x100358894)
    #11 _PyEval_EvalFrameDefault generated_cases.c.h:3528 (python.exe:arm64+0x100368a5c)
    #12 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #13 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #14 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #15 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x1000ea3d4)
    #16 _PyObject_VectorcallPrepend call.c:877 (python.exe:arm64+0x1000edb2c)
    #17 method_vectorcall classobject.c:55 (python.exe:arm64+0x1000f064c)
    #18 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000ebbfc)
    #19 _PyObject_Call call.c:348 (python.exe:arm64+0x1000ebe4c)
    #20 PyObject_Call call.c:373 (python.exe:arm64+0x1000ec068)
    #21 _PyEval_EvalFrameDefault generated_cases.c.h:2724 (python.exe:arm64+0x100365c30)
    #22 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #23 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #24 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #25 _PyObject_VectorcallDictTstate call.c:135 (python.exe:arm64+0x1000ea6cc)
    #26 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x1000ec6ec)
    #27 call_method typeobject.c:3095 (python.exe:arm64+0x10023cb50)
    #28 slot_tp_call typeobject.c:10913 (python.exe:arm64+0x10023c900)
    #29 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000eaa90)
    #30 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x1000ea43c)
    #31 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x1000ebd58)
    #32 _Py_VectorCall_StackRefSteal ceval.c:733 (python.exe:arm64+0x100358894)
    #33 _PyEval_EvalFrameDefault generated_cases.c.h:4362 (python.exe:arm64+0x10036b27c)
    #34 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #35 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #36 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #37 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x1000ea3d4)
    #38 _PyObject_VectorcallPrepend call.c:877 (python.exe:arm64+0x1000edb2c)
    #39 method_vectorcall classobject.c:55 (python.exe:arm64+0x1000f064c)
    #40 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000ebbfc)
    #41 _PyObject_Call call.c:348 (python.exe:arm64+0x1000ebe4c)
    #42 PyObject_Call call.c:373 (python.exe:arm64+0x1000ec068)
    #43 _PyEval_EvalFrameDefault generated_cases.c.h:2724 (python.exe:arm64+0x100365c30)
    #44 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #45 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #46 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #47 _PyObject_VectorcallDictTstate call.c:135 (python.exe:arm64+0x1000ea6cc)
    #48 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x1000ec6ec)
    #49 call_method typeobject.c:3095 (python.exe:arm64+0x10023cb50)
    #50 slot_tp_call typeobject.c:10913 (python.exe:arm64+0x10023c900)
    #51 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000eaa90)
    #52 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x1000ea43c)
    #53 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x1000ebd58)
    #54 _Py_VectorCall_StackRefSteal ceval.c:733 (python.exe:arm64+0x100358894)
    #55 _PyEval_EvalFrameDefault generated_cases.c.h:4362 (python.exe:arm64+0x10036b27c)
    #56 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #57 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #58 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #59 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x1000ea3d4)
    #60 _PyObject_VectorcallPrepend call.c:877 (python.exe:arm64+0x1000edb2c)
    #61 method_vectorcall classobject.c:55 (python.exe:arm64+0x1000f064c)
    #62 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000ebbfc)
    #63 _PyObject_Call call.c:348 (python.exe:arm64+0x1000ebe4c)
    #64 PyObject_Call call.c:373 (python.exe:arm64+0x1000ec068)
    #65 _PyEval_EvalFrameDefault generated_cases.c.h:3030 (python.exe:arm64+0x100366bc4)
    #66 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #67 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #68 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #69 _PyObject_VectorcallDictTstate call.c:135 (python.exe:arm64+0x1000ea6cc)
    #70 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x1000ec6ec)
    #71 call_method typeobject.c:3095 (python.exe:arm64+0x10023cb50)
    #72 slot_tp_call typeobject.c:10913 (python.exe:arm64+0x10023c900)
    #73 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000eaa90)
    #74 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x1000ea43c)
    #75 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x1000ebd58)
    #76 _Py_VectorCallInstrumentation_StackRefSteal ceval.c:775 (python.exe:arm64+0x100359080)
    #77 _PyEval_EvalFrameDefault generated_cases.c.h:1846 (python.exe:arm64+0x100362b44)
    #78 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #79 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #80 PyEval_EvalCode ceval.c:686 (python.exe:arm64+0x100357df8)
    #81 builtin_exec_impl bltinmodule.c:1257 (python.exe:arm64+0x10034f0f0)
    #82 builtin_exec bltinmodule.c.h:674 (python.exe:arm64+0x10034f0f0)
    #83 cfunction_vectorcall_FASTCALL_KEYWORDS methodobject.c:465 (python.exe:arm64+0x1001b7500)
    #84 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x1000ea3d4)
    #85 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x1000ebd58)
    #86 _Py_VectorCallInstrumentation_StackRefSteal ceval.c:775 (python.exe:arm64+0x100359080)
    #87 _PyEval_EvalFrameDefault generated_cases.c.h:1846 (python.exe:arm64+0x100362b44)
    #88 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #89 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #90 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #91 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000ebbfc)
    #92 _PyObject_Call call.c:348 (python.exe:arm64+0x1000ebe4c)
    #93 PyObject_Call call.c:373 (python.exe:arm64+0x1000ec068)
    #94 pymain_run_module main.c:354 (python.exe:arm64+0x1004e6aac)
    #95 pymain_run_python main.c (python.exe:arm64+0x1004e601c)
    #96 Py_RunMain main.c:796 (python.exe:arm64+0x1004e601c)
    #97 pymain_main main.c:826 (python.exe:arm64+0x1004e6874)
    #98 Py_BytesMain main.c:850 (python.exe:arm64+0x1004e6924)
    #99 main python.c:15 (python.exe:arm64+0x100000ae8)
  And 2 more similar thread leaks.
SUMMARY: ThreadSanitizer: thread leak thread_pthread.h:281 in do_start_joinable_thread
test_readline (test.test_free_threading.test_mmap.MmapTests.test_readline) ... ==================
WARNING: ThreadSanitizer: data race (pid=33469)
  Read of size 8 at 0x000104faeb68 by thread T1:
    #0 PyInterpreterState_ThreadHead pystate.c:2665 (python.exe:arm64+0x10035cf4c)
    #1 PyUnstable_DumpTracebackThreads traceback.c:1314 (python.exe:arm64+0x10038aaf8)
    #2 faulthandler_thread faulthandler.c:718 (python.exe:arm64+0x1003b6954)
    #3 pythread_wrapper thread_pthread.h:234 (python.exe:arm64+0x100387b10)
  Previous write of size 8 at 0x000104faeb68 by main thread:
    #0 add_threadstate pystate.c:1621 (python.exe:arm64+0x10035a4d4)
    #1 new_threadstate pystate.c:1663 (python.exe:arm64+0x10035a4d4)
    #2 _PyThreadState_New pystate.c:1701 (python.exe:arm64+0x10035a7f0)
    #3 ThreadHandle_start _threadmodule.c:458 (python.exe:arm64+0x1004484b8)
    #4 do_start_new_thread _threadmodule.c:1919 (python.exe:arm64+0x1004481a8)
    #5 thread_PyThread_start_joinable_thread _threadmodule.c:2042 (python.exe:arm64+0x100447210)
    #6 cfunction_call methodobject.c:564 (python.exe:arm64+0x1001387d0)
    #7 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000903a4)
    #8 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x100090fac)
    #9 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x100090fac)
    #10 _Py_VectorCall_StackRefSteal ceval.c:733 (python.exe:arm64+0x10028dda8)
    #11 _PyEval_EvalFrameDefault generated_cases.c.h:3528 (python.exe:arm64+0x100297354)
    #12 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x1000c597c)
    #13 gen_send_ex2 genobject.c:280 (python.exe:arm64+0x1000c597c)
    #14 gen_send_ex genobject.c:373 (python.exe:arm64+0x1000c597c)
    #15 gen_iternext genobject.c:764 (python.exe:arm64+0x1000c32f8)
    #16 builtin_next bltinmodule.c:1764 (python.exe:arm64+0x1002884a0)
    #17 _Py_BuiltinCallFast_StackRef ceval.c:824 (python.exe:arm64+0x100294d10)
    #18 _PyEval_EvalFrameDefault generated_cases.c.h:2420 (python.exe:arm64+0x100294d10)
    #19 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d9dc)
    #20 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d9dc)
    #21 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10009155c)
    #22 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x100092dd8)
    #23 _PyObject_VectorcallPrepend call.c:877 (python.exe:arm64+0x100092dd8)
    #24 method_vectorcall classobject.c:55 (python.exe:arm64+0x100096080)
    #25 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000911cc)
    #26 _PyObject_Call call.c:348 (python.exe:arm64+0x1000911cc)
    #27 PyObject_Call call.c:373 (python.exe:arm64+0x100091244)
    #28 _PyEval_EvalFrameDefault generated_cases.c.h:2724 (python.exe:arm64+0x100295840)
    #29 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d9dc)
    #30 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d9dc)
    #31 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10009155c)
    #32 _PyObject_VectorcallDictTstate call.c:135 (python.exe:arm64+0x10009014c)
    #33 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x100091b60)
    #34 call_method typeobject.c:3095 (python.exe:arm64+0x1001a8ec0)
    #35 slot_tp_call typeobject.c:10913 (python.exe:arm64+0x1001a8c40)
    #36 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000903a4)
    #37 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x100090fac)
    #38 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x100090fac)
    #39 _Py_VectorCall_StackRefSteal ceval.c:733 (python.exe:arm64+0x10028dda8)
    #40 _PyEval_EvalFrameDefault generated_cases.c.h:4362 (python.exe:arm64+0x10029897c)
    #41 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d9dc)
    #42 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d9dc)
    #43 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10009155c)
    #44 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x100092dd8)
    #45 _PyObject_VectorcallPrepend call.c:877 (python.exe:arm64+0x100092dd8)
    #46 method_vectorcall classobject.c:55 (python.exe:arm64+0x100096080)
    #47 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000911cc)
    #48 _PyObject_Call call.c:348 (python.exe:arm64+0x1000911cc)
    #49 PyObject_Call call.c:373 (python.exe:arm64+0x100091244)
    #50 _PyEval_EvalFrameDefault generated_cases.c.h:2724 (python.exe:arm64+0x100295840)
    #51 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d9dc)
    #52 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d9dc)
    #53 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10009155c)
    #54 _PyObject_VectorcallDictTstate call.c:135 (python.exe:arm64+0x10009014c)
    #55 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x100091b60)
    #56 call_method typeobject.c:3095 (python.exe:arm64+0x1001a8ec0)
    #57 slot_tp_call typeobject.c:10913 (python.exe:arm64+0x1001a8c40)
    #58 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000903a4)
    #59 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x100090fac)
    #60 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x100090fac)
    #61 _Py_VectorCall_StackRefSteal ceval.c:733 (python.exe:arm64+0x10028dda8)
    #62 _PyEval_EvalFrameDefault generated_cases.c.h:4362 (python.exe:arm64+0x10029897c)
    #63 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d9dc)
    #64 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d9dc)
    #65 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10009155c)
    #66 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x100092dd8)
    #67 _PyObject_VectorcallPrepend call.c:877 (python.exe:arm64+0x100092dd8)
    #68 method_vectorcall classobject.c:55 (python.exe:arm64+0x100096080)
    #69 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000911cc)
    #70 _PyObject_Call call.c:348 (python.exe:arm64+0x1000911cc)
    #71 PyObject_Call call.c:373 (python.exe:arm64+0x100091244)
    #72 _PyEval_EvalFrameDefault generated_cases.c.h:2724 (python.exe:arm64+0x100295840)
    #73 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d9dc)
    #74 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d9dc)
    #75 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10009155c)
    #76 _PyObject_VectorcallDictTstate call.c:135 (python.exe:arm64+0x10009014c)
    #77 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x100091b60)
    #78 call_method typeobject.c:3095 (python.exe:arm64+0x1001a8ec0)
    #79 slot_tp_call typeobject.c:10913 (python.exe:arm64+0x1001a8c40)
    #80 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000903a4)
    #81 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x100090fac)
    #82 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x100090fac)
    #83 _Py_VectorCall_StackRefSteal ceval.c:733 (python.exe:arm64+0x10028dda8)
    #84 _PyEval_EvalFrameDefault generated_cases.c.h:4362 (python.exe:arm64+0x10029897c)
    #85 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d9dc)
    #86 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d9dc)
    #87 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10009155c)
    #88 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x100092dd8)
    #89 _PyObject_VectorcallPrepend call.c:877 (python.exe:arm64+0x100092dd8)
    #90 method_vectorcall classobject.c:55 (python.exe:arm64+0x100096080)
    #91 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000911cc)
    #92 _PyObject_Call call.c:348 (python.exe:arm64+0x1000911cc)
    #93 PyObject_Call call.c:373 (python.exe:arm64+0x100091244)
    #94 _PyEval_EvalFrameDefault generated_cases.c.h:2724 (python.exe:arm64+0x100295840)
    #95 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d9dc)
    #96 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d9dc)
    #97 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10009155c)
    #98 _PyObject_VectorcallDictTstate call.c:135 (python.exe:arm64+0x10009014c)
    #99 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x100091b60)
    #100 call_method typeobject.c:3095 (python.exe:arm64+0x1001a8ec0)
    #101 slot_tp_call typeobject.c:10913 (python.exe:arm64+0x1001a8c40)
    #102 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000903a4)
    #103 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x100090fac)
    #104 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x100090fac)
    #105 _Py_VectorCallInstrumentation_StackRefSteal ceval.c:775 (python.exe:arm64+0x10028e4e8)
    #106 _PyEval_EvalFrameDefault generated_cases.c.h:1846 (python.exe:arm64+0x100293648)
    #107 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d9dc)
    #108 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d9dc)
    #109 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10009155c)
    #110 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x100092dd8)
    #111 _PyObject_VectorcallPrepend call.c:877 (python.exe:arm64+0x100092dd8)
    #112 method_vectorcall classobject.c:55 (python.exe:arm64+0x100096080)
    #113 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000911cc)
    #114 _PyObject_Call call.c:348 (python.exe:arm64+0x1000911cc)
    #115 PyObject_Call call.c:373 (python.exe:arm64+0x100091244)
    #116 _PyEval_EvalFrameDefault generated_cases.c.h:3030 (python.exe:arm64+0x1002960bc)
    #117 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d9dc)
    #118 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d9dc)
    #119 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10009155c)
    #120 _PyObject_VectorcallDictTstate call.c:135 (python.exe:arm64+0x10009014c)
    #121 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x100091b60)
    #122 call_method typeobject.c:3095 (python.exe:arm64+0x1001a8ec0)
    #123 slot_tp_call typeobject.c:10913 (python.exe:arm64+0x1001a8c40)
    #124 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000903a4)
    #125 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x100090fac)
    #126 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x100090fac)
    #127 _Py_VectorCallInstrumentation_StackRefSteal ceval.c:775 (python.exe:arm64+0x10028e4e8)
    #128 _PyEval_EvalFrameDefault generated_cases.c.h:1846 (python.exe:arm64+0x100293648)
    #129 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d5b4)
    #130 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d5b4)
    #131 PyEval_EvalCode ceval.c:686 (python.exe:arm64+0x10028d5b4)
    #132 builtin_exec_impl bltinmodule.c:1257 (python.exe:arm64+0x100287010)
    #133 builtin_exec bltinmodule.c.h:674 (python.exe:arm64+0x100287010)
    #134 cfunction_vectorcall_FASTCALL_KEYWORDS methodobject.c:465 (python.exe:arm64+0x100137b88)
    #135 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x100090f18)
    #136 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x100090f18)
    #137 _Py_VectorCallInstrumentation_StackRefSteal ceval.c:775 (python.exe:arm64+0x10028e4e8)
    #138 _PyEval_EvalFrameDefault generated_cases.c.h:1846 (python.exe:arm64+0x100293648)
    #139 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d9dc)
    #140 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d9dc)
    #141 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10009155c)
    #142 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000911cc)
    #143 _PyObject_Call call.c:348 (python.exe:arm64+0x1000911cc)
    #144 PyObject_Call call.c:373 (python.exe:arm64+0x100091244)
    #145 pymain_run_module main.c:354 (python.exe:arm64+0x1003a0154)
    #146 pymain_run_python main.c:709 (python.exe:arm64+0x10039f6d8)
    #147 Py_RunMain main.c:796 (python.exe:arm64+0x10039f6d8)
    #148 pymain_main main.c:826 (python.exe:arm64+0x10039ff00)
    #149 Py_BytesMain main.c:850 (python.exe:arm64+0x1003a0000)
    #150 main python.c:15 (python.exe:arm64+0x100000ae8)
  Location is global '_PyRuntime' at 0x000104f86500 (python.exe+0x1006fab68)
  Thread T1 (tid=84331, running) created by main thread at:
    #0 pthread_create <null> (libclang_rt.tsan_osx_dynamic.dylib:arm64+0x31d84)
    #1 do_start_joinable_thread thread_pthread.h:281 (python.exe:arm64+0x100386ce4)
    #2 PyThread_start_new_thread thread_pthread.h:336 (python.exe:arm64+0x100386d58)
    #3 faulthandler_dump_traceback_later_impl faulthandler.c:886 (python.exe:arm64+0x1003b53c4)
    #4 faulthandler_dump_traceback_later faulthandler.c.h:439 (python.exe:arm64+0x1003b53c4)
    #5 cfunction_vectorcall_FASTCALL_KEYWORDS methodobject.c:465 (python.exe:arm64+0x100137b88)
    #6 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x100090f18)
    #7 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x100090f18)
    #8 _Py_VectorCallInstrumentation_StackRefSteal ceval.c:775 (python.exe:arm64+0x10028e4e8)
    #9 _PyEval_EvalFrameDefault generated_cases.c.h:3325 (python.exe:arm64+0x100296c8c)
    #10 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d5b4)
    #11 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d5b4)
    #12 PyEval_EvalCode ceval.c:686 (python.exe:arm64+0x10028d5b4)
    #13 builtin_exec_impl bltinmodule.c:1257 (python.exe:arm64+0x100287010)
    #14 builtin_exec bltinmodule.c.h:674 (python.exe:arm64+0x100287010)
    #15 cfunction_vectorcall_FASTCALL_KEYWORDS methodobject.c:465 (python.exe:arm64+0x100137b88)
    #16 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x100090f18)
    #17 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x100090f18)
    #18 _Py_VectorCallInstrumentation_StackRefSteal ceval.c:775 (python.exe:arm64+0x10028e4e8)
    #19 _PyEval_EvalFrameDefault generated_cases.c.h:1846 (python.exe:arm64+0x100293648)
    #20 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10028d9dc)
    #21 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10028d9dc)
    #22 _PyFunction_Vectorcall call.c (python.exe:arm64+0x10009155c)
    #23 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000911cc)
    #24 _PyObject_Call call.c:348 (python.exe:arm64+0x1000911cc)
    #25 PyObject_Call call.c:373 (python.exe:arm64+0x100091244)
    #26 pymain_run_module main.c:354 (python.exe:arm64+0x1003a0154)
    #27 pymain_run_python main.c:709 (python.exe:arm64+0x10039f6d8)
    #28 Py_RunMain main.c:796 (python.exe:arm64+0x10039f6d8)
    #29 pymain_main main.c:826 (python.exe:arm64+0x10039ff00)
    #30 Py_BytesMain main.c:850 (python.exe:arm64+0x1003a0000)
    #31 main python.c:15 (python.exe:arm64+0x100000ae8)
SUMMARY: ThreadSanitizer: data race pystate.c:2665 in PyInterpreterState_ThreadHead
test_notify_all (test.test_multiprocessing_forkserver.test_processes.WithProcessesTestCondition.test_notify_all) ... Timeout (0:10:00)!
Thread 0x0000000172457000 [Thread-7 (f)] (most recent call first):
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/multiprocessing/synchronize.py", line 275 in wait
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/_test_multiprocessing.py", line 1787 in f
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1160 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1218 in _bootstrap_inner
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1180 in _bootstrap
Thread 0x000000017144b000 [Thread-6 (f)] (most recent call first):
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/multiprocessing/synchronize.py", line 275 in wait
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/_test_multiprocessing.py", line 1787 in f
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1160 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1218 in _bootstrap_inner
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1180 in _bootstrap
Thread 0x000000017043f000 [Thread-5 (f)] (most recent call first):
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/multiprocessing/synchronize.py", line 275 in wait
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/_test_multiprocessing.py", line 1787 in f
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1160 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1218 in _bootstrap_inner
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/threading.py", line 1180 in _bootstrap
Thread 0x00000001fa8158c0 (most recent call first):
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/_test_multiprocessing.py", line 1902 in test_notify_all
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/contextlib.py", line 116 in inner
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/case.py", line 637 in _callTestMethod
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/case.py", line 691 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/case.py", line 747 in __call__
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/suite.py", line 122 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/suite.py", line 84 in __call__
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/suite.py", line 122 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/suite.py", line 84 in __call__
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/unittest/runner.py", line 256 in run
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 84 in _run_suite
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 42 in run_unittest
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 162 in test_func
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 118 in regrtest_runner
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 165 in _load_run_test
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 210 in _runtest_env_changed_exc
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 319 in _runtest
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/single.py", line 348 in run_single_test
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/worker.py", line 99 in worker_process
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/worker.py", line 137 in main
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/test/libregrtest/worker.py", line 141 in <module>
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/runpy.py", line 87 in _run_code
  File "/Users/runner/work/sanitizer-experiments/sanitizer-experiments/Lib/runpy.py", line 201 in _run_module_as_main
==================
WARNING: ThreadSanitizer: thread leak (pid=31360)
  Thread T4 (tid=91133, finished) created by main thread at:
    #0 pthread_create <null> (libclang_rt.tsan_osx_dynamic.dylib:arm64+0x31d84)
    #1 do_start_joinable_thread thread_pthread.h:281 (python.exe:arm64+0x1004c99d4)
    #2 PyThread_start_joinable_thread thread_pthread.h:323 (python.exe:arm64+0x1004c9810)
    #3 ThreadHandle_start _threadmodule.c:475 (python.exe:arm64+0x1005c2084)
    #4 do_start_new_thread _threadmodule.c:1919 (python.exe:arm64+0x1005c2084)
    #5 thread_PyThread_start_joinable_thread _threadmodule.c:2042 (python.exe:arm64+0x1005c0490)
    #6 cfunction_call methodobject.c:564 (python.exe:arm64+0x1001b8918)
    #7 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000eaa90)
    #8 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x1000ea43c)
    #9 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x1000ebd58)
    #10 _Py_VectorCall_StackRefSteal ceval.c:733 (python.exe:arm64+0x100358894)
    #11 _PyEval_EvalFrameDefault generated_cases.c.h:3528 (python.exe:arm64+0x100368a5c)
    #12 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #13 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #14 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #15 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x1000ea3d4)
    #16 _PyObject_VectorcallPrepend call.c:877 (python.exe:arm64+0x1000edb2c)
    #17 method_vectorcall classobject.c:55 (python.exe:arm64+0x1000f064c)
    #18 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000ebbfc)
    #19 _PyObject_Call call.c:348 (python.exe:arm64+0x1000ebe4c)
    #20 PyObject_Call call.c:373 (python.exe:arm64+0x1000ec068)
    #21 _PyEval_EvalFrameDefault generated_cases.c.h:2724 (python.exe:arm64+0x100365c30)
    #22 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #23 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #24 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #25 _PyObject_VectorcallDictTstate call.c:135 (python.exe:arm64+0x1000ea6cc)
    #26 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x1000ec6ec)
    #27 call_method typeobject.c:3095 (python.exe:arm64+0x10023cb50)
    #28 slot_tp_call typeobject.c:10913 (python.exe:arm64+0x10023c900)
    #29 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000eaa90)
    #30 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x1000ea43c)
    #31 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x1000ebd58)
    #32 _Py_VectorCall_StackRefSteal ceval.c:733 (python.exe:arm64+0x100358894)
    #33 _PyEval_EvalFrameDefault generated_cases.c.h:4362 (python.exe:arm64+0x10036b27c)
    #34 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #35 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #36 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #37 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x1000ea3d4)
    #38 _PyObject_VectorcallPrepend call.c:877 (python.exe:arm64+0x1000edb2c)
    #39 method_vectorcall classobject.c:55 (python.exe:arm64+0x1000f064c)
    #40 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000ebbfc)
    #41 _PyObject_Call call.c:348 (python.exe:arm64+0x1000ebe4c)
    #42 PyObject_Call call.c:373 (python.exe:arm64+0x1000ec068)
    #43 _PyEval_EvalFrameDefault generated_cases.c.h:2724 (python.exe:arm64+0x100365c30)
    #44 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #45 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #46 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #47 _PyObject_VectorcallDictTstate call.c:135 (python.exe:arm64+0x1000ea6cc)
    #48 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x1000ec6ec)
    #49 call_method typeobject.c:3095 (python.exe:arm64+0x10023cb50)
    #50 slot_tp_call typeobject.c:10913 (python.exe:arm64+0x10023c900)
    #51 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000eaa90)
    #52 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x1000ea43c)
    #53 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x1000ebd58)
    #54 _Py_VectorCall_StackRefSteal ceval.c:733 (python.exe:arm64+0x100358894)
    #55 _PyEval_EvalFrameDefault generated_cases.c.h:4362 (python.exe:arm64+0x10036b27c)
    #56 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #57 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #58 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #59 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x1000ea3d4)
    #60 _PyObject_VectorcallPrepend call.c:877 (python.exe:arm64+0x1000edb2c)
    #61 method_vectorcall classobject.c:55 (python.exe:arm64+0x1000f064c)
    #62 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000ebbfc)
    #63 _PyObject_Call call.c:348 (python.exe:arm64+0x1000ebe4c)
    #64 PyObject_Call call.c:373 (python.exe:arm64+0x1000ec068)
    #65 _PyEval_EvalFrameDefault generated_cases.c.h:3030 (python.exe:arm64+0x100366bc4)
    #66 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #67 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #68 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #69 _PyObject_VectorcallDictTstate call.c:135 (python.exe:arm64+0x1000ea6cc)
    #70 _PyObject_Call_Prepend call.c:504 (python.exe:arm64+0x1000ec6ec)
    #71 call_method typeobject.c:3095 (python.exe:arm64+0x10023cb50)
    #72 slot_tp_call typeobject.c:10913 (python.exe:arm64+0x10023c900)
    #73 _PyObject_MakeTpCall call.c:242 (python.exe:arm64+0x1000eaa90)
    #74 _PyObject_VectorcallTstate pycore_call.h:142 (python.exe:arm64+0x1000ea43c)
    #75 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x1000ebd58)
    #76 _Py_VectorCallInstrumentation_StackRefSteal ceval.c:775 (python.exe:arm64+0x100359080)
    #77 _PyEval_EvalFrameDefault generated_cases.c.h:1846 (python.exe:arm64+0x100362b44)
    #78 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #79 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #80 PyEval_EvalCode ceval.c:686 (python.exe:arm64+0x100357df8)
    #81 builtin_exec_impl bltinmodule.c:1257 (python.exe:arm64+0x10034f0f0)
    #82 builtin_exec bltinmodule.c.h:674 (python.exe:arm64+0x10034f0f0)
    #83 cfunction_vectorcall_FASTCALL_KEYWORDS methodobject.c:465 (python.exe:arm64+0x1001b7500)
    #84 _PyObject_VectorcallTstate pycore_call.h:144 (python.exe:arm64+0x1000ea3d4)
    #85 PyObject_Vectorcall call.c:327 (python.exe:arm64+0x1000ebd58)
    #86 _Py_VectorCallInstrumentation_StackRefSteal ceval.c:775 (python.exe:arm64+0x100359080)
    #87 _PyEval_EvalFrameDefault generated_cases.c.h:1846 (python.exe:arm64+0x100362b44)
    #88 _PyEval_EvalFrame pycore_ceval.h:122 (python.exe:arm64+0x10035850c)
    #89 _PyEval_Vector ceval.c:2156 (python.exe:arm64+0x10035850c)
    #90 _PyFunction_Vectorcall call.c (python.exe:arm64+0x1000ec2b0)
    #91 _PyVectorcall_Call call.c:273 (python.exe:arm64+0x1000ebbfc)
    #92 _PyObject_Call call.c:348 (python.exe:arm64+0x1000ebe4c)
    #93 PyObject_Call call.c:373 (python.exe:arm64+0x1000ec068)
    #94 pymain_run_module main.c:354 (python.exe:arm64+0x1004e6aac)
    #95 pymain_run_python main.c (python.exe:arm64+0x1004e601c)
    #96 Py_RunMain main.c:796 (python.exe:arm64+0x1004e601c)
    #97 pymain_main main.c:826 (python.exe:arm64+0x1004e6874)
    #98 Py_BytesMain main.c:850 (python.exe:arm64+0x1004e6924)
    #99 main python.c:15 (python.exe:arm64+0x100000ae8)
  And 2 more similar thread leaks.
SUMMARY: ThreadSanitizer: thread leak thread_pthread.h:281 in do_start_joinable_thread
CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Reproduisez le rapport avec les options de configure indiquées, puis commencez par Lib/test/_test_multiprocessing.py autour de test_notify_all et par Lib/multiprocessing/synchronize.py autour de wait. Suivez l’avertissement de ThreadSanitizer concernant une fuite de thread ainsi que le délai d’attente de dix minutes sur macOS arm64 ; c’est terminé lorsque le test s’achève sans ces avertissements ni ce délai d’attente.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
macos, python
Domaine
operating-systems, testing-qa
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Calme
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.