iphone – ipad应用程序异常退出信号11:分段故障:11

我的应用程序与信号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)

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

解决方法

我也建议看这个帖子: iPhone app crashes when launched from Xcode,but not from iPhone

以前的帖子提到建议NSZombieEnabled设置此问题.根据您的描述,这可能是已经有这个环境变量的问题,并导致低内存问题.你提到没有崩溃日志,这正是我使用NSZombieEnabled运行时发生了什么 – 当我关闭它,这些神秘的崩溃停止了.

相关文章

当我们远离最新的 iOS 16 更新版本时,我们听到了困扰 Apple...
欧版/美版 特别说一下,美版选错了 可能会永久丧失4G,不过只...
一般在接外包的时候, 通常第三方需要安装你的app进行测...
前言为了让更多的人永远记住12月13日,各大厂都在这一天将应...