kivy / kivy-ios

Toolchain for compiling Python / Kivy / other libraries for iOS
https://kivy.org/docs/guide/packaging-ios.html
MIT License
758 stars 237 forks source link

Crash during background execution #862

Closed CoderCoderCoder closed 8 months ago

CoderCoderCoder commented 9 months ago

Versions

Describe the bug I had the app running in the debugging mode from XCode on my iPhone. It was in the background. Suddenly it crashed and I got the error below (see the logs).

Expected behavior No crashes during background execution.

Logs

2023-09-10 21:44:49.967437+0300 myapp[8578:437766] [Snapshotting] Snapshotting a view (0x12c8d8600, UIKeyboardImpl) that is not in a visible window requires afterScreenUpdates:YES.
2023-09-10 21:44:50.121440+0300 myapp[8578:442919] Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)
2023-09-10 21:44:50.121841+0300 myapp[8578:442919] Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)
2023-09-10 21:44:50.122128+0300 myapp[8578:442919] Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)
2023-09-10 21:44:50.122148+0300 myapp[8578:442919] Execution of the command buffer was aborted due to an error during execution. Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)
2023-09-10 21:44:50.122224+0300 myapp[8578:442919] GLDRendererMetal command buffer completion error: Error Domain=MTLCommandBufferErrorDomain Code=7 "Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)" UserInfo={NSLocalizedDescription=Insufficient Permission (to submit GPU work from background) (00000006:kIOGPUCommandBufferCallbackErrorBackgroundExecutionNotPermitted)}
github-actions[bot] commented 8 months ago

đź‘‹ We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.

If you're having trouble installing or using kivy-ios, maybe you could be interested to installation and requirements.

Let us know if this comment was made in error, and we'll be happy to reopen the issue.