10

我的应用程序因信号 11 异常退出。我不知道这意味着什么。没有崩溃日志,调试器也没有显示错误。该应用程序刚刚消失。

我得到了以下日志。

Apr 27 21:31:31 unknown Apollo[1408] <Warning>: bring tab <VUIWebController: 0x2dcf30> to front
Apr 27 21:31:31 unknown configd[29] <Notice>: jetsam: kernel termination snapshot being created
Apr 27 21:31:32 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.apple.mobilemail[0x81d8]) Exited: Killed: 9
Apr 27 21:31:32 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.ihanghai.apollo[0x4f16]) Bug: launchd_core_logic.c:3795 (24506):0
Apr 27 21:31:32 unknown SpringBoard[33] <Warning>: Application 'Mail' exited abnormally with signal 9: Killed: 9
Apr 27 21:31:32 unknown com.apple.debugserver-50[1407] <Warning>: 1 [057f/1503]: error: ::read ( 4, 0x2ffc29f0, 1024 ) => -1 err = Bad file descriptor (0x00000009)
Apr 27 21:31:32 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.ihanghai.apollo[0x4f16]) Bug: launchd_core_logic.c:3794 (24506):3
Apr 27 21:31:32 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.ihanghai.apollo[0x4f16]) Bug: launchd_core_logic.c:3202 (24506):10
Apr 27 21:31:32 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.ihanghai.apollo[0x4f16]) Working around 5020256. Assuming the job crashed.
Apr 27 21:31:32 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.ihanghai.apollo[0x4f16]) Job appears to have crashed: Segmentation fault: 11
Apr 27 21:31:32 unknown SpringBoard[33] <Warning>: Application 'Apollo' exited abnormally with signal 11: Segmentation fault: 11
Apr 27 21:31:33 unknown ReportCrash[1413] <Error>: libMobileGestalt loadBasebandMobileEquipmentInfo: CommCenter error: 1:45
Apr 27 21:31:33 unknown ReportCrash[1413] <Error>: libMobileGestalt copyInternationalMobileEquipmentIdentity: Could not get mobile equipment info dictionary
Apr 27 21:31:33 unknown ReportCrash[1413] <Error>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2011-04-27-213133.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0
Apr 27 21:31:33 unknown kernel[0] <Debug>: crunchd[1414] Builtin profile: MobileMail (sandbox)

有谁知道如何调试这种问题?

4

1 回答 1

5

我还建议看看这篇文章:iPhone app crashed when launch from Xcode, but not from iPhone

前面提到的帖子建议为此问题设置 NSZombieEnabled。根据您的描述,这可能是已经打开此环境变量的问题,并且会导致内存不足的问题。你提到没有崩溃日志,这正是我在使用 NSZombieEnabled 运行时发生的事情——当我将其关闭时,这些神秘的崩溃就停止了。

于 2011-11-04T01:02:40.287 回答