应用程序 '' 异常退出,信号 11:分段错误:11
Application '' exited abnormally with signal 11: Segmentation fault: 11
导致这种情况的问题可能是什么?
What might the problem that causes this be?
当你的程序试图访问一个不再存在的对象的内存位置时,会发生这些错误,该对象在应用程序生命周期的某个早期阶段已经拥有它的内存被释放回堆中.
These errors occur when your program tries to access the memory location of an object that no longer exists, an object which at some earlier point in the application's lifetime has had its memory released back into the heap.
如果您可以通过使用明智的注释或更好的调试器来跟踪崩溃时正在访问哪个变量,那么您可能更容易修复错误.
If you can track down which variable is being accessed at the time of the crash, through the use of judicious comments or, better still, a debugger, then you will have a potentially easier time fixing the bugs.
同时,重新阅读苹果优秀的内存管理指南,它对内存管理问题进行了更详细的讨论,超出了此评论字段的范围.
In the meantime, re-read Apple's excellent Memory Management guide, which goes into memory management issues in greater detail than can fit into this comment field.
这篇关于应用程序 '' 异常退出,信号 11:分段错误:11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
如何通过点击动画 UIImageview 以显示全屏?How to animate a UIImageview to display fullscreen by tapping on it?(如何通过点击动画 UIImageview 以显示全屏?)
停止 segue 并显示警报To stop segue and show alert(停止 segue 并显示警报)
iOS 5 故事板,以编程方式确定路径iOS 5 storyboard, programmatically determine path(iOS 5 故事板,以编程方式确定路径)
图标已经包含光泽效果Icon already includes gloss effects(图标已经包含光泽效果)
UIEdgeInsetsMake 是如何工作的?How does UIEdgeInsetsMake work?(UIEdgeInsetsMake 是如何工作的?)
UIProgressView 和自定义跟踪和进度图像(iOS 5 属性UIProgressView and Custom Track and Progress Images (iOS 5 properties)(UIProgressView 和自定义跟踪和进度图像(iOS 5 属性))