Created
May 7, 2024 20:22
-
-
Save colesbury/c0a6edcdf7e909191490cedd3873a062 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: ThreadSanitizer: data race (pid=1465638) | |
Read of size 4 at 0x72a400005030 by main thread: | |
#0 PyThreadState_Clear /raid/sgross/cpython/Python/pystate.c:1649:5 (python+0x58cf78) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#1 _PyThreadState_DeleteList /raid/sgross/cpython/Python/pystate.c:1902:9 (python+0x58e304) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#2 Py_FinalizeEx /raid/sgross/cpython/Python/pylifecycle.c:1983:5 (python+0x551453) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#3 Py_RunMain /raid/sgross/cpython/Modules/main.c:720:9 (python+0x5cfb20) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#4 pymain_main /raid/sgross/cpython/Modules/main.c:748:12 (python+0x5d0669) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#5 Py_BytesMain /raid/sgross/cpython/Modules/main.c:772:12 (python+0x5d06e9) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#6 main /raid/sgross/cpython/./Programs/python.c:15:12 (python+0x15a860) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
Previous write of size 4 at 0x72a400005030 by thread T1: | |
#0 tstate_activate /raid/sgross/cpython/Python/pystate.c:1989:28 (python+0x58e8f2) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#1 _PyThreadState_Attach /raid/sgross/cpython/Python/pystate.c:2066:9 (python+0x58e8f2) | |
#2 _Py_HandlePending /raid/sgross/cpython/Python/ceval_gil.c:1216:9 (python+0x50a658) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#3 _PyEval_EvalFrameDefault /raid/sgross/cpython/Python/generated_cases.c.h:846:13 (python+0x4805e0) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#4 _PyEval_EvalFrame /raid/sgross/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x47a833) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#5 _PyEval_Vector /raid/sgross/cpython/Python/ceval.c:1818:12 (python+0x47a833) | |
#6 _PyFunction_Vectorcall /raid/sgross/cpython/Objects/call.c (python+0x25552c) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#7 _PyObject_VectorcallTstate /raid/sgross/cpython/./Include/internal/pycore_call.h:168:11 (python+0x25b01b) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#8 method_vectorcall /raid/sgross/cpython/Objects/classobject.c:70:20 (python+0x2596b5) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#9 _PyVectorcall_Call /raid/sgross/cpython/Objects/call.c:273:16 (python+0x254f15) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#10 _PyObject_Call /raid/sgross/cpython/Objects/call.c:348:16 (python+0x25512b) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#11 PyObject_Call /raid/sgross/cpython/Objects/call.c:373:12 (python+0x255357) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#12 thread_run /raid/sgross/cpython/./Modules/_threadmodule.c:337:21 (python+0x6782a8) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#13 pythread_wrapper /raid/sgross/cpython/Python/thread_pthread.h:243:5 (python+0x5b54bb) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
Location is heap block of size 20216 at 0x72a400005000 allocated by main thread: | |
#0 calloc <null> (python+0xdbc96) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#1 _PyMem_RawCalloc /raid/sgross/cpython/Objects/obmalloc.c:76:12 (python+0x3372cb) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#2 _PyMem_DebugRawAlloc /raid/sgross/cpython/Objects/obmalloc.c:2683:24 (python+0x33bf6e) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#3 _PyMem_DebugRawCalloc /raid/sgross/cpython/Objects/obmalloc.c:2728:12 (python+0x33bf6e) | |
#4 PyMem_RawCalloc /raid/sgross/cpython/Objects/obmalloc.c:949:12 (python+0x3397db) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#5 alloc_threadstate /raid/sgross/cpython/Python/pystate.c:1421:12 (python+0x58c391) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#6 new_threadstate /raid/sgross/cpython/Python/pystate.c:1528:38 (python+0x58c391) | |
#7 _PyThreadState_New /raid/sgross/cpython/Python/pystate.c:1615:12 (python+0x58bdae) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#8 ThreadHandle_start /raid/sgross/cpython/./Modules/_threadmodule.c:405:20 (python+0x677b5e) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#9 do_start_new_thread /raid/sgross/cpython/./Modules/_threadmodule.c:1798:9 (python+0x677b5e) | |
#10 thread_PyThread_start_joinable_thread /raid/sgross/cpython/./Modules/_threadmodule.c:1921:14 (python+0x67683a) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#11 cfunction_call /raid/sgross/cpython/Objects/methodobject.c:540:18 (python+0x308a2c) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#12 _PyObject_MakeTpCall /raid/sgross/cpython/Objects/call.c:242:18 (python+0x253d70) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#13 _PyObject_VectorcallTstate /raid/sgross/cpython/./Include/internal/pycore_call.h:166:16 (python+0x25365d) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#14 PyObject_Vectorcall /raid/sgross/cpython/Objects/call.c:327:12 (python+0x255010) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#15 _PyEval_EvalFrameDefault /raid/sgross/cpython/Python/generated_cases.c.h:1500:19 (python+0x4846aa) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#16 _PyEval_EvalFrame /raid/sgross/cpython/./Include/internal/pycore_ceval.h:119:16 (python+0x47a833) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#17 _PyEval_Vector /raid/sgross/cpython/Python/ceval.c:1818:12 (python+0x47a833) | |
#18 PyEval_EvalCode /raid/sgross/cpython/Python/ceval.c:598:21 (python+0x47a4aa) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#19 run_eval_code_obj /raid/sgross/cpython/Python/pythonrun.c:1292:9 (python+0x59781d) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#20 run_mod /raid/sgross/cpython/Python/pythonrun.c:1377:19 (python+0x5973f6) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#21 pyrun_file /raid/sgross/cpython/Python/pythonrun.c:1210:15 (python+0x59222c) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#22 _PyRun_SimpleFileObject /raid/sgross/cpython/Python/pythonrun.c:459:13 (python+0x59222c) | |
#23 _PyRun_AnyFileObject /raid/sgross/cpython/Python/pythonrun.c:77:15 (python+0x59198b) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#24 pymain_run_file_obj /raid/sgross/cpython/Modules/main.c:357:15 (python+0x5d124a) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
#25 main /raid/sgross/cpython/./Programs/python.c:15:12 (python+0x15a860) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) | |
SUMMARY: ThreadSanitizer: data race (/raid/sgross/cpython/python+0xdc10f) (BuildId: 99e53ab3ef9a039265821c7e1b283c799a17a778) in free |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment