[英]iPhone app crashes after loading it from background
I have an app that crashes when i try to load it after it has been put in the background. 我将某个应用程序置于后台后尝试加载时崩溃。
The first few times i put it in the background and relaunch it by multi-tasking (ie double clicking the home button and getting the app in foreground) it works fine. 最初的几次,我将其放在后台,然后通过多任务处理(即双击主屏幕按钮并使应用程序进入前台)重新启动它,效果很好。
But if i keep putting it in background and keep re launching it after a few time it crashes and gives me the below error: 但是,如果我一直将它放在后台,并在一段时间后继续重新启动它,则会崩溃并给我以下错误:
* __NSAutoreleaseNoPool(): Object 0x76d6e90 of class NSCFString autoreleased with no pool in place - just leaking 2010-09-15 20:38:39.199 Snake[15192:ee27] __NSAutoreleaseNoPool(): Object 0x76d4880 of class NSException autoreleased with no pool in place - just leaking 2010-09-15 20:38:39.200 Snake[15192:ee27] __NSAutoreleaseNoPool(): Object 0x76b3c90 of class _NSCallStackArray autoreleased with no pool in place - just leaking 2010-09-15 20:38:39.200 Snake[15192:ee27] __NSAutoreleaseNoPool(): Object 0x76cbc30 of class _NSCallStackArray autoreleased with no pool in place - just leaking 2010-09-15 20:38:39.201 Snake[15192:ee27] __NSAutoreleaseNoPool(): Object 0x76c6db0 of class NSCFString autoreleased with no pool in place - just leaking 2010-09-15 20:38:39.202 Snake[15192:ee27] __NSAutoreleaseNoPool(): Object 0x78e5000 of class NSCFString autoreleased with no pool in place - just leaking 2010-09-15 20:38:39.203 Snake[15192:ee27] __NSAutoreleaseNoPool(): Object 0x76c6a90 of class NSConcreteMutableData autoreleased with no pool in place - just leaking 2010-09-15 20:38:39.207 Snake[15192:ee27] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'No background task exists with identifier 8'
Everytime the app crashes there is a different identifier number.
Does anyone know why this is happening? 有人知道为什么会这样吗?
您需要查看崩溃报告以获取有关问题发生位置的一些帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.