簡體   English   中英

iPhone應用程序從后台加載后崩潰

[英]iPhone app crashes after loading it from background

我將某個應用程序置於后台后嘗試加載時崩潰。
最初的幾次,我將其放在后台,然后通過多任務處理(即雙擊主屏幕按鈕並使應用程序進入前台)重新啟動它,效果很好。

但是,如果我一直將它放在后台,並在一段時間后繼續重新啟動它,則會崩潰並給我以下錯誤:


* __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'
每次應用崩潰時,都會有一個不同的標識符號。

有人知道為什么會這樣嗎?

您需要查看崩潰報告以獲取有關問題發生位置的一些幫助。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM