首页 > 解决方案 > 致命的 Python 错误:(pygame 降落伞)分段错误不起作用

问题描述

我有时会遇到这个错误:

Fatal Python error: (pygame parachute) Segmentation Fault

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

有时运行程序时我收到此错误,但我在使用 pygame 之前收到此错误,并且 try,except 没有捕获任何内容。我正在用这种配置制作一个程序。我不知道还能做什么,请帮助。:

Windows 10 64bits

python 2.7 64bits

pygame. __version__: '1.9.3'

Tkinter.__version__: '$Revision: 81008 $'

ttk.__version__: '0.3.1'

pickle.__version__: '$Revision: 72223 $'

pyserial.__version__: '2.7'

标签: pythonpython-2.7tkinterpygamepyserial

解决方案


我用这个方法解决了这个问题。

Tkinter.after()

看起来我有一个大大改变屏幕的竞争条件。我测试了2个小时,没有错误。


推荐阅读