Skip to content

Instantly share code, notes, and snippets.

@mpage
Created April 24, 2024 20:42
Show Gist options
  • Save mpage/6962e8870606cfc960e159b407a0cb40 to your computer and use it in GitHub Desktop.
Save mpage/6962e8870606cfc960e159b407a0cb40 to your computer and use it in GitHub Desktop.
WARNING: ThreadSanitizer: thread leak (pid=13206)
Thread T1 (tid=13208, finished) created by main thread at:
#0 pthread_create (python+0xcafed) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#1 do_start_joinable_thread /home/runner/work/cpython/cpython/Python/thread_pthread.h:288:14 (python+0x5b54c8) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#2 PyThread_start_joinable_thread /home/runner/work/cpython/cpython/Python/thread_pthread.h:312:9 (python+0x5b52ea) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#3 ThreadHandle_start /home/runner/work/cpython/cpython/./Modules/_threadmodule.c:422:9 (python+0x67883b) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#4 do_start_new_thread /home/runner/work/cpython/cpython/./Modules/_threadmodule.c:1797:9 (python+0x67883b)
#5 thread_PyThread_start_new_thread /home/runner/work/cpython/cpython/./Modules/_threadmodule.c:1843:9 (python+0x676f71) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#6 cfunction_call /home/runner/work/cpython/cpython/Objects/methodobject.c:551:18 (python+0x2f409c) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#7 _PyObject_MakeTpCall /home/runner/work/cpython/cpython/Objects/call.c:242:18 (python+0x2440a2) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#8 _PyObject_VectorcallTstate /home/runner/work/cpython/cpython/./Include/internal/pycore_call.h:166:16 (python+0x2439a6) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#9 PyObject_Vectorcall /home/runner/work/cpython/cpython/Objects/call.c:327:12 (python+0x245300) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#10 _PyEval_EvalFrameDefault /home/runner/work/cpython/cpython/Python/generated_cases.c.h:813:23 (python+0x468f5a) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#11 _PyEval_EvalFrame /home/runner/work/cpython/cpython/./Include/internal/pycore_ceval.h:114:16 (python+0x462fcf) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#12 _PyEval_Vector /home/runner/work/cpython/cpython/Python/ceval.c:1807:12 (python+0x462fcf)
#13 PyEval_EvalCode /home/runner/work/cpython/cpython/Python/ceval.c:602:21 (python+0x462c5e) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#14 run_eval_code_obj /home/runner/work/cpython/cpython/Python/pythonrun.c:1291:9 (python+0x59947f) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#15 run_mod /home/runner/work/cpython/cpython/Python/pythonrun.c:1376:19 (python+0x59906e) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#16 _PyRun_StringFlagsWithName /home/runner/work/cpython/cpython/Python/pythonrun.c:1178:15 (python+0x5953a8) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#17 _PyRun_SimpleStringFlagsWithName /home/runner/work/cpython/cpython/Python/pythonrun.c:518:15 (python+0x5953a8)
#18 pymain_run_command /home/runner/work/cpython/cpython/Modules/main.c:252:11 (python+0x5d0d5d) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#19 pymain_run_python /home/runner/work/cpython/cpython/Modules/main.c:619:21 (python+0x5d0d5d)
#20 Py_RunMain /home/runner/work/cpython/cpython/Modules/main.c:707:5 (python+0x5d0d5d)
#21 pymain_main /home/runner/work/cpython/cpython/Modules/main.c:737:12 (python+0x5d1a0a) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#22 Py_BytesMain /home/runner/work/cpython/cpython/Modules/main.c:761:12 (python+0x5d1a7b) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
#23 main /home/runner/work/cpython/cpython/./Programs/python.c:15:12 (python+0x149d4e) (BuildId: b75dcb7058c75637ad335bb4ff60d04894a2411a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment