2012-07-18 73 views
0

我正在做帶有四個選項卡的iPhone中的Tab應用程序。 我的應用程序幾乎完成,但應用程序運行一段時間它crashing.i觀察到問題提高,而我在兩個視圖的前後導航切換。任何iPhone主人請幫我解決這個問題?任何iPhone高手請告訴我我的應用程序在這裏崩潰的原因是我的日誌?

## Log ## 
    Mon Jul 16 21:07:55 unknown MyApp[167] <Warning>: NVVC Dealloc 
    Mon Jul 16 21:08:23 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.company.MyApp[0xe271]) Bug: launchd_core_logic.c:2688 (24132):10 
    Mon Jul 16 21:08:23 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.company.MyApp[0xe271]) Working around 5020256. Assuming the job crashed. 
    Mon Jul 16 21:08:23 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.company.MyApp[0xe271]) Job appears to have crashed: Segmentation 
    fault 
    Mon Jul 16 21:08:23 unknown SpringBoard[29] <Warning>: Application 'MyApp' exited abnormally with signal 11: Segmentation fault 
    Mon Jul 16 21:09:04 unknown lockdownd[20] <Error>: (0x403000) handle_connection: Could not receive USB message #7 from Xcode. Killing connection 
    Mon Jul 16 22:00:39 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0x55fb]) Exited: Killed 
    Mon Jul 16 22:00:39 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilephone[0xa13c]) Exited: Killed 
    Mon Jul 16 22:00:39 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.MyApp.app[0x137]) Exited: Killed 
    Mon Jul 16 22:00:39 unknown com.apple.launchd[1] <Notice>: (com.apple.accessoryd) Exited: Killed 
    Mon Jul 16 22:00:41 unknown SpringBoard[29] <Warning>: Application 'Mail' exited abnormally with signal 9: Killed 
    Mon Jul 16 22:00:41 unknown SpringBoard[29] <Warning>: Memory level is not normal (15%). Delaying auto-relaunch of 'Mail' for 30 seconds. Mon Jul 16 22:00:41 unknown SpringBoard[29] <Warning>: Application 'app' exited abnormally with signal 9: Killed 
    Mon Jul 16 22:00:42 unknown SpringBoard[29] <Warning>: Application 'Phone' exited abnormally with signal 9: Killed 
+0

無論誰編輯這最後打破了代碼塊。我重新編輯。請查閱。 – Wug 2012-07-18 06:46:06

+0

代碼塊在這裏是沒用的,至少現在你可以一次讀完所有的東西 – Alex 2012-07-18 06:48:46

+0

我相當不同意,但有你的方式。 – Wug 2012-07-18 06:49:20

回答

0

這看起來很熟悉:

Application 'MyApp' exited abnormally with signal 11: Segmentation fault 

Segmentation fault意味着你試圖訪問你還沒有分配(還),或在一般引用的是無效的指針的存儲區域,我重複檢查代碼的相關部分。

由於您正在切換視圖,因此您可能會假定一些與內存相關的任務已經被處理,但事實上他們沒有。

相關問題