问题描述
我的应用程序有2个视图,当按下按钮时显示为flipview。他们在任何测试设备上工作得很好。
My app has 2 views that are shown as flipview when a button is pressed. They are working just fine on any testdevice.
但是在XCode中,其中之一是在显示主方法时,导致崩溃(bad_exec)返回主方法。崩溃发生在我的任何功能之外。
But in XCode, one of them is causing a crash (bad_exec) to the return of the main method when he is displayed. The crash happens outside of any of my functions.
好的,bad_exec意味着,我有什么是垃圾/取消分配或破坏内存。
但是为什么只会发生在iPhone 4.2模拟器下的xcode 4?
没有僵尸做火,当他的视图显示时也不会覆盖/释放任何东西。
Ok, bad_exec means, I have anything that is trashing/deallocating or corrupting the memory.But why does it just happen in the iPhone 4.2 simulator under xcode 4?No Zombies do fire, nor do I overwrite/deallocate anything when he the view is displayed.
任何想法发生了什么?
添加堆栈。
全面解析: http://www.codebaker.de/OddCrash.png
Any idea whats going on?Added stack.Full resolution here: http://www.codebaker.de/OddCrash.png
仅更改为堆栈
Changed to stack only
推荐答案
复制粘贴堆栈跟踪,看看这个选择,这是一个缩短的堆栈跟踪,你可以选择并复制:
Copy Paste the stacktrace, look at the selection on the laft, it's a shortened stack trace, you can select and copy it:
你可以在这里找到stacktrace,点击右边的栏位上划分编辑器和下面的栏的线程1:
You can find the stacktrace here, click on the field right to Thread 1 on the bar which divides the editor and the lower pane:
这篇关于在XCode 4调试器中显示FlipviewController崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!