I have a crash that is happening deep within UIKit for some reason; an EXC_BAD_ACCESS error is happening something like 8 calls deep into a dismissModalViewController call. I tried enabling NSZombieEnabled for my executable, but the console log prints the same error regardless of whether or not zombies are turned on and i don’t know which object is causing the issue. Is there something i’m missing that i need to do to get the console to print the correct information?
Share
Read about using Zombies here.
Run this in gdb. When you get the
EXC_BAD_ACCESSlook at the stack at that point (use gdb’s where command or run the Xcode GUI debugger). If you are still having issues, post the stack in your original question.Also zombies will only help you if you’re dealing with NSObjects. If you’re using low level malloc/free routines zombies buy you nothing for those allocations.