Showing FlipviewController crash in XCode 4 debugger

若如初见. 提交于 2020-01-17 04:12:26

问题


My app has 2 views that are shown as flipview when a button is pressed. They are working just fine on any testdevice.

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.

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.

Any idea whats going on? Added stack. Full resolution here: http://www.codebaker.de/OddCrash.png

Changed to stack only


回答1:


Copy Paste the stacktrace, look at the selection on the laft, it's a shortened stack trace, you can select and copy it:

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:



来源:https://stackoverflow.com/questions/5659625/showing-flipviewcontroller-crash-in-xcode-4-debugger

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!