how to investigate python2 segfault on imp.load_module

妖精的绣舞 提交于 2019-12-06 11:55:36

I have tried inspecting the core file through gdb ... but they are always truncated

Use GDB on the live process instead:

gdb --args python2 -c "import dolfin; print dolfin.__version__"
(gdb) run

I had a similar issue with dolfin. The culprit was the nvidia driver. I rolled it back from the latest and things worked again. I had to go through /var/log/messages to find the core dump, run it with gdb. somewhere towards the top were nvidia libraries.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!