Skip to content

data race in update_one_slot in typeobject.c #131105

Description

@kumaraditya303

While running the asyncio tests locally on forever mode on current main, tsan produces warning about data race in update_one_slot.

WARNING: ThreadSanitizer: data race (pid=3650)
  Write of size 8 at 0x7f8be0a55fb0 by thread T34:
    #0 update_one_slot Objects/typeobject.c:11170 (python+0x25eed5) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #1 update_slots_callback Objects/typeobject.c:11183 (python+0x25efcc) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #2 update_subclasses Objects/typeobject.c:11362 (python+0x2524b9) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #3 update_slot Objects/typeobject.c:11221 (python+0x252714) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #4 type_update_dict Objects/typeobject.c:5976 (python+0x252881) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #5 type_setattro Objects/typeobject.c:6050 (python+0x25e52c) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #6 PyObject_SetAttr Objects/object.c:1444 (python+0x202626) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #7 _PyEval_EvalFrameDefault Python/generated_cases.c.h:10641 (python+0x36b2dd) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #8 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #9 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #10 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #11 _PyObject_VectorcallTstate Include/internal/pycore_call.h:167 (python+0x175493) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #12 method_vectorcall Objects/classobject.c:72 (python+0x1757b3) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #13 _PyVectorcall_Call Objects/call.c:273 (python+0x1730fd) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #14 _PyObject_Call Objects/call.c:348 (python+0x173528) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #15 PyObject_Call Objects/call.c:373 (python+0x17358c) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #16 thread_run Modules/_threadmodule.c:351 (python+0x4e41ae) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #17 pythread_wrapper Python/thread_pthread.h:242 (python+0x43aa76) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)

  Previous write of size 8 at 0x7f8be0a55fb0 by main thread:
    #0 _Py_slot_tp_getattr_hook Objects/typeobject.c:10125 (python+0x25e726) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #1 PyObject_GetAttr Objects/object.c:1290 (python+0x202aef) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #2 _PyEval_EvalFrameDefault Python/generated_cases.c.h:7722 (python+0x35d481) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #3 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #4 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #5 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #6 _PyObject_VectorcallTstate Include/internal/pycore_call.h:167 (python+0x175493) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #7 method_vectorcall Objects/classobject.c:94 (python+0x175671) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #8 _PyVectorcall_Call Objects/call.c:273 (python+0x1730fd) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #9 _PyObject_Call Objects/call.c:348 (python+0x173528) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #10 PyObject_Call Objects/call.c:373 (python+0x17358c) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #11 _PyEval_EvalFrameDefault Python/generated_cases.c.h:2424 (python+0x343c2e) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #12 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #13 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #14 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #15 _PyObject_VectorcallDictTstate Objects/call.c:135 (python+0x172d30) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #16 _PyObject_Call_Prepend Objects/call.c:504 (python+0x173005) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #17 slot_tp_call Objects/typeobject.c:10058 (python+0x25acb2) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #18 _PyObject_MakeTpCall Objects/call.c:242 (python+0x170f44) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #19 _PyObject_VectorcallTstate Include/internal/pycore_call.h:165 (python+0x1711d5) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #20 PyObject_Vectorcall Objects/call.c:327 (python+0x17128d) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #21 _PyEval_EvalFrameDefault Python/generated_cases.c.h:3837 (python+0x34afe6) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #22 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #23 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #24 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #25 _PyObject_VectorcallTstate Include/internal/pycore_call.h:167 (python+0x175493) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #26 method_vectorcall Objects/classobject.c:94 (python+0x175671) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #27 _PyVectorcall_Call Objects/call.c:273 (python+0x1730fd) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #28 _PyObject_Call Objects/call.c:348 (python+0x173528) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #29 PyObject_Call Objects/call.c:373 (python+0x17358c) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #30 _PyEval_EvalFrameDefault Python/generated_cases.c.h:2424 (python+0x343c2e) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #31 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #32 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #33 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #34 _PyObject_VectorcallDictTstate Objects/call.c:135 (python+0x172d30) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #35 _PyObject_Call_Prepend Objects/call.c:504 (python+0x173005) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #36 slot_tp_call Objects/typeobject.c:10058 (python+0x25acb2) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #37 _PyObject_MakeTpCall Objects/call.c:242 (python+0x170f44) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #38 _PyObject_VectorcallTstate Include/internal/pycore_call.h:165 (python+0x1711d5) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #39 PyObject_Vectorcall Objects/call.c:327 (python+0x17128d) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #40 _PyEval_EvalFrameDefault Python/generated_cases.c.h:3837 (python+0x34afe6) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #41 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #42 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #43 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #44 _PyObject_VectorcallTstate Include/internal/pycore_call.h:167 (python+0x175493) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #45 method_vectorcall Objects/classobject.c:94 (python+0x175671) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #46 _PyVectorcall_Call Objects/call.c:273 (python+0x1730fd) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #47 _PyObject_Call Objects/call.c:348 (python+0x173528) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #48 PyObject_Call Objects/call.c:373 (python+0x17358c) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #49 _PyEval_EvalFrameDefault Python/generated_cases.c.h:2424 (python+0x343c2e) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #50 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #51 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #52 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #53 _PyObject_VectorcallDictTstate Objects/call.c:135 (python+0x172d30) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #54 _PyObject_Call_Prepend Objects/call.c:504 (python+0x173005) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #55 slot_tp_call Objects/typeobject.c:10058 (python+0x25acb2) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #56 _PyObject_MakeTpCall Objects/call.c:242 (python+0x170f44) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #57 _PyObject_VectorcallTstate Include/internal/pycore_call.h:165 (python+0x1711d5) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #58 PyObject_Vectorcall Objects/call.c:327 (python+0x17128d) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #59 _PyEval_EvalFrameDefault Python/generated_cases.c.h:1375 (python+0x33ee3f) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #60 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #61 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #62 PyEval_EvalCode Python/ceval.c:766 (python+0x372b3f) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #63 builtin_exec_impl Python/bltinmodule.c:1165 (python+0x32b0b2) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #64 builtin_exec Python/clinic/bltinmodule.c.h:560 (python+0x32b1fe) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #65 cfunction_vectorcall_FASTCALL_KEYWORDS Objects/methodobject.c:452 (python+0x1f7208) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #66 _PyObject_VectorcallTstate Include/internal/pycore_call.h:167 (python+0x171144) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #67 PyObject_Vectorcall Objects/call.c:327 (python+0x17128d) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #68 _PyEval_EvalFrameDefault Python/generated_cases.c.h:1375 (python+0x33ee3f) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #69 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #70 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #71 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #72 _PyVectorcall_Call Objects/call.c:273 (python+0x1730fd) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #73 _PyObject_Call Objects/call.c:348 (python+0x173528) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #74 PyObject_Call Objects/call.c:373 (python+0x17358c) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #75 pymain_run_module Modules/main.c:337 (python+0x456176) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #76 pymain_run_python Modules/main.c:673 (python+0x45731d) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #77 Py_RunMain Modules/main.c:760 (python+0x4576de) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #78 pymain_main Modules/main.c:790 (python+0x457795) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #79 Py_BytesMain Modules/main.c:814 (python+0x4578f4) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #80 main Programs/python.c:15 (python+0x85b3b) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)



  Thread T34 'Thread-34 (writ' (tid=4140, running) created by main thread at:
    #0 pthread_create ../../../../src/libsanitizer/tsan/tsan_interceptors_posix.cpp:1022 (libtsan.so.2+0x5ac1a) (BuildId: 38097064631f7912bd33117a9c83d08b42e15571)
    #1 do_start_joinable_thread Python/thread_pthread.h:289 (python+0x43aec7) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #2 PyThread_start_joinable_thread Python/thread_pthread.h:313 (python+0x43b0bd) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #3 ThreadHandle_start Modules/_threadmodule.c:436 (python+0x4e3b43) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #4 do_start_new_thread Modules/_threadmodule.c:1820 (python+0x4e3d4c) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #5 thread_PyThread_start_joinable_thread Modules/_threadmodule.c:1943 (python+0x4e3fba) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #6 cfunction_call Objects/methodobject.c:551 (python+0x1f80e9) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #7 _PyObject_MakeTpCall Objects/call.c:242 (python+0x170f44) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #8 _PyObject_VectorcallTstate Include/internal/pycore_call.h:165 (python+0x1711d5) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #9 PyObject_Vectorcall Objects/call.c:327 (python+0x17128d) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #10 _PyEval_EvalFrameDefault Python/generated_cases.c.h:3012 (python+0x346d28) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #11 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #12 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #13 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #14 _PyObject_VectorcallTstate Include/internal/pycore_call.h:167 (python+0x175493) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #15 method_vectorcall Objects/classobject.c:94 (python+0x175671) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #16 _PyVectorcall_Call Objects/call.c:273 (python+0x1730fd) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #17 _PyObject_Call Objects/call.c:348 (python+0x173528) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #18 PyObject_Call Objects/call.c:373 (python+0x17358c) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #19 _PyEval_EvalFrameDefault Python/generated_cases.c.h:2424 (python+0x343c2e) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #20 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #21 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #22 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #23 _PyObject_VectorcallDictTstate Objects/call.c:135 (python+0x172d30) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #24 _PyObject_Call_Prepend Objects/call.c:504 (python+0x173005) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #25 slot_tp_call Objects/typeobject.c:10058 (python+0x25acb2) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #26 _PyObject_MakeTpCall Objects/call.c:242 (python+0x170f44) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #27 _PyObject_VectorcallTstate Include/internal/pycore_call.h:165 (python+0x1711d5) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #28 PyObject_Vectorcall Objects/call.c:327 (python+0x17128d) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #29 _PyEval_EvalFrameDefault Python/generated_cases.c.h:3837 (python+0x34afe6) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #30 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #31 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #32 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #33 _PyObject_VectorcallTstate Include/internal/pycore_call.h:167 (python+0x175493) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #34 method_vectorcall Objects/classobject.c:94 (python+0x175671) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #35 _PyVectorcall_Call Objects/call.c:273 (python+0x1730fd) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #36 _PyObject_Call Objects/call.c:348 (python+0x173528) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #37 PyObject_Call Objects/call.c:373 (python+0x17358c) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #38 _PyEval_EvalFrameDefault Python/generated_cases.c.h:2424 (python+0x343c2e) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #39 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #40 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #41 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #42 _PyObject_VectorcallDictTstate Objects/call.c:135 (python+0x172d30) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #43 _PyObject_Call_Prepend Objects/call.c:504 (python+0x173005) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #44 slot_tp_call Objects/typeobject.c:10058 (python+0x25acb2) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #45 _PyObject_MakeTpCall Objects/call.c:242 (python+0x170f44) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #46 _PyObject_VectorcallTstate Include/internal/pycore_call.h:165 (python+0x1711d5) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #47 PyObject_Vectorcall Objects/call.c:327 (python+0x17128d) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #48 _PyEval_EvalFrameDefault Python/generated_cases.c.h:3837 (python+0x34afe6) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #49 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #50 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #51 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #52 _PyObject_VectorcallTstate Include/internal/pycore_call.h:167 (python+0x175493) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #53 method_vectorcall Objects/classobject.c:94 (python+0x175671) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #54 _PyVectorcall_Call Objects/call.c:273 (python+0x1730fd) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #55 _PyObject_Call Objects/call.c:348 (python+0x173528) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #56 PyObject_Call Objects/call.c:373 (python+0x17358c) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #57 _PyEval_EvalFrameDefault Python/generated_cases.c.h:2424 (python+0x343c2e) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #58 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #59 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #60 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #61 _PyObject_VectorcallDictTstate Objects/call.c:135 (python+0x172d30) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #62 _PyObject_Call_Prepend Objects/call.c:504 (python+0x173005) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #63 slot_tp_call Objects/typeobject.c:10058 (python+0x25acb2) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #64 _PyObject_MakeTpCall Objects/call.c:242 (python+0x170f44) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #65 _PyObject_VectorcallTstate Include/internal/pycore_call.h:165 (python+0x1711d5) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #66 PyObject_Vectorcall Objects/call.c:327 (python+0x17128d) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #67 _PyEval_EvalFrameDefault Python/generated_cases.c.h:1375 (python+0x33ee3f) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #68 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #69 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #70 PyEval_EvalCode Python/ceval.c:766 (python+0x372b3f) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #71 builtin_exec_impl Python/bltinmodule.c:1165 (python+0x32b0b2) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #72 builtin_exec Python/clinic/bltinmodule.c.h:560 (python+0x32b1fe) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #73 cfunction_vectorcall_FASTCALL_KEYWORDS Objects/methodobject.c:452 (python+0x1f7208) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #74 _PyObject_VectorcallTstate Include/internal/pycore_call.h:167 (python+0x171144) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #75 PyObject_Vectorcall Objects/call.c:327 (python+0x17128d) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #76 _PyEval_EvalFrameDefault Python/generated_cases.c.h:1375 (python+0x33ee3f) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #77 _PyEval_EvalFrame Include/internal/pycore_ceval.h:116 (python+0x372744) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #78 _PyEval_Vector Python/ceval.c:1838 (python+0x3729ca) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #79 _PyFunction_Vectorcall Objects/call.c:413 (python+0x170cee) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #80 _PyVectorcall_Call Objects/call.c:273 (python+0x1730fd) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #81 _PyObject_Call Objects/call.c:348 (python+0x173528) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #82 PyObject_Call Objects/call.c:373 (python+0x17358c) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #83 pymain_run_module Modules/main.c:337 (python+0x456176) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #84 pymain_run_python Modules/main.c:673 (python+0x45731d) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #85 Py_RunMain Modules/main.c:760 (python+0x4576de) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #86 pymain_main Modules/main.c:790 (python+0x457795) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #87 Py_BytesMain Modules/main.c:814 (python+0x4578f4) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)
    #88 main Programs/python.c:15 (python+0x85b3b) (BuildId: e9c7424f4464401791549097ef8c22a121a12728)

SUMMARY: ThreadSanitizer: data race Objects/typeobject.c:11170 in update_one_slot

Activity

  1. kumaraditya303 commented on Mar 11, 2025

    @kumaraditya303
    ContributorAuthor

    Ah, the newer suppressions file contains this as suppression f151d27, seems my setup was using an older one.

  2. colesbury commented on Mar 11, 2025

    @colesbury
    Contributor

    I think this is covered by #127266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions