简体   繁体   English

iPhone应用程序从后台加载后崩溃

[英]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.

相关问题 从后台返回后,我的iPhone应用程序崩溃了。 原因:UIImage问题 - My iPhone app crashes after returning from background. Cause: UIImage problem 从后台打开并选择Tab atIndex:0后,我的iPhone应用程序崩溃了 - My iPhone app crashes after opening it from background and selecting Tab atIndex:0 从后台返回后,我的iPhone应用程序崩溃了。 原因:UIImage问题 - My iPhone app crashes after returning from background. Cause: UIImage problem 将更多行加载到自定义表后,iPhone应用程序崩溃 - iphone app crashes after loading more row into a custom table 从后台重新启动应用程序后,iPhone重新启动 - Iphone Restarts after relaunching the app from background iPhone应用程序从Xcode安装在iPhone上但崩溃 - iPhone app installs on iPhone from Xcode but crashes 从iPhone加载联系人在Swift中崩溃 - Loading contacts from iPhone crashes in Swift AppStore更新后,iPhone App崩溃 - CoreData - iPhone App crashes after AppStore update - CoreData 下载更新后,iPhone应用程序崩溃 - iPhone app crashes after downloading an update Xib文件本地化后,iPhone App崩溃 - iPhone App crashes after localization of xib file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM