René's URL Explorer Experiment


Title: gh-132917: fix data race on `last_mem` in free-threading gc by kumaraditya303 · Pull Request #134692 · python/cpython · GitHub

Open Graph Title: gh-132917: fix data race on `last_mem` in free-threading gc by kumaraditya303 · Pull Request #134692 · python/cpython

X Title: gh-132917: fix data race on `last_mem` in free-threading gc by kumaraditya303 · Pull Request #134692 · python/cpython

Description: This fixes the data race detected by tsan on last_mem. Details WARNING: ThreadSanitizer: data race (pid=21581) Write of size 8 at 0x560af591a378 by thread T61: #0 gc_collect_internal /home/realkumaraditya/cpython/Python/gc_free_threading.c:2248:30 (python+0x58a73e) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #1 gc_collect_main /home/realkumaraditya/cpython/Python/gc_free_threading.c:2313:5 (python+0x5861e7) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #2 _Py_RunGC /home/realkumaraditya/cpython/Python/gc_free_threading.c:2762:5 (python+0x586d95) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #3 _Py_HandlePending /home/realkumaraditya/cpython/Python/ceval_gil.c:1395:9 (python+0x59b503) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #4 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:4138:31 (python+0x4eb89d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #5 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #6 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #7 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #8 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x7259c0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #9 partial_vectorcall /home/realkumaraditya/cpython/./Modules/_functoolsmodule.c:414:16 (python+0x72940a) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #10 _PyVectorcall_Call /home/realkumaraditya/cpython/Objects/call.c:273:16 (python+0x25a10d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #11 _PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:348:16 (python+0x25a3a3) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #12 PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:373:12 (python+0x25a567) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #13 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:2654:32 (python+0x4e21b0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #14 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #15 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #16 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #17 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x2608f0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #18 method_vectorcall /home/realkumaraditya/cpython/Objects/classobject.c:72:20 (python+0x25ed10) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #19 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x55b9ae) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #20 context_run /home/realkumaraditya/cpython/Python/context.c:728:29 (python+0x55b9ae) #21 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:3764:35 (python+0x4e95ac) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #22 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #23 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #24 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #25 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x2608f0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #26 method_vectorcall /home/realkumaraditya/cpython/Objects/classobject.c:72:20 (python+0x25ed10) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #27 _PyVectorcall_Call /home/realkumaraditya/cpython/Objects/call.c:273:16 (python+0x25a10d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #28 _PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:348:16 (python+0x25a3a3) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #29 PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:373:12 (python+0x25a567) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #30 thread_run /home/realkumaraditya/cpython/./Modules/_threadmodule.c:374:21 (python+0x715ce8) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #31 pythread_wrapper /home/realkumaraditya/cpython/Python/thread_pthread.h:242:5 (python+0x64b62b) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) Previous read of size 8 at 0x560af591a378 by thread T57: #0 gc_should_collect_mem_usage /home/realkumaraditya/cpython/Python/gc_free_threading.c:2065:36 (python+0x5880d6) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #1 gc_should_collect /home/realkumaraditya/cpython/Python/gc_free_threading.c:2103:12 (python+0x5880d6) #2 record_allocation /home/realkumaraditya/cpython/Python/gc_free_threading.c:2120:13 (python+0x586cc8) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #3 _PyObject_GC_Link /home/realkumaraditya/cpython/Python/gc_free_threading.c:2753:5 (python+0x586cc8) #4 _PyType_AllocNoTrack /home/realkumaraditya/cpython/Objects/typeobject.c:2357:9 (python+0x393c28) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #5 PyType_GenericAlloc /home/realkumaraditya/cpython/Objects/typeobject.c:2378:21 (python+0x393990) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #6 dict_new /home/realkumaraditya/cpython/Objects/dictobject.c:4852:22 (python+0x301ef5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #7 type_call /home/realkumaraditya/cpython/Objects/typeobject.c:2291:11 (python+0x39d52a) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #8 _PyObject_MakeTpCall /home/realkumaraditya/cpython/Objects/call.c:242:18 (python+0x258e84) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #9 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:167:16 (python+0x258728) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #10 PyObject_Vectorcall /home/realkumaraditya/cpython/Objects/call.c:327:12 (python+0x25a240) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #11 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:4099:35 (python+0x4eb363) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #12 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #13 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #14 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #15 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x7259c0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #16 partial_vectorcall /home/realkumaraditya/cpython/./Modules/_functoolsmodule.c:414:16 (python+0x72940a) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #17 _PyVectorcall_Call /home/realkumaraditya/cpython/Objects/call.c:273:16 (python+0x25a10d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #18 _PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:348:16 (python+0x25a3a3) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #19 PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:373:12 (python+0x25a567) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #20 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:2654:32 (python+0x4e21b0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #21 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #22 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #23 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #24 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x2608f0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #25 method_vectorcall /home/realkumaraditya/cpython/Objects/classobject.c:72:20 (python+0x25ed10) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #26 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x55b9ae) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #27 context_run /home/realkumaraditya/cpython/Python/context.c:728:29 (python+0x55b9ae) #28 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:3764:35 (python+0x4e95ac) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #29 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #30 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #31 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #32 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x2608f0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #33 method_vectorcall /home/realkumaraditya/cpython/Objects/classobject.c:72:20 (python+0x25ed10) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #34 _PyVectorcall_Call /home/realkumaraditya/cpython/Objects/call.c:273:16 (python+0x25a10d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #35 _PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:348:16 (python+0x25a3a3) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #36 PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:373:12 (python+0x25a567) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #37 thread_run /home/realkumaraditya/cpython/./Modules/_threadmodule.c:374:21 (python+0x715ce8) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #38 pythread_wrapper /home/realkumaraditya/cpython/Python/thread_pthread.h:242:5 (python+0x64b62b) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) Location is global '_PyRuntime' of size 380160 at 0x560af58f8580 (python+0xa0d378) Thread T61 'Thread-61' (tid=22453, running) created by main thread at: #0 pthread_create (python+0xe320f) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #1 do_start_joinable_thread /home/realkumaraditya/cpython/Python/thread_pthread.h:289:14 (python+0x64a2cb) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #2 PyThread_start_joinable_thread /home/realkumaraditya/cpython/Python/thread_pthread.h:331:9 (python+0x64a0ea) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #3 ThreadHandle_start /home/realkumaraditya/cpython/./Modules/_threadmodule.c:460:9 (python+0x7157e0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #4 do_start_new_thread /home/realkumaraditya/cpython/./Modules/_threadmodule.c:1870:9 (python+0x7157e0) #5 thread_PyThread_start_joinable_thread /home/realkumaraditya/cpython/./Modules/_threadmodule.c:1985:14 (python+0x713c7f) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #6 cfunction_call /home/realkumaraditya/cpython/Objects/methodobject.c:565:18 (python+0x328630) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #7 _PyObject_MakeTpCall /home/realkumaraditya/cpython/Objects/call.c:242:18 (python+0x258e84) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #8 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:167:16 (python+0x258728) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #9 PyObject_Vectorcall /home/realkumaraditya/cpython/Objects/call.c:327:12 (python+0x25a240) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #10 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:3234:35 (python+0x4e6061) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #11 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #12 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #13 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #14 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x2608f0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #15 method_vectorcall /home/realkumaraditya/cpython/Objects/classobject.c:94:18 (python+0x25ed7d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #16 _PyVectorcall_Call /home/realkumaraditya/cpython/Objects/call.c:273:16 (python+0x25a10d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #17 _PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:348:16 (python+0x25a3a3) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #18 PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:373:12 (python+0x25a567) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #19 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:2654:32 (python+0x4e21b0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #20 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #21 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #22 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #23 _PyObject_VectorcallDictTstate /home/realkumaraditya/cpython/Objects/call.c:135:15 (python+0x2589b8) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #24 _PyObject_Call_Prepend /home/realkumaraditya/cpython/Objects/call.c:504:24 (python+0x25aba2) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #25 call_method /home/realkumaraditya/cpython/Objects/typeobject.c:2919:19 (python+0x3af0d7) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #26 slot_tp_call /home/realkumaraditya/cpython/Objects/typeobject.c:10181:12 (python+0x3aeed5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #27 _PyObject_MakeTpCall /home/realkumaraditya/cpython/Objects/call.c:242:18 (python+0x258e84) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #28 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:167:16 (python+0x258728) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #29 PyObject_Vectorcall /home/realkumaraditya/cpython/Objects/call.c:327:12 (python+0x25a240) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #30 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:4099:35 (python+0x4eb363) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #31 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #32 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #33 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #34 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x2608f0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #35 method_vectorcall /home/realkumaraditya/cpython/Objects/classobject.c:94:18 (python+0x25ed7d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #36 _PyVectorcall_Call /home/realkumaraditya/cpython/Objects/call.c:273:16 (python+0x25a10d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #37 _PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:348:16 (python+0x25a3a3) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #38 PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:373:12 (python+0x25a567) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #39 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:2654:32 (python+0x4e21b0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #40 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #41 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #42 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #43 _PyObject_VectorcallDictTstate /home/realkumaraditya/cpython/Objects/call.c:135:15 (python+0x2589b8) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #44 _PyObject_Call_Prepend /home/realkumaraditya/cpython/Objects/call.c:504:24 (python+0x25aba2) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #45 call_method /home/realkumaraditya/cpython/Objects/typeobject.c:2919:19 (python+0x3af0d7) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #46 slot_tp_call /home/realkumaraditya/cpython/Objects/typeobject.c:10181:12 (python+0x3aeed5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #47 _PyObject_MakeTpCall /home/realkumaraditya/cpython/Objects/call.c:242:18 (python+0x258e84) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #48 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:167:16 (python+0x258728) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #49 PyObject_Vectorcall /home/realkumaraditya/cpython/Objects/call.c:327:12 (python+0x25a240) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #50 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:1619:35 (python+0x4dbdb5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #51 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #52 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #53 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #54 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x2608f0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #55 method_vectorcall /home/realkumaraditya/cpython/Objects/classobject.c:94:18 (python+0x25ed7d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #56 _PyVectorcall_Call /home/realkumaraditya/cpython/Objects/call.c:273:16 (python+0x25a10d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #57 _PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:348:16 (python+0x25a3a3) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #58 PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:373:12 (python+0x25a567) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #59 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:2654:32 (python+0x4e21b0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #60 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #61 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #62 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #63 _PyObject_VectorcallDictTstate /home/realkumaraditya/cpython/Objects/call.c:135:15 (python+0x2589b8) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #64 _PyObject_Call_Prepend /home/realkumaraditya/cpython/Objects/call.c:504:24 (python+0x25aba2) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #65 call_method /home/realkumaraditya/cpython/Objects/typeobject.c:2919:19 (python+0x3af0d7) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #66 slot_tp_call /home/realkumaraditya/cpython/Objects/typeobject.c:10181:12 (python+0x3aeed5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #67 _PyObject_MakeTpCall /home/realkumaraditya/cpython/Objects/call.c:242:18 (python+0x258e84) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #68 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:167:16 (python+0x258728) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #69 PyObject_Vectorcall /home/realkumaraditya/cpython/Objects/call.c:327:12 (python+0x25a240) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #70 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:1619:35 (python+0x4dbdb5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #71 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #72 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #73 PyEval_EvalCode /home/realkumaraditya/cpython/Python/ceval.c:853:21 (python+0x4d1b46) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #74 builtin_exec_impl /home/realkumaraditya/cpython/Python/bltinmodule.c:1156:17 (python+0x4c8f26) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #75 builtin_exec /home/realkumaraditya/cpython/Python/clinic/bltinmodule.c.h:568:20 (python+0x4c8f26) #76 cfunction_vectorcall_FASTCALL_KEYWORDS /home/realkumaraditya/cpython/Objects/methodobject.c:466:24 (python+0x327157) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #77 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x258700) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #78 PyObject_Vectorcall /home/realkumaraditya/cpython/Objects/call.c:327:12 (python+0x25a240) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #79 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:1619:35 (python+0x4dbdb5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #80 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #81 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #82 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #83 _PyVectorcall_Call /home/realkumaraditya/cpython/Objects/call.c:273:16 (python+0x25a10d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #84 _PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:348:16 (python+0x25a3a3) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #85 PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:373:12 (python+0x25a567) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #86 pymain_run_module /home/realkumaraditya/cpython/Modules/main.c:353:14 (python+0x66ad5e) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #87 pymain_run_python /home/realkumaraditya/cpython/Modules/main.c (python+0x66a3d1) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #88 Py_RunMain /home/realkumaraditya/cpython/Modules/main.c:775:5 (python+0x66a3d1) #89 pymain_main /home/realkumaraditya/cpython/Modules/main.c:805:12 (python+0x66ab59) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #90 Py_BytesMain /home/realkumaraditya/cpython/Modules/main.c:829:12 (python+0x66abd9) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #91 main /home/realkumaraditya/cpython/./Programs/python.c:15:12 (python+0x161820) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) Thread T57 'Thread-57' (tid=22445, running) created by main thread at: #0 pthread_create (python+0xe320f) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #1 do_start_joinable_thread /home/realkumaraditya/cpython/Python/thread_pthread.h:289:14 (python+0x64a2cb) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #2 PyThread_start_joinable_thread /home/realkumaraditya/cpython/Python/thread_pthread.h:331:9 (python+0x64a0ea) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #3 ThreadHandle_start /home/realkumaraditya/cpython/./Modules/_threadmodule.c:460:9 (python+0x7157e0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #4 do_start_new_thread /home/realkumaraditya/cpython/./Modules/_threadmodule.c:1870:9 (python+0x7157e0) #5 thread_PyThread_start_joinable_thread /home/realkumaraditya/cpython/./Modules/_threadmodule.c:1985:14 (python+0x713c7f) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #6 cfunction_call /home/realkumaraditya/cpython/Objects/methodobject.c:565:18 (python+0x328630) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #7 _PyObject_MakeTpCall /home/realkumaraditya/cpython/Objects/call.c:242:18 (python+0x258e84) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #8 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:167:16 (python+0x258728) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #9 PyObject_Vectorcall /home/realkumaraditya/cpython/Objects/call.c:327:12 (python+0x25a240) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #10 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:3234:35 (python+0x4e6061) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #11 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #12 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #13 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #14 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x2608f0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #15 method_vectorcall /home/realkumaraditya/cpython/Objects/classobject.c:94:18 (python+0x25ed7d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #16 _PyVectorcall_Call /home/realkumaraditya/cpython/Objects/call.c:273:16 (python+0x25a10d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #17 _PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:348:16 (python+0x25a3a3) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #18 PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:373:12 (python+0x25a567) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #19 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:2654:32 (python+0x4e21b0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #20 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #21 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #22 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #23 _PyObject_VectorcallDictTstate /home/realkumaraditya/cpython/Objects/call.c:135:15 (python+0x2589b8) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #24 _PyObject_Call_Prepend /home/realkumaraditya/cpython/Objects/call.c:504:24 (python+0x25aba2) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #25 call_method /home/realkumaraditya/cpython/Objects/typeobject.c:2919:19 (python+0x3af0d7) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #26 slot_tp_call /home/realkumaraditya/cpython/Objects/typeobject.c:10181:12 (python+0x3aeed5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #27 _PyObject_MakeTpCall /home/realkumaraditya/cpython/Objects/call.c:242:18 (python+0x258e84) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #28 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:167:16 (python+0x258728) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #29 PyObject_Vectorcall /home/realkumaraditya/cpython/Objects/call.c:327:12 (python+0x25a240) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #30 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:4099:35 (python+0x4eb363) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #31 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #32 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #33 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #34 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x2608f0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #35 method_vectorcall /home/realkumaraditya/cpython/Objects/classobject.c:94:18 (python+0x25ed7d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #36 _PyVectorcall_Call /home/realkumaraditya/cpython/Objects/call.c:273:16 (python+0x25a10d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #37 _PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:348:16 (python+0x25a3a3) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #38 PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:373:12 (python+0x25a567) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #39 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:2654:32 (python+0x4e21b0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #40 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #41 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #42 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #43 _PyObject_VectorcallDictTstate /home/realkumaraditya/cpython/Objects/call.c:135:15 (python+0x2589b8) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #44 _PyObject_Call_Prepend /home/realkumaraditya/cpython/Objects/call.c:504:24 (python+0x25aba2) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #45 call_method /home/realkumaraditya/cpython/Objects/typeobject.c:2919:19 (python+0x3af0d7) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #46 slot_tp_call /home/realkumaraditya/cpython/Objects/typeobject.c:10181:12 (python+0x3aeed5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #47 _PyObject_MakeTpCall /home/realkumaraditya/cpython/Objects/call.c:242:18 (python+0x258e84) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #48 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:167:16 (python+0x258728) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #49 PyObject_Vectorcall /home/realkumaraditya/cpython/Objects/call.c:327:12 (python+0x25a240) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #50 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:1619:35 (python+0x4dbdb5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #51 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #52 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #53 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #54 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x2608f0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #55 method_vectorcall /home/realkumaraditya/cpython/Objects/classobject.c:94:18 (python+0x25ed7d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #56 _PyVectorcall_Call /home/realkumaraditya/cpython/Objects/call.c:273:16 (python+0x25a10d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #57 _PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:348:16 (python+0x25a3a3) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #58 PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:373:12 (python+0x25a567) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #59 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:2654:32 (python+0x4e21b0) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #60 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #61 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #62 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #63 _PyObject_VectorcallDictTstate /home/realkumaraditya/cpython/Objects/call.c:135:15 (python+0x2589b8) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #64 _PyObject_Call_Prepend /home/realkumaraditya/cpython/Objects/call.c:504:24 (python+0x25aba2) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #65 call_method /home/realkumaraditya/cpython/Objects/typeobject.c:2919:19 (python+0x3af0d7) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #66 slot_tp_call /home/realkumaraditya/cpython/Objects/typeobject.c:10181:12 (python+0x3aeed5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #67 _PyObject_MakeTpCall /home/realkumaraditya/cpython/Objects/call.c:242:18 (python+0x258e84) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #68 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:167:16 (python+0x258728) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #69 PyObject_Vectorcall /home/realkumaraditya/cpython/Objects/call.c:327:12 (python+0x25a240) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #70 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:1619:35 (python+0x4dbdb5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #71 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #72 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #73 PyEval_EvalCode /home/realkumaraditya/cpython/Python/ceval.c:853:21 (python+0x4d1b46) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #74 builtin_exec_impl /home/realkumaraditya/cpython/Python/bltinmodule.c:1156:17 (python+0x4c8f26) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #75 builtin_exec /home/realkumaraditya/cpython/Python/clinic/bltinmodule.c.h:568:20 (python+0x4c8f26) #76 cfunction_vectorcall_FASTCALL_KEYWORDS /home/realkumaraditya/cpython/Objects/methodobject.c:466:24 (python+0x327157) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #77 _PyObject_VectorcallTstate /home/realkumaraditya/cpython/./Include/internal/pycore_call.h:169:11 (python+0x258700) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #78 PyObject_Vectorcall /home/realkumaraditya/cpython/Objects/call.c:327:12 (python+0x25a240) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #79 _PyEval_EvalFrameDefault /home/realkumaraditya/cpython/Python/generated_cases.c.h:1619:35 (python+0x4dbdb5) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #80 _PyEval_EvalFrame /home/realkumaraditya/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x4d228c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #81 _PyEval_Vector /home/realkumaraditya/cpython/Python/ceval.c:1961:12 (python+0x4d228c) #82 _PyFunction_Vectorcall /home/realkumaraditya/cpython/Objects/call.c (python+0x25a73c) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #83 _PyVectorcall_Call /home/realkumaraditya/cpython/Objects/call.c:273:16 (python+0x25a10d) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #84 _PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:348:16 (python+0x25a3a3) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #85 PyObject_Call /home/realkumaraditya/cpython/Objects/call.c:373:12 (python+0x25a567) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #86 pymain_run_module /home/realkumaraditya/cpython/Modules/main.c:353:14 (python+0x66ad5e) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #87 pymain_run_python /home/realkumaraditya/cpython/Modules/main.c (python+0x66a3d1) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #88 Py_RunMain /home/realkumaraditya/cpython/Modules/main.c:775:5 (python+0x66a3d1) #89 pymain_main /home/realkumaraditya/cpython/Modules/main.c:805:12 (python+0x66ab59) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #90 Py_BytesMain /home/realkumaraditya/cpython/Modules/main.c:829:12 (python+0x66abd9) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) #91 main /home/realkumaraditya/cpython/./Programs/python.c:15:12 (python+0x161820) (BuildId: b9e73c5fd134c5c3be2de598477726a304b632de) SUMMARY: ThreadSanitizer: data race /home/realkumaraditya/cpython/Python/gc_free_threading.c:2248:30 in gc_collect_internal Issue: gh-132917

Open Graph Description: This fixes the data race detected by tsan on last_mem. Details WARNING: ThreadSanitizer: data race (pid=21581) Write of size 8 at 0x560af591a378 by thread T61: #0 gc_collect_internal /home/re...

X Description: This fixes the data race detected by tsan on last_mem. Details WARNING: ThreadSanitizer: data race (pid=21581) Write of size 8 at 0x560af591a378 by thread T61: #0 gc_collect_internal /home/re...

Opengraph URL: https://github.com/python/cpython/pull/134692

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1424ac84-fc70-218d-0a8a-f0729cfc2dbe
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE052:23560F:1AA40F1:245614A:6A536B92
html-safe-nonce5435a69b8e1179866afeba57cb6c870858094d14a5b9d534ad7546699e96ea8f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDUyOjIzNTYwRjoxQUE0MEYxOjI0NTYxNEE6NkE1MzZCOTIiLCJ2aXNpdG9yX2lkIjoiNTI4NDg4ODQ2NzAyMDY3MTg5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0aed94719c4019c4e5cf0c20a52877efc368e6ddef7e71fce898611fc8c9a497
hovercard-subject-tagpull_request:2543232758
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/134692/files
twitter:imagehttps://avatars.githubusercontent.com/u/59607654?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/59607654?s=400&v=4
og:image:altThis fixes the data race detected by tsan on last_mem. Details WARNING: ThreadSanitizer: data race (pid=21581) Write of size 8 at 0x560af591a378 by thread T61: #0 gc_collect_internal /home/re...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
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-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/134692/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F134692%2Ffiles
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%2Fpull%2F134692%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/134692/files
Reloadhttps://github.com/python/cpython/pull/134692/files
Reloadhttps://github.com/python/cpython/pull/134692/files
Please reload this pagehttps://github.com/python/cpython/pull/134692/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/134692/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
kumaraditya303:gc-fthttps://github.com/kumaraditya303/cpython/tree/gc-ft
Conversation 2 https://github.com/python/cpython/pull/134692
Commits 2 https://github.com/python/cpython/pull/134692/commits
Checks 6 https://github.com/python/cpython/pull/134692/checks
Files changed https://github.com/python/cpython/pull/134692/files
Please reload this pagehttps://github.com/python/cpython/pull/134692/files
gh-132917: fix data race on last_mem in free-threading gc https://github.com/python/cpython/pull/134692/files#top
Show all changes 2 commits https://github.com/python/cpython/pull/134692/files
e359f93 fix data race on last_mem kumaraditya303 May 26, 2025 https://github.com/python/cpython/pull/134692/commits/e359f937e10957f42bb23a791a2ac7cda3905793
b7235e1 Merge branch 'main' into gc-ft kumaraditya303 May 26, 2025 https://github.com/python/cpython/pull/134692/commits/b7235e1930a4a29725b2c716fcadb10380120db6
Clear filters https://github.com/python/cpython/pull/134692/files
Please reload this pagehttps://github.com/python/cpython/pull/134692/files
Please reload this pagehttps://github.com/python/cpython/pull/134692/files
Python/gc_free_threading.chttps://github.com/python/cpython/pull/134692/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d
View file https://github.com/kumaraditya303/cpython/blob/b7235e1930a4a29725b2c716fcadb10380120db6/Python/gc_free_threading.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/134692/{{ revealButtonHref }}
https://github.com/python/cpython/pull/134692/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d
https://github.com/python/cpython/pull/134692/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d
https://github.com/python/cpython/pull/134692/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d
https://github.com/python/cpython/pull/134692/files#diff-4722ae850a2da3e12f50815c0e3932627ebe67edeaa8b7f28a94f20c8698204d
Please reload this pagehttps://github.com/python/cpython/pull/134692/files
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.