我正在用 pygame 创建一个游戏,随着我继续开发它,它导致越来越多的桌面崩溃。似乎我添加的越多它崩溃的越多。
我似乎无法解码到底是什么导致了这次崩溃。有人可以解释一下出了什么问题,是否有办法解决?
这是最新的崩溃日志:
Process: Python [72523]
Path: /usr/local/Cellar/python@3.9/3.9.5/Frameworks/Python.framework/Versions/3.9/Resources/Python.app/Contents/MacOS/Python
Identifier: org.python.python
Version: 3.9.5 (3.9.5)
Code Type: X86-64 (Native)
Parent Process: pycharm [59532]
Responsible: pycharm [59532]
User ID: 501
Date/Time: 2021-07-10 11:36:49.254 -0400
OS Version: macOS 11.4 (20F71)
Report Version: 12
Bridge OS Version: 5.4 (18P4663)
Anonymous UUID: 719DE6BF-3F03-FB2D-8312-738A2F37D611
Sleep/Wake UUID: FB1F4F1E-86D9-47BE-9A7C-098E13A49623
Time Awake Since Boot: 260000 seconds
Time Since Wake: 630 seconds
System Integrity Protection: enabled
Crashed Thread: 1 SDLTimer
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [72523]
ID Vend/Dev
9222 67df1002
Seconds Ago ID Type
420000.0 9222 Attach
140000.0 9222 Detach
140000.0 9222 Detach
140000.0 9222 Attach
Application Specific Information:
BUG IN CLIENT OF LIBDISPATCH: Assertion failed: Block was expected to execute on queue [com.apple.main-thread]