Search code examples
xcodeios4debuggingios-simulator

Showing FlipviewController crash in XCode 4 debugger


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 enter image description here


Solution

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

    enter image description here

    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:

    enter image description here