I've identified potentially another issue with our application while running on iPad 3. The app crashes in a similar manner as when it crashes on iOS 6 and the iPhone 5. Unfortunately it is difficult to reproduce.
I can provide our project in its current state to reproduce the issue if you'd like.
The app throws a SIGSEGV on this thread on the iPad 3:
I've memory profiled my application and removed several of the possible memory leaks that it identifies. However for the memory leaks in 3rd party libraries I have left those alone because I'm not sure they're legitimate.
Any help or direction you could provide would be great.
Yes, moving to ARC might help. But if you keep your minimum target to 4.x then you'll still have to handle zeroing weak reference. Here is the apple doc.
Also, moving to ARC will be more performant. You are putting all local variables also into autorelease pool which is less performant.
//putting this into autorelease is less performant. it should be explicitly released. AGSBingMapLayer* layer = [[[AGSBingMapLayer alloc] initWithAppID:kBingMapsAppID style:AGSBingMapLayerStyleAerialWithLabels] autorelease];
We were able to crash the app again. Here's a slightly different stack trace. This was reproduced by choosing an agency to zoom to, then moving the map before the points had loaded on the screen. Again this was a SIGSEGV.
The DropBox \Temp\CrimeMapping.zip archive has been updated. There are still a few "potential" memory leak issues with the ASIHttpRequest.m implementation but that is a library that I didn't not write and I am weary of messing with it. If you think there is a high probability of the crash originating from that library I'll go ahead and correct those build analyzer warnings. Otherwise I have taken care of all the other potential leaks in all of our app's view controllers and categories.
Let me know if you have trouble accessing the project from DropBox.
This is frustrating that we're the only ones able to repro the crash. It does happen somewhat randomly, though. Have you tried chosing an agency, then pinch zooming (in or out) on the map before the graphics layer refreshes?
OK - sounds good. If we can produce a video of the crash I'll be sure to post it.
Could there be any project settings or configuration settings that I could look at tweaking? I'm pretty sure I've got everything working. What about the build targets? When looking at our project does everything look alright to you?
I don't think there is anything in the project setting which cause the issue. However, you are seeing crash on iPad but your project is set only for iPhone. You'll probably have to do very little to make it a Universal app.