Help, I've been hacking for several weeks now! I have this application that I am developing in Simulator, and I have done a lot for the UI, it just gets to the interesting part with the data. It started right after launch, in about 90% of cases when I run it, it will throw an EXC_BAD_ACCESS exception.
I commented on all my release messages and even added some save messages to make sure that this is not what is already released. Strange, sometimes something that I do in the code will make it work, then it works until I make another change to the code. Then I comment on the new code that I added and it still crashes.
I probably read a dozen articles on the Internet about this, tried what they offer. I set breakpoints and still can't figure out where it is. When I click on the call stack in the debugger, the only place the source code is displayed is the lower level, which is the main one.
The debugger has this stack, but it hesitates every time it crashes. An inconsistent character tells me that there is some memory that it implements, but I have no idea how to find out what.
0 objc_msgSend 1 ?? 2 _CFAutoReleasePoolPop 3 -[NSAutoReleasePool release] 4 _UIApplicationHandleEvent 5 PurpleEventCallback 6 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ 7 __CFRunLoopDoSource1 8 __CFRunLoopRun 9 CFRunLoopRunSpecific 10 CFRunLoopRunInMode 11 -[UIApplication _run] 12 UIApplicationMain 13 main
A few facts:
- I installed NSZombieEnabled that did not make changes to the console Exit
- I used tools using the Leak Profile, it did not show any Leaks
source share