Created
February 22, 2022 06:09
-
-
Save bslatkin/47b78faecf106aee0db75a54f440e3c3 to your computer and use it in GitHub Desktop.
Stack trace from a ctypes crash
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
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT | |
* frame #0: 0x00007ff811b05112 libsystem_kernel.dylib`__pthread_kill + 10 | |
frame #1: 0x00007ff811b3b214 libsystem_pthread.dylib`pthread_kill + 263 | |
frame #2: 0x00007ff811a87daa libsystem_c.dylib`__abort + 139 | |
frame #3: 0x00007ff811a73dbe libsystem_c.dylib`__stack_chk_fail + 100 | |
frame #4: 0x00007ff81fec9f50 libffi.dylib`ffi_prep_cif_machdep + 688 | |
frame #5: 0x00007ff81fec9c34 libffi.dylib`ffi_prep_cif + 23 | |
frame #6: 0x00000001066fbc5f _ctypes.cpython-310d-darwin.so`_call_function_pointer(flags=4353, pProc=0x00000001061ff000, avalues=0x00007ff7bfee5420, atypes=0x00007ff7bfee53e0, restype=0x0000611000438828, resmem=0x00007ff7bfee5460, argcount=0, argtypecount=0) at callproc.c:883:23 | |
frame #7: 0x00000001066f8df6 _ctypes.cpython-310d-darwin.so`_ctypes_callproc(pProc=0x00000001061ff000, argtuple=0x00006060000070c0, flags=4353, argtypes=0x00006060000070c0, restype=0x0000619000225ba0, checker=0x0000000000000000) at callproc.c:1259:15 | |
frame #8: 0x00000001066b9034 _ctypes.cpython-310d-darwin.so`PyCFuncPtr_call(self=0x00006110004468e0, inargs=0x00006060000070c0, kwds=0x0000000000000000) at _ctypes.c:4201:14 | |
frame #9: 0x000000010060c8f6 python3`_PyObject_MakeTpCall(tstate=0x0000612000000050, callable=0x00006110004468e0, args=0x00006150000752d0, nargs=0, keywords=0x0000000000000000) at call.c:215:18 | |
frame #10: 0x0000000100f87732 python3`_PyObject_VectorcallTstate(tstate=0x0000612000000050, callable=0x00006110004468e0, args=0x00006150000752d0, nargsf=9223372036854775808, kwnames=0x0000000000000000) at abstract.h:112:16 | |
frame #11: 0x0000000100f700ca python3`PyObject_Vectorcall(callable=0x00006110004468e0, args=0x00006150000752d0, nargsf=9223372036854775808, kwnames=0x0000000000000000) at abstract.h:123:12 | |
frame #12: 0x0000000100f70943 python3`call_function(tstate=0x0000612000000050, trace_info=0x00007ff7bfee61e0, pp_stack=0x00007ff7bfee62e0, oparg=0, kwnames=0x0000000000000000) at ceval.c:5867:13 | |
frame #13: 0x0000000100f51ebb python3`_PyEval_EvalFrameDefault(tstate=0x0000612000000050, f=0x0000615000075120, throwflag=0) at ceval.c:4213:19 | |
frame #14: 0x0000000100ee9818 python3`_PyEval_EvalFrame(tstate=0x0000612000000050, f=0x0000615000075120, throwflag=0) at pycore_ceval.h:46:12 | |
frame #15: 0x0000000100ee9325 python3`_PyEval_Vector(tstate=0x0000612000000050, con=0x000060f00024fc40, locals=0x0000000000000000, args=0x000061600002ae08, argcount=0, kwnames=0x0000000000000000) at ceval.c:5065:24 | |
frame #16: 0x0000000100610b55 python3`_PyFunction_Vectorcall(func=0x000060f00024fc30, stack=0x000061600002ae08, nargsf=9223372036854775808, kwnames=0x0000000000000000) at call.c:342:16 | |
frame #17: 0x0000000100f87758 python3`_PyObject_VectorcallTstate(tstate=0x0000612000000050, callable=0x000060f00024fc30, args=0x000061600002ae08, nargsf=9223372036854775808, kwnames=0x0000000000000000) at abstract.h:114:11 | |
frame #18: 0x0000000100f700ca python3`PyObject_Vectorcall(callable=0x000060f00024fc30, args=0x000061600002ae08, nargsf=9223372036854775808, kwnames=0x0000000000000000) at abstract.h:123:12 | |
frame #19: 0x0000000100f70943 python3`call_function(tstate=0x0000612000000050, trace_info=0x00007ff7bfef28e0, pp_stack=0x00007ff7bfef29e0, oparg=0, kwnames=0x0000000000000000) at ceval.c:5867:13 | |
frame #20: 0x0000000100f51ebb python3`_PyEval_EvalFrameDefault(tstate=0x0000612000000050, f=0x000061600002aca0, throwflag=0) at ceval.c:4213:19 | |
frame #21: 0x0000000100ee9818 python3`_PyEval_EvalFrame(tstate=0x0000612000000050, f=0x000061600002aca0, throwflag=0) at pycore_ceval.h:46:12 | |
frame #22: 0x0000000100ee9325 python3`_PyEval_Vector(tstate=0x0000612000000050, con=0x00007ff7bfefec60, locals=0x0000608000102c40, args=0x0000000000000000, argcount=0, kwnames=0x0000000000000000) at ceval.c:5065:24 | |
frame #23: 0x0000000100ee9041 python3`PyEval_EvalCode(co=0x0000611000075ad0, globals=0x0000608000102c40, locals=0x0000608000102c40) at ceval.c:1134:12 | |
frame #24: 0x00000001011f2314 python3`run_eval_code_obj(tstate=0x0000612000000050, co=0x0000611000075ad0, globals=0x0000608000102c40, locals=0x0000608000102c40) at pythonrun.c:1291:9 | |
frame #25: 0x00000001011ebecd python3`run_mod(mod=0x000062500005d788, filename=0x000060d000015db0, globals=0x0000608000102c40, locals=0x0000608000102c40, flags=0x00007ff7bfeff150, arena=0x0000608000149330) at pythonrun.c:1312:19 | |
frame #26: 0x00000001011e948f python3`pyrun_file(fp=0x00007ff853368880, filename=0x000060d000015db0, start=257, globals=0x0000608000102c40, locals=0x0000608000102c40, closeit=1, flags=0x00007ff7bfeff150) at pythonrun.c:1208:15 | |
frame #27: 0x00000001011e75c1 python3`_PyRun_SimpleFileObject(fp=0x00007ff853368880, filename=0x000060d000015db0, closeit=1, flags=0x00007ff7bfeff150) at pythonrun.c:456:13 | |
frame #28: 0x00000001011e6e19 python3`_PyRun_AnyFileObject(fp=0x00007ff853368880, filename=0x000060d000015db0, closeit=1, flags=0x00007ff7bfeff150) at pythonrun.c:90:15 | |
frame #29: 0x0000000101312a88 python3`pymain_run_file_obj(program_name=0x00006070000a98b0, filename=0x000060d000015db0, skip_source_first_line=0) at main.c:353:15 | |
frame #30: 0x0000000101310e48 python3`pymain_run_file(config=0x0000634000000bc0) at main.c:372:15 | |
frame #31: 0x000000010130eaae python3`pymain_run_python(exitcode=0x00007ff7bfeff580) at main.c:587:21 | |
frame #32: 0x000000010130db2f python3`Py_RunMain at main.c:666:5 | |
frame #33: 0x000000010130f3cd python3`pymain_main(args=0x00007ff7bfeff780) at main.c:696:12 | |
frame #34: 0x000000010130f685 python3`Py_BytesMain(argc=2, argv=0x00007ff7bfeff9d8) at main.c:720:12 | |
frame #35: 0x0000000100001ba2 python3`main(argc=2, argv=0x00007ff7bfeff9d8) at python.c:15:12 | |
frame #36: 0x000000010249d4fe dyld`start + 462 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment