I seem to be having a few exc_bad_access errors in my app. Here’s where it gets weird – when I set NSZombieEnabled = YES, the errors don’t seem to get reproduced. The app works perfectly. This question has been asked before, but my question is more along the lines of why this is happening. I know that traditional objective C objects should be flagged down if the issue lay with them, right? So does this point to the problem lying somewhere else? If so, where? Any help would be much appreciated.
I seem to be having a few exc_bad_access errors in my app. Here’s where
Share
The problem all along seemed to be with CFMutableBitVector. I wasn’t setting a count, and up ended up accessing elements beyond its range. As a result I was getting an EXC_BAD_ACCESS error further down the road. NSZombieEnabled=YES for some reason seems to fix this. Anyway, I corrected the issue.