python - 致命的 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'
解决方案
我用这个方法解决了这个问题。
Tkinter.after()
看起来我有一个大大改变屏幕的竞争条件。我测试了2个小时,没有错误。
推荐阅读
- reactjs - 如何将大量道具传递给反应组件以反应渲染方法
- tensorflow - 基于直方图在 TF 中定义损失函数
- laravel - Laravel - POSTMAN 上的 500 内部服务器错误
- python - Python - 将频道添加到类别
- javascript - 扩展类的属性,扩展类的 Getter。永远不会调用 Getter
- xaml - ListView 中的项目如何从右到左开始?
- linux - 仅当所有模式在同一订单上匹配时才提取多行
- unity3d - 构建后我没有为我的游戏获取 .exe?
- react-native - TouchableWithoutFeedback 抛出渲染错误
- android - 从图像中删除特定颜色