ipad应用程序异常地退出信号11:分段故障:11 [英] ipad app exited abnormally with signal 11: Segmentation fault: 11

查看:222
本文介绍了ipad应用程序异常地退出信号11:分段故障:11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序异常地与信号11退出。我不知道这是什么意思。没有崩溃日志,调试器没有显示错误。该应用程序刚刚走了。



我收到以下日志。

  Apr 27 21:31:31 Unknown Apollo [1408]< Warning>:将标签< VUIWebController:0x2dcf30>前端
Apr 27 21:31:31 unknown configd [29]< Notice> ;: jetsam:正在创建内核终止快照
Apr 27 21:31:32 unknown com.apple.launchd [1] < Notice> ;:(UIKitApplication:com.apple.mobilemail [0x81d8])已退出:已杀死:9
Apr 27 21:31:32 unknown com.apple.launchd [1]< Notice> ;:(UIKitApplication: com.ihanghai.apollo [0x4f16])错误:launchd_core_logic.c:3795(24506):0
Apr 27 21:31:32 unknown SpringBoard [33]<警告>:应用程序'邮件'异常退出信号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 =不良文件描述符(0x00000009)
Apr 27 21:31:32 unknown com.apple.launchd [1]< Notice> ;:(UIKitApplication:com.ihanghai.apollo [0x4f16])错误: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])工作在5020256。假设工作坠毁。
Apr 27 21:31:32 unknown com.apple.launchd [1]< Warning> ;:(UIKitApplication:com.ihanghai.apollo [0x4f16])作业似乎已崩溃:分段错误:11
Apr 27 21:31:32 Unknown SpringBoard [33]<警告>:应用程序'Apollo'异常地用信号11退出:分段错误:11
Apr 27 21:31:33 unknown ReportCrash [错误> ;: libMobileGestalt loadBasebandMobileEquipmentInfo:CommCenter错误:1:45
Apr 27 21:31:33 unknown ReportCrash [1413]< Error> ;: libMobileGestalt copyInternationalMobileEquipmentIdentity:无法获取移动设备信息字典
Apr 27 21 :31:33 Unknown ReportCrash [1413]< Error>:保存的crashreport到/Library/Logs/CrashReporter/LowMemory-2011-04-27-213133.plist使用uid:0 gid:0,synthetic_euid:0 egid:0
Apr 27 21:31:33 unknown kernel [0]< Debug> ;: crunchd [1414] Builtin个人资料:MobileMail(沙箱)

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

解决方案

我也建议看看这篇文章:



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


My app exited abnormally with signal 11. I don't know what that means. There is no crash log and the debugger shows no error. The app is just gone.

I got the following log.

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)

Does anyone know how to debug that kind of problem?

解决方案

I would also suggest looking at this post: iPhone app crashes when launched from Xcode, but not from iPhone

The previous post mentioned advises setting NSZombieEnabled for this issue. Based on your description it may be an issue with already having this environment variable on and it causing low memory issues. You mention there is no crash log, that is exactly what happened to me when running with NSZombieEnabled - when I turned it off it these mysterious crashes stopped.

这篇关于ipad应用程序异常地退出信号11:分段故障:11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆