Python GDB调试segd

2024-07-05 09:24:37 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在用Python运行一个程序,并用GDB进行调试。我生成了coredump,但它基本上没有提供任何信息:

root@2380bca38221:/tmp# gdb python-dbg core.09e129943799.python.1547434680 
...

Reading symbols from python-dbg...done.

warning: core file may not match specified executable file.
[New LWP 8]
Core was generated by `python /mounts/target/scripts/run_experiment_from_doodad.py'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f1fba3ac269 in ?? ()
(gdb) py-bt
Traceback (most recent call first):
(gdb) bt
#0  0x00007f1fba3ac269 in ?? ()
#1  0x00007f1fba3ac390 in ?? ()
#2  0x0000000000000007 in ?? ()
#3  0x0000000000000000 in ?? ()

Coredump file


Tags: infrompy程序信息roottmpfile