Hi,
I am using MapKit in my app and i find that the setRegion and addAnnotations methods crashes my app. But i am sure that its something wrong with by project settings or flags as by another MapKit app is running fine on the same devices.
Is it something wrong with my flags? I am using a library and using -all_load in linker flags.
Moreover the apps works fine if i comment out the region and annotations.
Crash Report (Note: This is happening only in 3.x iPhone/iPods and for this app.)
OS Version: iPhone OS 3.1.3 (7E18) Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000 Crashed Thread: 0
Thread 0 Crashed: 0 libSystem.B.dylib 0000000000 0 + 0
1 Foundation 0x0000dd96 __NSFireTimer + 138
2 CoreFoundation 0x000574be CFRunLoopRunSpecific + 2194
3 CoreFoundation 0x00056c1a CFRunLoopRunInMode + 46
4 GraphicsServices 0x000041c4 GSEventRunModal + 192
5 UIKit 0x00003c2c -[UIApplication _run] + 556
6 UIKit 0x0000222c UIApplicationMain + 964
7 app_name 0x00002406 main (main.m:14)
8 app_name 0x000023a4 start + 48