Rendering with OpenGL while in background causes a crash

Basically our issue is described in Apple Technical Q&A QA1766:

https://developer.apple.com/library/ios/qa/qa1766/_index.html

After playing a video ad, users who click “install” button are redirected to app store app and our app goes to background, at this point our app crashes with: libGPUSupportMercury.dylib : gpus_ReturnNotPermittedKillClient

Apple says the reason is that some OpenGL ES commands are being executed while app in background.

The app is released with corona version: 2015.2562

 

This crash is affecting our users and we can reproduce it, but know idea how to approach it.

Hi @zozo.apps.team,

I think we’ll need many more details before we can attempt to help you. What “video ad” are you showing, and by which provider/service? What is the code you’re using to do this?

Best regards,

Brent

I updated to public release 2015.2646 and the long standing crash was gone !

must be something that was fixed since 2015.2562 in corona SDK

Thanks for the reply.

Hi @zozo.apps.team,

I think we’ll need many more details before we can attempt to help you. What “video ad” are you showing, and by which provider/service? What is the code you’re using to do this?

Best regards,

Brent

I updated to public release 2015.2646 and the long standing crash was gone !

must be something that was fixed since 2015.2562 in corona SDK

Thanks for the reply.