Application terminated at middle
Here My problem is whe开发者_开发问答n Im running my build in the device sometimes my application is terminated at middle with displaying the message in the console as:
Program received signal: "0".
warning: check_safe_call:could not restore current frame
Can anyone help why this was happening like this? Anyones's help will be appreciated.
Thank you, Monish Kumar.
This is very possibly caused by an infinite loop which is causing you to run out of memory and the debugger can't unwind the stack because there's too much recursion.
Set a breakpoint in the debugger at some point directly preceding the crash and then step through the operations in your code to find where the problem is occurring.
It looks like crash caused by low memory. Try to implement -applicationDidReceiveMemoryWarning:
in your application delegate and free unnecessary resources there.
精彩评论