Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gdb backtrace for python 3.6.0
(gdb) r ./minimal_crash.py -d sqlite:///crash.db
Starting program: /tmp/mini/venv/bin/python ./minimal_crash.py -d sqlite:///crash.db
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
INFO:__main__:Connecting to DB 'sqlite:///crash.db'
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7458c66 in PyObject_Malloc () from /usr/lib/libpython3.6m.so.1.0
(gdb) bt
#0 0x00007ffff7458c66 in PyObject_Malloc () from /usr/lib/libpython3.6m.so.1.0
#1 0x00007ffff746ad64 in ?? () from /usr/lib/libpython3.6m.so.1.0
#2 0x00007ffff746c467 in PyDict_SetItem () from /usr/lib/libpython3.6m.so.1.0
#3 0x00007ffff73e4af5 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#4 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#5 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#6 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#7 0x00007ffff7426629 in ?? () from /usr/lib/libpython3.6m.so.1.0
#8 0x00007ffff742778a in ?? () from /usr/lib/libpython3.6m.so.1.0
#9 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#10 0x00007ffff73e4ba9 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#11 0x00007ffff7426629 in ?? () from /usr/lib/libpython3.6m.so.1.0
#12 0x00007ffff7427384 in _PyFunction_FastCallDict () from /usr/lib/libpython3.6m.so.1.0
#13 0x00007ffff747ca4e in _PyObject_FastCallDict () from /usr/lib/libpython3.6m.so.1.0
#14 0x00007ffff747d852 in _PyObject_Call_Prepend () from /usr/lib/libpython3.6m.so.1.0
#15 0x00007ffff747d91b in PyObject_Call () from /usr/lib/libpython3.6m.so.1.0
#16 0x00007ffff7410790 in ?? () from /usr/lib/libpython3.6m.so.1.0
#17 0x00007ffff74745ee in ?? () from /usr/lib/libpython3.6m.so.1.0
#18 0x00007ffff747c84c in _PyObject_FastCallDict () from /usr/lib/libpython3.6m.so.1.0
#19 0x00007ffff747d7c2 in _PyObject_FastCallKeywords () from /usr/lib/libpython3.6m.so.1.0
#20 0x00007ffff7427b86 in ?? () from /usr/lib/libpython3.6m.so.1.0
#21 0x00007ffff73e4ba9 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#22 0x00007ffff7426291 in ?? () from /usr/lib/libpython3.6m.so.1.0
#23 0x00007ffff742778a in ?? () from /usr/lib/libpython3.6m.so.1.0
#24 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#25 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#26 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#27 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#28 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#29 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#30 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#31 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#32 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#33 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#34 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#35 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#36 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#37 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#38 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#39 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#40 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#41 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#42 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#43 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#44 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#45 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#46 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#47 0x00007ffff7426291 in ?? () from /usr/lib/libpython3.6m.so.1.0
#48 0x00007ffff7427295 in _PyFunction_FastCallDict () from /usr/lib/libpython3.6m.so.1.0
#49 0x00007ffff747ca4e in _PyObject_FastCallDict () from /usr/lib/libpython3.6m.so.1.0
#50 0x00007ffff747d852 in _PyObject_Call_Prepend () from /usr/lib/libpython3.6m.so.1.0
#51 0x00007ffff747d91b in PyObject_Call () from /usr/lib/libpython3.6m.so.1.0
#52 0x00007ffff73e557e in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#53 0x00007ffff7426291 in ?? () from /usr/lib/libpython3.6m.so.1.0
#54 0x00007ffff7427384 in _PyFunction_FastCallDict () from /usr/lib/libpython3.6m.so.1.0
#55 0x00007ffff747ca4e in _PyObject_FastCallDict () from /usr/lib/libpython3.6m.so.1.0
#56 0x00007ffff747d852 in _PyObject_Call_Prepend () from /usr/lib/libpython3.6m.so.1.0
#57 0x00007ffff747d91b in PyObject_Call () from /usr/lib/libpython3.6m.so.1.0
#58 0x00007ffff73e557e in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#59 0x00007ffff7426629 in ?? () from /usr/lib/libpython3.6m.so.1.0
#60 0x00007ffff742778a in ?? () from /usr/lib/libpython3.6m.so.1.0
#61 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#62 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#63 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#64 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#65 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#66 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#67 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#68 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.6m.so.1.0
#69 0x00007ffff7427f47 in PyEval_EvalCodeEx () from /usr/lib/libpython3.6m.so.1.0
#70 0x00007ffff73e3a5b in PyEval_EvalCode () from /usr/lib/libpython3.6m.so.1.0
#71 0x00007ffff74acdc2 in ?? () from /usr/lib/libpython3.6m.so.1.0
#72 0x00007ffff74af62d in PyRun_FileExFlags () from /usr/lib/libpython3.6m.so.1.0
#73 0x00007ffff74af817 in PyRun_SimpleFileExFlags () from /usr/lib/libpython3.6m.so.1.0
#74 0x00007ffff74a46f1 in Py_Main () from /usr/lib/libpython3.6m.so.1.0
#75 0x0000000000400a5d in main ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment