Skip to content

Instantly share code, notes, and snippets.

View audricschiltknecht's full-sized avatar

Audric Schiltknecht audricschiltknecht

View GitHub Profile
@audricschiltknecht
audricschiltknecht / gist:5564034c5aac78d881e03f29e069a8f5
Created February 4, 2017 00:46
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