Cython-compiled *.pyd causes python interpreter to crash

蓝咒 提交于 2019-12-24 03:29:09

问题


I am compiling some modules with Cython into *.pyd files that get imported by a Python program. I have tested all of my modules and they all work with the Python program. At least, they all worked until today, when I tried to run the program and the interpreter crashed upon trying to load one of the *.pyd files. It crashed with the Windows message "python.exe has stopped working". I have been able to identify the *.pyd file that causes this, because by removing it I can start up my program. Cython is still able to compile this file just fine, and there have been no source code changes since yesterday, when it was still working. I have searched for about two hours on issues relating to this problem, but I still have no idea what I'm working with here. Might anybody have an idea what's going on?

I have Python 2.7 (32-bit) installed on Windows 7.

来源:https://stackoverflow.com/questions/7094158/cython-compiled-pyd-causes-python-interpreter-to-crash

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