I have an app with Cocos2D and some UIKit mixed in. I have recently been implementing some new features so maybe the memory management is wrong or something is getting over-released but whenever I exit the app by clicking the home button, the console just crashes only with the message (lldb). Even if I turn on NSZombiesEnabled nothing different happens.
The only thing my app points to is a line that looks like this:
libGPUSupportMercury.dylib`gpus_ReturnNotPermittedKillClient:
0x38101094: trap
0x38101096: nop
I have no idea what that means but I would love to get this fixed. Does anyone have any idea why this is happening?
Thanks in advance!
Edit: I think the cause of this was because I am calling pause on Cocos2D's CCDirector after I do unscheduleAllSelectors and stopAnimation. If I don't call those 2, then there is no lldb crash.
Turns out this was the actual fix for my issue in relation with Cocos2D: http://www.cocos2d-iphone.org/forum/topic/7326