I have the following line of code that activates a breakpoint
[mapView addAnnotations:grabinstance.itemArray]
This crash is random. grabinstance.itemArray is always full and never changes at that time due to the fact that this bit of code is called only after the array is full. At this particular time, it was confirmed as 323 elements in the array.
NSZombieEnabled also finds nothing.
The reverse is shown below, and line 1154 is the line above.
#0 0x0126a372 in _insert ()
iphone annotations mkmapview exc-bad-access
Lee armstrong
source share