Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Exception Codes: KERN_PROTECTION_FAILURE at 0x00000008

Hi All,

I am developing a navigation based application. This application uses map kit and core location framework mainly. My application is running in 1generation phone with iPhone OS 3.0 but when I try to run this application on iPhone 3GS then it crashed. The crash log file comes with following error

Incident Identifier: A7F1228C-D14D-404C-9C76-111922A0CA6B
CrashReporter Key: d59577a06db66496b55a4be7c6d9d85c9f5d4f42
Process: iTravisPro [3480]
Path: /var/mobile/Applications/E32EE280-6910-4A19-B216-E9319CE3E82D/iTravisPro.app/iT ravisPro
Identifier: iTravisPro
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]

Date/Time: 2009-09-16 21:48:46.899 -0700
OS Version: iPhone OS 3.0 (7A341)
Report Version: 104

Exception Type: EXC BADACCESS (SIGBUS)
Exception Codes: KERN PROTECTIONFAILURE at 0x00000008
Crashed Thread: 0

Thread 0 Crashed:
0 libobjc.A.dylib 0x300102ac 0x3000c000 + 17068
1 MapKit 0x34191e44 0x3416c000 + 155204
2 MapKit 0x341758a0 0x3416c000 + 39072
3 iTravisPro 0x000040e6 0x1000 + 12518
4 iTravisPro 0x0000e026 0x1000 + 53286
5 CoreLocation 0x3205d05a 0x32056000 + 28762
6 CoreLocation 0x3205be6a 0x32056000 + 24170
7 CoreLocation 0x3205bfa8 0x32056000 + 24488
8 CoreLocation 0x320577a0 0x32056000 + 6048
9 CoreLocation 0x320577e0 0x32056000 + 6112
10 CoreLocation 0x3205834e 0x32056000 + 9038
11 CoreLocation 0x3205a6be 0x32056000 + 18110
12 CoreFoundation 0x3022c1be 0x301fd000 + 192958
13 CoreFoundation 0x3025303a 0x301fd000 + 352314
14 CoreFoundation 0x3025276a 0x301fd000 + 350058
15 GraphicsServices 0x32044b08 0x32041000 + 15112
16 GraphicsServices 0x32044bb4 0x32041000 + 15284
17 UIKit 0x308f035c 0x308ed000 + 13148
18 UIKit 0x308ef11a 0x308ed000 + 8474
19 iTravisPro 0x00002090 0x1000 + 4240
20 iTravisPro 0x0000202c 0x1000 + 4140

I am not able to understand what is reason for this. So suggest me why mainly this error comes. How can i overcome with this problem.


Thanks,
Anand

Mac,intel PC, Mac OS X (10.5.7), Leopard

Posted on Sep 17, 2009 1:40 AM

Reply
Question marked as Best reply

Posted on Sep 17, 2009 8:09 AM

Something caused the iPhone to try and access memory at location 0x8.

This is almost certainly due to some routine being passed a NULL pointer from your application or a NULL pointer being dereferenced in a structure you're passing.

Look at the traceback to figure out what in your app is at fault, then fix it.
1 reply

Exception Codes: KERN_PROTECTION_FAILURE at 0x00000008

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.