Symbolicate crash log - XCode 7.0.1 - ios

I am trying to symbolicate the crashed log & tried variuos methods.
1) symbolicating crash log from xcode(7.0.1) > Devices > All Logs > Re-Symbolicate logs
Nothing happens
Installed command line tools, xcode-select --install
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
2)from command line, symbolicate “Crash.crash” "MyApp.app"
Got error, symbolicate: command not found
3)/Applications/Xcode.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/Versions/A/Resources/symbolicatecrash ~/Desktop/Crash/Crash.crash ~/Desktop/Crash/MyApp.app.dSYM
Couldnt find any DTDeviceKitBase.framework
4) atos -arch armv7 -o ~/Desktop/Crash/MyApp.app/MyAppName 0x00000001001de44c 0x1000d0000 + 1107020
Got log, but not showing excat issue.
Just to verify my step 4 result is correct or not, I treid making crash by simply writing below code
NSArray *arr = [NSArray arrayWithObjects:#"1", #"2", nil];
NSLog(#"Here - %#", [arr objectAtIndex:5]);
But, after symbolicating crash log using step 4, Its shows [classname functionName] of some different class only. This makes me think that the symbolicated log of step 4 is not correct.
Edit 1: Adding crash log
Incident Identifier: 6D576A5F-78D7-4A34-AAE5-3B8609ADAD7B
CrashReporter Key: fe1ade9551d87ac16f28d2305f8b4a4aabbdc406
Hardware Model: iPhone4,1
Process: MyApp [8388]
Path: /private/var/mobile/Containers/Bundle/Application/C02A9603-CB14-467C-B97B-1E5C18615DB2/MyApp.app/MyApp
Identifier: com.MyAppapp.MyAppIdentifier
Version: 1.1.2 (1.1.2)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-11-17 10:30:21.105 +0530
Launch Time: 2015-11-17 10:30:11.610 +0530
OS Version: iOS 8.1 (12B411)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x2253fd62 0x22438000 + 1080674
1 libobjc.A.dylib 0x2fd9ec72 0x2fd98000 + 27762
2 CoreFoundation 0x22454202 0x22438000 + 115202
3 MyApp 0x000fcee4 0x17000 + 941796
4 UIKit 0x259e4700 0x259d5000 + 63232
5 UIKit 0x25a8e5a0 0x259d5000 + 759200
6 UIKit 0x25a8e4c8 0x259d5000 + 758984
7 UIKit 0x25a8da4c 0x259d5000 + 756300
8 UIKit 0x25a8d786 0x259d5000 + 755590
9 UIKit 0x25a8d4ec 0x259d5000 + 754924
10 UIKit 0x25a8d484 0x259d5000 + 754820
11 UIKit 0x259e1c1a 0x259d5000 + 52250
12 QuartzCore 0x2540cf60 0x25400000 + 53088
13 QuartzCore 0x2540894c 0x25400000 + 35148
14 QuartzCore 0x254087d4 0x25400000 + 34772
15 QuartzCore 0x254081c2 0x25400000 + 33218
16 QuartzCore 0x25407fcc 0x25400000 + 32716
17 UIKit 0x259da064 0x259d5000 + 20580
18 CoreFoundation 0x22506620 0x22438000 + 845344
19 CoreFoundation 0x22503d04 0x22438000 + 834820
20 CoreFoundation 0x22504106 0x22438000 + 835846
21 CoreFoundation 0x2245197c 0x22438000 + 104828
22 CoreFoundation 0x2245178e 0x22438000 + 104334
23 GraphicsServices 0x2982a04c 0x29821000 + 36940
24 UIKit 0x25a4397c 0x259d5000 + 452988
25 MyApp 0x001dd5e8 0x17000 + 1861096
26 libdyld.dylib 0x3033aaaa 0x30339000 + 6826
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x303ffdfc 0x303eb000 + 85500
1 libsystem_pthread.dylib 0x3047fd0e 0x3047c000 + 15630
2 libsystem_c.dylib 0x3039f934 0x30356000 + 301364
3 libc++abi.dylib 0x2f5abbb8 0x2f5ab000 + 3000
4 libc++abi.dylib 0x2f5c566a 0x2f5ab000 + 108138
5 libobjc.A.dylib 0x2fd9ef0e 0x2fd98000 + 28430
6 libc++abi.dylib 0x2f5c2dec 0x2f5ab000 + 97772
7 libc++abi.dylib 0x2f5c28b4 0x2f5ab000 + 96436
8 libobjc.A.dylib 0x2fd9edba 0x2fd98000 + 28090
9 CoreFoundation 0x22451a18 0x22438000 + 104984
10 CoreFoundation 0x2245178e 0x22438000 + 104334
11 GraphicsServices 0x2982a04c 0x29821000 + 36940
12 UIKit 0x25a4397c 0x259d5000 + 452988
13 MyApp 0x001dd5e8 0x17000 + 1861096
14 libdyld.dylib 0x3033aaac 0x30339000 + 6828
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x303ec2c8 0x303eb000 + 4808
1 libdispatch.dylib 0x3030ee44 0x302fd000 + 73284
2 libdispatch.dylib 0x3030eb76 0x302fd000 + 72566
Thread 2:
0 libsystem_kernel.dylib 0x304009cc 0x303eb000 + 88524
1 libsystem_pthread.dylib 0x3047ce9c 0x3047c000 + 3740
2 libsystem_pthread.dylib 0x3047cb74 0x3047c000 + 2932
Thread 3 name: Dispatch queue: com.apple.NSURLConnection
Thread 3:
0 libsystem_kernel.dylib 0x303ffb38 0x303eb000 + 84792
1 libsystem_pthread.dylib 0x3047e3dc 0x3047c000 + 9180
2 libsystem_pthread.dylib 0x3047f2ac 0x3047c000 + 12972
3 Foundation 0x2323aaa6 0x23181000 + 760486
4 CFNetwork 0x22098ffa 0x21f8a000 + 1110010
5 CFNetwork 0x220990ec 0x21f8a000 + 1110252
6 CFNetwork 0x22086ebe 0x21f8a000 + 1035966
7 CFNetwork 0x2204c7bc 0x21f8a000 + 796604
8 CFNetwork 0x2204a8c2 0x21f8a000 + 788674
9 CFNetwork 0x2208d1f4 0x21f8a000 + 1061364
10 libdispatch.dylib 0x302ff420 0x302fd000 + 9248
11 libdispatch.dylib 0x303095d4 0x302fd000 + 50644
12 libdispatch.dylib 0x303090a4 0x302fd000 + 49316
13 libdispatch.dylib 0x3030b0d0 0x302fd000 + 57552
14 libdispatch.dylib 0x3030c1f6 0x302fd000 + 61942
15 libsystem_pthread.dylib 0x3047ce22 0x3047c000 + 3618
16 libsystem_pthread.dylib 0x3047cb74 0x3047c000 + 2932
Thread 4:
0 libsystem_kernel.dylib 0x304009cc 0x303eb000 + 88524
1 libsystem_pthread.dylib 0x3047ce9c 0x3047c000 + 3740
2 libsystem_pthread.dylib 0x3047cb74 0x3047c000 + 2932
Thread 5:
0 libsystem_kernel.dylib 0x304009cc 0x303eb000 + 88524
1 libsystem_pthread.dylib 0x3047ce9c 0x3047c000 + 3740
2 libsystem_pthread.dylib 0x3047cb74 0x3047c000 + 2932
Thread 6:
0 libsystem_kernel.dylib 0x304009cc 0x303eb000 + 88524
1 libsystem_pthread.dylib 0x3047ce9c 0x3047c000 + 3740
2 libsystem_pthread.dylib 0x3047cb74 0x3047c000 + 2932
Thread 7 name: Dispatch queue: com.apple.NSURLConnection
Thread 7:
0 libsystem_kernel.dylib 0x303ffb38 0x303eb000 + 84792
1 libsystem_pthread.dylib 0x3047e3dc 0x3047c000 + 9180
2 libsystem_pthread.dylib 0x3047f2ac 0x3047c000 + 12972
3 Foundation 0x2323aaa6 0x23181000 + 760486
4 CFNetwork 0x22098ffa 0x21f8a000 + 1110010
5 CFNetwork 0x220990ec 0x21f8a000 + 1110252
6 CFNetwork 0x22086ebe 0x21f8a000 + 1035966
7 CFNetwork 0x2204c7bc 0x21f8a000 + 796604
8 CFNetwork 0x2204a8c2 0x21f8a000 + 788674
9 CFNetwork 0x2208d1f4 0x21f8a000 + 1061364
10 libdispatch.dylib 0x302ff420 0x302fd000 + 9248
11 libdispatch.dylib 0x303095d4 0x302fd000 + 50644
12 libdispatch.dylib 0x303090a4 0x302fd000 + 49316
13 libdispatch.dylib 0x3030b0d0 0x302fd000 + 57552
14 libdispatch.dylib 0x3030c1f6 0x302fd000 + 61942
15 libsystem_pthread.dylib 0x3047ce22 0x3047c000 + 3618
16 libsystem_pthread.dylib 0x3047cb74 0x3047c000 + 2932
Thread 8 name: com.apple.NSURLConnectionLoader
Thread 8:
0 libsystem_kernel.dylib 0x303ec518 0x303eb000 + 5400
1 libsystem_kernel.dylib 0x303ec30c 0x303eb000 + 4876
2 CoreFoundation 0x22505ba6 0x22438000 + 842662
3 CoreFoundation 0x2250416c 0x22438000 + 835948
4 CoreFoundation 0x2245197c 0x22438000 + 104828
5 CoreFoundation 0x2245178e 0x22438000 + 104334
6 CFNetwork 0x220069da 0x21f8a000 + 510426
7 Foundation 0x23251996 0x23181000 + 854422
8 libsystem_pthread.dylib 0x3047ee64 0x3047c000 + 11876
9 libsystem_pthread.dylib 0x3047edd6 0x3047c000 + 11734
10 libsystem_pthread.dylib 0x3047cb80 0x3047c000 + 2944
Thread 9 name: com.apple.CFSocket.private
Thread 9:
0 libsystem_kernel.dylib 0x3040008c 0x303eb000 + 86156
1 CoreFoundation 0x2250a32e 0x22438000 + 860974
2 libsystem_pthread.dylib 0x3047ee64 0x3047c000 + 11876
3 libsystem_pthread.dylib 0x3047edd6 0x3047c000 + 11734
4 libsystem_pthread.dylib 0x3047cb80 0x3047c000 + 2944
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00000003
r4: 0x00000006 r5: 0x32b0e9dc r6: 0x32afa840 r7: 0x01192418
r8: 0x15716080 r9: 0x7420666f r10: 0x32af9074 r11: 0x157160a4
ip: 0x00000148 sp: 0x0119240c lr: 0x3047fd13 pc: 0x303ffdfc
cpsr: 0x00000010
Any helps.
Thanks

Related

NSError is nil but goes into not nil condition

I have code like this in my app, which works fine with development profile. But with AdHoc provisioning profile my app is crashing when i try to print error. According to logs there should not be any error and it should be nil. but i have no idea why it is satisfying the if condition and if it is satisfying the condition then why its crashing if i try to print error. Plus this code is working fine with development profile. This issue is only with AdHoc profile. -
func initializedWithCredentials( credentials: GTICredentials!, error: NSError ) {
// Check to see if initialization was successful. With log i can see that initialization was successful only so there should not be any error
if let error = error as NSError? {
// Handle error
NSLog("Error : \(error)") // App Crashes
}else{
// Success so do something
}
}
Below is the device log -
Incident Identifier: 17FD2BD0-4FA5-492B-891C-2EC066EAFC41
CrashReporter Key: 0fd3245f5726c1a1a90046a6629d5ccc9ebf39dd
Hardware Model: iPhone4,1
Process: VidurOnMobile [2160]
Path: /private/var/mobile/Containers/Bundle/Application/A945905D-C112-4E96-9124-775F4590E5FB/VidurOnMobile.app/VidurOnMobile
Identifier: com.ibm.cio.be.iphone.VidurOnMobile
Version: 1 (1.0)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-09-22 22:25:45.149 +0530
Launch Time: 2015-09-22 22:25:01.041 +0530
OS Version: iOS 8.4.1 (12H321)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 CoreFoundation 0x2a8bf0d6 0x2a89c000 + 143574
1 libswiftCore.dylib 0x00962960 0x886000 + 903520
2 libswiftCore.dylib 0x00943160 0x886000 + 774496
3 VidurOnMobile 0x00107728 0xea000 + 120616
4 VidurOnMobile 0x00109df8 0xea000 + 130552
5 libdispatch.dylib 0x393c9c80 0x393c8000 + 7296
6 libdispatch.dylib 0x393c9c6c 0x393c8000 + 7276
7 libdispatch.dylib 0x393d554e 0x393c8000 + 54606
8 CoreFoundation 0x2a96c664 0x2a89c000 + 853604
9 CoreFoundation 0x2a96ad84 0x2a89c000 + 847236
10 CoreFoundation 0x2a8b66cc 0x2a89c000 + 108236
11 CoreFoundation 0x2a8b64de 0x2a89c000 + 107742
12 GraphicsServices 0x3227b1a4 0x32272000 + 37284
13 UIKit 0x2e068440 0x2dff9000 + 455744
14 VidurOnMobile 0x000fa62e 0xea000 + 67118
15 libdyld.dylib 0x39407aac 0x39406000 + 6828
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x394ba24c 0x394b9000 + 4684
1 libdispatch.dylib 0x393da4ec 0x393c8000 + 74988
2 libdispatch.dylib 0x393da21e 0x393c8000 + 74270
Thread 2:
0 libsystem_kernel.dylib 0x394ce9c0 0x394b9000 + 88512
1 libsystem_pthread.dylib 0x3954be14 0x3954b000 + 3604
2 libsystem_pthread.dylib 0x3954baec 0x3954b000 + 2796
Thread 3 name: Dispatch queue: com.apple.root.default-qos.overcommit
Thread 3:
0 CoreFoundation 0x2a8aa348 0x2a89c000 + 58184
1 CoreFoundation 0x2a9dbc2c 0x2a89c000 + 1309740
2 CoreFoundation 0x2a8aa344 0x2a89c000 + 58180
3 libobjc.A.dylib 0x38e541a4 0x38e33000 + 135588
4 libdispatch.dylib 0x393d69b4 0x393c8000 + 59828
5 libdispatch.dylib 0x393d789e 0x393c8000 + 63646
6 libsystem_pthread.dylib 0x3954bd9a 0x3954b000 + 3482
7 libsystem_pthread.dylib 0x3954baec 0x3954b000 + 2796
Thread 4:
0 libsystem_kernel.dylib 0x394ce9c0 0x394b9000 + 88512
1 libsystem_pthread.dylib 0x3954be14 0x3954b000 + 3604
2 libsystem_pthread.dylib 0x3954baec 0x3954b000 + 2796
Thread 5 name: Dispatch queue: com.apple.CFNetwork.addPersistCacheToStorageDaemon
Thread 5:
0 libsystem_kernel.dylib 0x394ba49c 0x394b9000 + 5276
1 libsystem_kernel.dylib 0x394ba290 0x394b9000 + 4752
2 libdispatch.dylib 0x393dae1a 0x393c8000 + 77338
3 libdispatch.dylib 0x393dab46 0x393c8000 + 76614
4 libxpc.dylib 0x39560ea6 0x39560000 + 3750
5 Foundation 0x2b7a98fa 0x2b617000 + 1648890
6 Foundation 0x2b7a8f6e 0x2b617000 + 1646446
7 Foundation 0x2b62abea 0x2b617000 + 80874
8 CoreFoundation 0x2a9aa30c 0x2a89c000 + 1106700
9 CoreFoundation 0x2a8d9704 0x2a89c000 + 251652
10 CFNetwork 0x2a462e98 0x2a3d4000 + 585368
11 CFNetwork 0x2a43179c 0x2a3d4000 + 382876
12 libdispatch.dylib 0x393c9c80 0x393c8000 + 7296
13 libdispatch.dylib 0x393d44ce 0x393c8000 + 50382
14 libdispatch.dylib 0x393d3d9c 0x393c8000 + 48540
15 libdispatch.dylib 0x393d648e 0x393c8000 + 58510
16 libdispatch.dylib 0x393d789e 0x393c8000 + 63646
17 libsystem_pthread.dylib 0x3954bd9a 0x3954b000 + 3482
18 libsystem_pthread.dylib 0x3954baec 0x3954b000 + 2796
Thread 6 name: WebThread
Thread 6:
0 libsystem_kernel.dylib 0x394ba49c 0x394b9000 + 5276
1 libsystem_kernel.dylib 0x394ba290 0x394b9000 + 4752
2 CoreFoundation 0x2a96c5ce 0x2a89c000 + 853454
3 CoreFoundation 0x2a96ab94 0x2a89c000 + 846740
4 CoreFoundation 0x2a8b66cc 0x2a89c000 + 108236
5 CoreFoundation 0x2a8b64de 0x2a89c000 + 107742
6 WebCore 0x36723d2c 0x366a2000 + 531756
7 libsystem_pthread.dylib 0x3954dddc 0x3954b000 + 11740
8 libsystem_pthread.dylib 0x3954dd4e 0x3954b000 + 11598
9 libsystem_pthread.dylib 0x3954baf8 0x3954b000 + 2808
Thread 7 name: JavaScriptCore::BlockFree
Thread 7:
0 libsystem_kernel.dylib 0x394cdb2c 0x394b9000 + 84780
1 libsystem_pthread.dylib 0x3954d354 0x3954b000 + 9044
2 libsystem_pthread.dylib 0x3954e224 0x3954b000 + 12836
3 libc++.1.dylib 0x38600fa4 0x385fb000 + 24484
4 JavaScriptCore 0x2bbd3206 0x2bbbe000 + 86534
5 JavaScriptCore 0x2bbcf6bc 0x2bbbe000 + 71356
6 libsystem_pthread.dylib 0x3954dddc 0x3954b000 + 11740
7 libsystem_pthread.dylib 0x3954dd4e 0x3954b000 + 11598
8 libsystem_pthread.dylib 0x3954baf8 0x3954b000 + 2808
Thread 8 name: JavaScriptCore::Marking
Thread 8:
0 libsystem_kernel.dylib 0x394cdb2c 0x394b9000 + 84780
1 libsystem_pthread.dylib 0x3954d354 0x3954b000 + 9044
2 libsystem_pthread.dylib 0x3954e224 0x3954b000 + 12836
3 libc++.1.dylib 0x38600fa4 0x385fb000 + 24484
4 JavaScriptCore 0x2bd98140 0x2bbbe000 + 1941824
5 JavaScriptCore 0x2bd981a4 0x2bbbe000 + 1941924
6 JavaScriptCore 0x2bbcf6bc 0x2bbbe000 + 71356
7 libsystem_pthread.dylib 0x3954dddc 0x3954b000 + 11740
8 libsystem_pthread.dylib 0x3954dd4e 0x3954b000 + 11598
9 libsystem_pthread.dylib 0x3954baf8 0x3954b000 + 2808
Thread 9 name: com.apple.NSURLConnectionLoader
Thread 9:
0 libsystem_kernel.dylib 0x394ba49c 0x394b9000 + 5276
1 libsystem_kernel.dylib 0x394ba290 0x394b9000 + 4752
2 CoreFoundation 0x2a96c5ce 0x2a89c000 + 853454
3 CoreFoundation 0x2a96ab94 0x2a89c000 + 846740
4 CoreFoundation 0x2a8b66cc 0x2a89c000 + 108236
5 CoreFoundation 0x2a8b64de 0x2a89c000 + 107742
6 CFNetwork 0x2a451422 0x2a3d4000 + 513058
7 Foundation 0x2b6e7186 0x2b617000 + 852358
8 libsystem_pthread.dylib 0x3954dddc 0x3954b000 + 11740
9 libsystem_pthread.dylib 0x3954dd4e 0x3954b000 + 11598
10 libsystem_pthread.dylib 0x3954baf8 0x3954b000 + 2808
Thread 10:
0 libsystem_kernel.dylib 0x394ce9c0 0x394b9000 + 88512
1 libsystem_pthread.dylib 0x3954be14 0x3954b000 + 3604
2 libsystem_pthread.dylib 0x3954baec 0x3954b000 + 2796
Thread 11:
0 libsystem_kernel.dylib 0x394ce9c0 0x394b9000 + 88512
1 libsystem_pthread.dylib 0x3954be14 0x3954b000 + 3604
2 libsystem_pthread.dylib 0x3954baec 0x3954b000 + 2796
Thread 12 name: com.apple.CFSocket.private
Thread 12:
0 libsystem_kernel.dylib 0x394ce080 0x394b9000 + 86144
1 CoreFoundation 0x2a970d80 0x2a89c000 + 871808
2 libsystem_pthread.dylib 0x3954dddc 0x3954b000 + 11740
3 libsystem_pthread.dylib 0x3954dd4e 0x3954b000 + 11598
4 libsystem_pthread.dylib 0x3954baf8 0x3954b000 + 2808
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00000004
r4: 0x00000000 r5: 0x00000000 r6: 0x00d416c0 r7: 0x00884c44
r8: 0x1768cf00 r9: 0x175b8774 r10: 0x00884cf0 r11: 0x3bded0e0
ip: 0x0068c2e0 sp: 0x00884c18 lr: 0x00962964 pc: 0x2a8bf0d6
cpsr: 0x60000030
Error cannot ever be nil if the definition of function is error: NSError. If the error could be nil, it should be defined as error: NSError?. Otherwise there is no point of trying unwrap non-optional value. It should look like this:
func initializedWithCredentials(credentials: GTICredentials!, error: NSError? ) {
if let error = error {
// Handle error
NSLog("Error : \(error)")
} else {
// Success so do something
}
}
Even better, you should avoid nesting if conditions
func initializedWithCredentials(credentials: GTICredentials!, error: NSError? ) {
if let error = error {
// Handle error
NSLog("Error : \(error)")
return
}
// Success so do something
}

Crash Log symbolication IOS 8.1.2 in xcode 6.1?

I tried to rectify the crash using the crash report under "Windows->Devices->View Device Logs", but the crash log is full of numbers. I tried Re-Symbolicate option, but there is no change. "Exceptional Codes" data is also missing in the report. I'm using single Mac System to run the project and view the crash reports.So there should not be any problem about symbolification Any other way to symbolicate ?
Identifier: com.company.app
Version: 2.1 (2.1)
Code Type: ARM (Native)
Parent Process: debugserver [227]
Date/Time: 2015-02-23 11:37:37.379 +0530
Launch Time: 2015-02-23 11:29:40.850 +0530
OS Version: iOS 8.1.2 (12B440)
Report Version: 105
Exception Type: EXC_RESOURCE
Exception Subtype: WAKEUPS
Exception Message: (Limit 150/sec) Observed 298/sec over 300 secs
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Attributed:
0 libsystem_kernel.dylib 0x39ec04f0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ec02e4 mach_msg + 36
2 IOKit 0x2cbfcb72 0x2cbbb000 + 269170
3 IOKit 0x2cbbfe1e 0x2cbbb000 + 19998
4 IOKit 0x2cbbffc2 0x2cbbb000 + 20418
5 IOAccelerator 0x33491646 0x33490000 + 5702
6 libGPUSupportMercury.dylib 0x329813b2 0x3297f000 + 9138
7 IMGSGX554GLDriver 0x2a61240e 0x2a60f000 + 13326
8 libglInterpose.dylib 0x007cfdea 0x695000 + 1289706
9 AppName 0x00195c72 0x98000 + 1039474
10 AppName 0x00172356 0x98000 + 893782
11 libglInterpose.dylib 0x0085317e 0x695000 + 1827198
12 QuartzCore 0x2ebcf7fe 0x2eb75000 + 370686
13 QuartzCore 0x2ebcf666 0x2eb75000 + 370278
14 IOMobileFramebuffer 0x3349b828 0x33496000 + 22568
15 IOKit 0x2cbbf4de 0x2cbbb000 + 17630
16 CoreFoundation 0x2bc4f0a2 0x2bb93000 + 770210
17 CoreFoundation 0x2bc5f570 0x2bb93000 + 836976
18 CoreFoundation 0x2bc5f50a 0x2bb93000 + 836874
19 CoreFoundation 0x2bc5db0c 0x2bb93000 + 830220
20 CoreFoundation 0x2bbab3bc CFRunLoopRunSpecific + 472
21 CoreFoundation 0x2bbab1ce CFRunLoopRunInMode + 102
22 GraphicsServices 0x32f8f0a4 0x32f86000 + 37028
23 UIKit 0x2f1baf9c 0x2f14d000 + 450460
24 AppName 0x0015f0c2 0x98000 + 815298
25 libdyld.dylib 0x39e0daac 0x39e0c000 + 6828
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x39ec02a0 kevent64 + 24
1 libdispatch.dylib 0x008ef674 0x8e1000 + 58996
2 libdispatch.dylib 0x008e4496 0x8e1000 + 13462
Thread 2 name: gputools.smt_poll.0x15588960
Thread 2:
0 libsystem_kernel.dylib 0x39ed419c __semwait_signal + 24
1 libsystem_c.dylib 0x39e33a6c nanosleep + 168
2 libsystem_c.dylib 0x39e339bc usleep + 48
3 GPUToolsCore 0x0092cff4 0x924000 + 36852
4 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
5 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
6 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 3 name: GAIThread
Thread 3:
0 libsystem_kernel.dylib 0x39ec04f0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ec02e4 mach_msg + 36
2 CoreFoundation 0x2bc5f316 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2bc5d8bc __CFRunLoopRun + 1012
4 CoreFoundation 0x2bbab3bc CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2bbab1ce CFRunLoopRunInMode + 102
6 Foundation 0x2c8e4bf8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 260
7 Foundation 0x2c9330b8 -[NSRunLoop(NSRunLoop) run] + 76
8 AppName 0x00218354 0x98000 + 1573716
9 Foundation 0x2c9a9b56 __NSThread__main__ + 1114
10 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
11 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
12 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 4 name: AVAudioSession Notify Thread
Thread 4:
0 libsystem_kernel.dylib 0x39ec04f0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ec02e4 mach_msg + 36
2 CoreFoundation 0x2bc5f316 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2bc5d8bc __CFRunLoopRun + 1012
4 CoreFoundation 0x2bbab3bc CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2bbab1ce CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x2a8b53ea GenericRunLoopThread::Entry(void*) + 130
7 libAVFAudio.dylib 0x2a8a7908 CAPThread::Entry(CAPThread*) + 192
8 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
9 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
10 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 5 name: com.apple.coremedia.player.async
Thread 5:
0 libsystem_kernel.dylib 0x39ec0540 semaphore_wait_trap + 8
1 libdispatch.dylib 0x008edaaa 0x8e1000 + 51882
2 MediaToolbox 0x2d667ff6 fpa_AsyncMovieControlThread + 1962
3 CoreMedia 0x2c402d10 figThreadMain + 184
4 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
5 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
6 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 6 name: com.apple.coremedia.player.remote
Thread 6:
0 libsystem_kernel.dylib 0x39ec04f0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ec02e4 mach_msg + 36
2 MediaToolbox 0x2d66d0dc FigExpressNotificationThread + 84
3 CoreMedia 0x2c402d10 figThreadMain + 184
4 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
5 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
6 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x39ec04f0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ec02e4 mach_msg + 36
2 CoreFoundation 0x2bc5f316 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2bc5d8bc __CFRunLoopRun + 1012
4 CoreFoundation 0x2bbab3bc CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2bbf40e6 CFRunLoopRun + 94
6 CoreMotion 0x2c4aee9a 0x2c46f000 + 261786
7 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
8 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
9 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 8 name: com.apple.NSURLConnectionLoader
Thread 8:
0 libsystem_kernel.dylib 0x39ec04f0 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39ec02e4 mach_msg + 36
2 CoreFoundation 0x2bc5f316 __CFRunLoopServiceMachPort + 142
3 CoreFoundation 0x2bc5d8bc __CFRunLoopRun + 1012
4 CoreFoundation 0x2bbab3bc CFRunLoopRunSpecific + 472
5 CoreFoundation 0x2bbab1ce CFRunLoopRunInMode + 102
6 CFNetwork 0x2b760952 +[NSURLConnection(Loader) _resourceLoadLoop:] + 482
7 Foundation 0x2c9a9b56 __NSThread__main__ + 1114
8 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
9 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
10 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 9 name: com.apple.CFSocket.private
Thread 9:
0 libsystem_kernel.dylib 0x39ed408c __select + 20
1 CoreFoundation 0x2bc63ae2 __CFSocketManager + 494
2 libsystem_pthread.dylib 0x39f50e90 _pthread_body + 136
3 libsystem_pthread.dylib 0x39f50e02 _pthread_start + 114
4 libsystem_pthread.dylib 0x39f4eb8c thread_start + 4
Thread 10:
0 libsystem_kernel.dylib 0x39ed49cc __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x39f4eea8 _pthread_wqthread + 788
2 libsystem_pthread.dylib 0x39f4eb80 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000003 r2: 0x000000dc r3: 0x000010bc
r4: 0x0000cf3b r5: 0x00000000 r6: 0x00000000 r7: 0x006745f8
r8: 0x00000000 r9: 0x00000000 r10: 0x00000003 r11: 0x00000003
ip: 0xffffffe1 sp: 0x006745bc lr: 0x39ec02e9 pc: 0x39ec04f0
cpsr: 0x00080010
Bad magic 0x2BBAB1D3
Microstackshots: 1 (from 2147483647-08-23 07:00:00 +0530 to 2147483647-08-23 07:00:00 +0530)
1 ??? [0x677868]
1 CoreFoundation 0x2bb93000 + 829633 [0x2bc5d8c1]
1 ??? [0x676bd0]
1 CoreFoundation 0x2bb93000 + 836379 [0x2bc5f31b]
1 ??? [0x676b90]
1 libsystem_kernel.dylib 0x39ebf000 + 4841 [0x39ec02e9]
1 ??? [0x676b54]
1 libsystem_kernel.dylib 0x39ebf000 + 5360 [0x39ec04f0]
*1 ??? [0x80012f3d]
Binary Images:
0x98000 - 0x2cffff AppName armv7 <f7d35a1c655d3510b2e82a4f84a1cec1> /var/mobile/Containers/Bundle/Application/0107CC0F-E58F-4410-99CF-342284A7BBC9/AppName.app/AppName
0x678000 - 0x67ffff libBacktraceRecording.dylib armv7s
You could integrate some api for crash report. use the fabric.io api.
Thanks

How to find the error from crash report?

i have device logs crash report from iphone 5.how to find the error from my crash report.i am searched most of the link to understand my crash report but please clarify me where i get crash. i am not got any crash in simulator.
here my crash report...
Incident Identifier: 92DD66DF-03A4-4D63-8501-357BE4951127
CrashReporter Key: beed3fd2c135f7021a2706a3c7f08e4bce8cec90
Hardware Model: iPhone5,2
Process: CR [540]
Path: /private/var/mobile/Containers/Bundle/Application/A5CA78DF-FC16-44F9-AF84-B3E7ABF8B382/CR.app/CR
Identifier: com.CR.A2
Version: 1 (1.0)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-01-21 18:57:29.212 +0400
Launch Time: 2015-01-21 18:57:16.384 +0400
OS Version: iOS 8.1.2 (12B440)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 5
Last Exception Backtrace:
(0x26ab549a 0x3426bc86 0x26ab5370 0x27786d7a 0x29f9f242 0x29f9f86a 0x29f9959e 0x2a45df88 0x2a0ea2d2 0x2a258a3e 0x2a259a76 0x2a25b582 0x2a057ada 0xab6e4 0x347cb7b6 0x347d4da6 0x347d5cd2 0x3492ce2c 0x3492cb80)
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x3489e4f0 0x3489d000 + 5360
1 libsystem_kernel.dylib 0x3489e2e4 0x3489d000 + 4836
2 CoreFoundation 0x26a7b316 0x269af000 + 836374
3 CoreFoundation 0x26a798bc 0x269af000 + 829628
4 CoreFoundation 0x269c73bc 0x269af000 + 99260
5 CoreFoundation 0x269c71ce 0x269af000 + 98766
6 GraphicsServices 0x2ddc50a4 0x2ddbc000 + 37028
7 UIKit 0x29fd6f9c 0x29f69000 + 450460
8 CR 0x000bbff6 0xa5000 + 94198
9 libdyld.dylib 0x347ebaac 0x347ea000 + 6828
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3489e2a0 0x3489d000 + 4768
1 libdispatch.dylib 0x347d79fc 0x347ca000 + 55804
2 libdispatch.dylib 0x347cd20e 0x347ca000 + 12814
Thread 2:
0 libsystem_kernel.dylib 0x348b29cc 0x3489d000 + 88524
1 libsystem_pthread.dylib 0x3492cea8 0x3492c000 + 3752
2 libsystem_pthread.dylib 0x3492cb80 0x3492c000 + 2944
Thread 3:
0 libsystem_kernel.dylib 0x348b29cc 0x3489d000 + 88524
1 libsystem_pthread.dylib 0x3492cea8 0x3492c000 + 3752
2 libsystem_pthread.dylib 0x3492cb80 0x3492c000 + 2944
Thread 4:
0 libsystem_kernel.dylib 0x348b29cc 0x3489d000 + 88524
1 libsystem_pthread.dylib 0x3492cea8 0x3492c000 + 3752
2 libsystem_pthread.dylib 0x3492cb80 0x3492c000 + 2944
Thread 5 name: Dispatch queue: com.apple.root.background-qos
Thread 5 Crashed:
0 libsystem_kernel.dylib 0x348b1dfc 0x3489d000 + 85500
1 libsystem_pthread.dylib 0x3492fd32 0x3492c000 + 15666
2 libsystem_c.dylib 0x34851904 0x34807000 + 305412
3 libc++abi.dylib 0x33b8f9c4 0x33b8f000 + 2500
4 libc++abi.dylib 0x33ba966c 0x33b8f000 + 108140
5 libobjc.A.dylib 0x3426bf22 0x34265000 + 28450
6 libc++abi.dylib 0x33ba6de0 0x33b8f000 + 97760
7 libc++abi.dylib 0x33ba65a4 0x33b8f000 + 95652
8 libobjc.A.dylib 0x3426bd5a 0x34265000 + 27994
9 CoreFoundation 0x26ab5370 0x269af000 + 1074032
10 Foundation 0x27786d7a 0x276f5000 + 597370
11 UIKit 0x29f9f242 0x29f69000 + 221762
12 UIKit 0x29f9f86a 0x29f69000 + 223338
13 UIKit 0x29f9959e 0x29f69000 + 198046
14 UIKit 0x2a45df88 0x29f69000 + 5197704
15 UIKit 0x2a0ea2d2 0x29f69000 + 1577682
16 UIKit 0x2a258a3e 0x29f69000 + 3078718
17 UIKit 0x2a259a76 0x29f69000 + 3082870
18 UIKit 0x2a25b582 0x29f69000 + 3089794
19 UIKit 0x2a057ada 0x29f69000 + 977626
20 CR 0x000ab6e4 0xa5000 + 26340
21 libdispatch.dylib 0x347cb7b8 0x347ca000 + 6072
22 libdispatch.dylib 0x347d4da6 0x347ca000 + 44454
23 libdispatch.dylib 0x347d5cd2 0x347ca000 + 48338
24 libsystem_pthread.dylib 0x3492ce2e 0x3492c000 + 3630
25 libsystem_pthread.dylib 0x3492cb80 0x3492c000 + 2944
Thread 6:
0 libsystem_kernel.dylib 0x348b29cc 0x3489d000 + 88524
1 libsystem_pthread.dylib 0x3492cea8 0x3492c000 + 3752
2 libsystem_pthread.dylib 0x3492cb80 0x3492c000 + 2944
Thread 7 name: com.apple.NSURLConnectionLoader
Thread 7:
0 libsystem_kernel.dylib 0x3489e4f0 0x3489d000 + 5360
1 libsystem_kernel.dylib 0x3489e2e4 0x3489d000 + 4836
2 CoreFoundation 0x26a7b316 0x269af000 + 836374
3 CoreFoundation 0x26a798bc 0x269af000 + 829628
4 CoreFoundation 0x269c73bc 0x269af000 + 99260
5 CoreFoundation 0x269c71ce 0x269af000 + 98766
6 CFNetwork 0x2657c952 0x26500000 + 510290
7 Foundation 0x277c5b56 0x276f5000 + 854870
8 libsystem_pthread.dylib 0x3492ee90 0x3492c000 + 11920
9 libsystem_pthread.dylib 0x3492ee02 0x3492c000 + 11778
10 libsystem_pthread.dylib 0x3492cb8c 0x3492c000 + 2956
Thread 8 name: com.apple.CFSocket.private
Thread 8:
0 libsystem_kernel.dylib 0x348b208c 0x3489d000 + 86156
1 CoreFoundation 0x26a7fae2 0x269af000 + 854754
2 libsystem_pthread.dylib 0x3492ee90 0x3492c000 + 11920
3 libsystem_pthread.dylib 0x3492ee02 0x3492c000 + 11778
4 libsystem_pthread.dylib 0x3492cb8c 0x3492c000 + 2956
Thread 5 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00000003
r4: 0x00000006 r5: 0x026d0000 r6: 0x36f68840 r7: 0x026ced78
r8: 0x146b14a0 r9: 0x00000000 r10: 0x14655bf0 r11: 0x146b14c4
ip: 0x00000148 sp: 0x026ced6c lr: 0x3492fd37 pc: 0x348b1dfc
cpsr: 0x00000010
Thank in advance..
You may dispatch some UI operation in subthread. Make sure operate UI only in main thread. Symbolicating the Crash Report to get more details.
Thread 5 Crashed:
0 libsystem_kernel.dylib 0x348b1dfc 0x3489d000 + 85500
1 libsystem_pthread.dylib 0x3492fd32 0x3492c000 + 15666
2 libsystem_c.dylib 0x34851904 0x34807000 + 305412
3 libc++abi.dylib 0x33b8f9c4 0x33b8f000 + 2500
4 libc++abi.dylib 0x33ba966c 0x33b8f000 + 108140
5 libobjc.A.dylib 0x3426bf22 0x34265000 + 28450
6 libc++abi.dylib 0x33ba6de0 0x33b8f000 + 97760
7 libc++abi.dylib 0x33ba65a4 0x33b8f000 + 95652
8 libobjc.A.dylib 0x3426bd5a 0x34265000 + 27994
9 CoreFoundation 0x26ab5370 0x269af000 + 1074032
10 Foundation 0x27786d7a 0x276f5000 + 597370
11 UIKit 0x29f9f242 0x29f69000 + 221762
12 UIKit 0x29f9f86a 0x29f69000 + 223338
13 UIKit 0x29f9959e 0x29f69000 + 198046
14 UIKit 0x2a45df88 0x29f69000 + 5197704
15 UIKit 0x2a0ea2d2 0x29f69000 + 1577682
16 UIKit 0x2a258a3e 0x29f69000 + 3078718
17 UIKit 0x2a259a76 0x29f69000 + 3082870
18 UIKit 0x2a25b582 0x29f69000 + 3089794
19 UIKit 0x2a057ada 0x29f69000 + 977626
20 CR 0x000ab6e4 0xa5000 + 26340 // symbol and check this line
21 libdispatch.dylib 0x347cb7b8 0x347ca000 + 6072
22 libdispatch.dylib 0x347d4da6 0x347ca000 + 44454
23 libdispatch.dylib 0x347d5cd2 0x347ca000 + 48338
24 libsystem_pthread.dylib 0x3492ce2e 0x3492c000 + 3630
25 libsystem_pthread.dylib 0x3492cb80 0x3492c000 + 2944

ShareKit Crash on Facebook direct sharing

I'm using ShareKit to share an item to Facebook and Twitter using this code
SHKItem *item = [SHKItem image:imageToShare title:textToShare];
NSLog(#"Sharing to facebook...");
SHKFacebook *fbSharer = [SHKFacebook shareItem:item];
[[NSNotificationCenter defaultCenter] addObserver:self selector:#selector(showAnotherViewController) name:#"SHKSendDidFinish" object:fbSharer];
Everything works like a charm apart from iPhone 5, where the app crashes. This is the crash report generated:
Incident Identifier: B061FE97-D1AF-4919-8004-05E0AA3BD3E2
CrashReporter Key: 1544990de75429552f6f5f8eba0171523bd8db4b
Hardware Model: iPhone5,2
Process: ADme [2775]
Path: /var/mobile/Applications/D243F9B0-0750-4B67-9380-3D1DCDBA5828/ADme.app/ADme
Identifier: it.xplace.adme
Version: 7 (1.0.7)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-07-22 15:56:42.955 +0200
OS Version: iOS 7.0.6 (11B651)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x2dc65e7e 0x2db91000 + 872062
1 libobjc.A.dylib 0x37fc26c2 0x37fba000 + 34498
2 CoreFoundation 0x2dc65b84 0x2db91000 + 871300
3 ADme 0x0016f542 -[FBSession reauthorizeWithPermissions:isRead:behavior:defaultAudience:completionHandler:] (FBSession.m:1676)
4 ADme 0x0016bf2e -[FBSession requestNewPublishPermissions:defaultAudience:completionHandler:] (FBSession.m:433)
5 ADme 0x001a5734 -[SHKFacebook send] (SHKFacebook.m:410)
6 ADme 0x001ba624 -[SHKSharer tryToSend] (SHKSharer.m:864)
7 ADme 0x001b79ca +[SHKSharer shareItem:] (SHKSharer.m:203)
8 ADme 0x00108b28 -[ASShareNewViewController shareAction:] (ASShareNewViewController.m:110)
9 UIKit 0x3041ed9e 0x303df000 + 261534
10 UIKit 0x3041ed3a 0x303df000 + 261434
11 UIKit 0x3041ed0e 0x303df000 + 261390
12 UIKit 0x3040a73e 0x303df000 + 177982
13 UIKit 0x3041e756 0x303df000 + 259926
14 UIKit 0x3041e420 0x303df000 + 259104
15 UIKit 0x3041944c 0x303df000 + 238668
16 UIKit 0x303eed74 0x303df000 + 64884
17 UIKit 0x303ed564 0x303df000 + 58724
18 CoreFoundation 0x2dc30f1a 0x2db91000 + 655130
19 CoreFoundation 0x2dc303e2 0x2db91000 + 652258
20 CoreFoundation 0x2dc2ebd2 0x2db91000 + 646098
21 CoreFoundation 0x2db9946c 0x2db91000 + 33900
22 CoreFoundation 0x2db9924e 0x2db91000 + 33358
23 GraphicsServices 0x328d32e6 0x328cc000 + 29414
24 UIKit 0x3044e840 0x303df000 + 456768
25 ADme 0x0010c446 main (main.m:16)
26 libdyld.dylib 0x384bbab2 0x384ba000 + 6834
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x385716e4 0x3855f000 + 75492
1 ADme 0x0011ccd4 CLSSignalHandler (CLSSignal.m:305)
2 libsystem_platform.dylib 0x385d4720 0x385d1000 + 14112
3 libsystem_pthread.dylib 0x385d9a4e 0x385d6000 + 14926
4 libsystem_c.dylib 0x38523028 0x384d9000 + 303144
5 libc++abi.dylib 0x3797198a 0x37971000 + 2442
6 libc++abi.dylib 0x3798a6e2 0x37971000 + 104162
7 libobjc.A.dylib 0x37fc2936 0x37fba000 + 35126
8 libc++abi.dylib 0x379881b0 0x37971000 + 94640
9 libc++abi.dylib 0x37987d12 0x37971000 + 93458
10 libobjc.A.dylib 0x37fc280a 0x37fba000 + 34826
11 CoreFoundation 0x2db994e2 0x2db91000 + 34018
12 CoreFoundation 0x2db9924e 0x2db91000 + 33358
13 GraphicsServices 0x328d32e6 0x328cc000 + 29414
14 UIKit 0x3044e840 0x303df000 + 456768
15 ADme 0x0010c446 main (main.m:16)
16 libdyld.dylib 0x384bbab4 0x384ba000 + 6836
Thread 1:
0 libsystem_kernel.dylib 0x3855f838 0x3855f000 + 2104
1 libdispatch.dylib 0x384ae0d0 0x384a6000 + 32976
2 libdispatch.dylib 0x384a861e 0x384a6000 + 9758
Thread 2:
0 libsystem_kernel.dylib 0x38572c7c 0x3855f000 + 81020
1 libsystem_pthread.dylib 0x385d6e06 0x385d6000 + 3590
2 libsystem_pthread.dylib 0x385d6cc0 0x385d6000 + 3264
Thread 3 name: com.crashlytics.MachExceptionServer
Thread 3:
0 libsystem_kernel.dylib 0x3855fa84 0x3855f000 + 2692
1 libsystem_kernel.dylib 0x3855f87c 0x3855f000 + 2172
2 ADme 0x001101e6 CLSMachExceptionServer (CLSMachExceptionInterface.c:179)
3 libsystem_pthread.dylib 0x385d8c5a 0x385d6000 + 11354
4 libsystem_pthread.dylib 0x385d8bca 0x385d6000 + 11210
5 libsystem_pthread.dylib 0x385d6ccc 0x385d6000 + 3276
Thread 4:
0 libsystem_kernel.dylib 0x38572c7c 0x3855f000 + 81020
1 libsystem_pthread.dylib 0x385d6e06 0x385d6000 + 3590
2 libsystem_pthread.dylib 0x385d6cc0 0x385d6000 + 3264
Thread 5:
0 libsystem_malloc.dylib 0x385978a6 0x38597000 + 2214
1 CoreFoundation 0x2db93be2 0x2db91000 + 11234
2 IOKit 0x2e9595f0 0x2e944000 + 87536
3 IOKit 0x2e95b9c0 0x2e944000 + 96704
4 IOKit 0x2e96526c 0x2e944000 + 135788
5 IOKit 0x2e97ae78 0x2e944000 + 224888
6 libdispatch.dylib 0x384a70ac 0x384a6000 + 4268
7 libdispatch.dylib 0x384ab8ee 0x384a6000 + 22766
8 IOKit 0x2e97ae1e 0x2e944000 + 224798
9 IOKit 0x2e965230 0x2e944000 + 135728
10 IOKit 0x2e95f35a 0x2e944000 + 111450
11 CoreFoundation 0x2dc25b7e 0x2db91000 + 609150
12 CoreFoundation 0x2dc30774 0x2db91000 + 653172
13 CoreFoundation 0x2dc3070e 0x2db91000 + 653070
14 CoreFoundation 0x2dc2eeda 0x2db91000 + 646874
15 CoreFoundation 0x2db9946c 0x2db91000 + 33900
16 CoreFoundation 0x2dbdd0d6 0x2db91000 + 311510
17 CoreMotion 0x2e251364 0x2e218000 + 234340
18 libsystem_pthread.dylib 0x385d8c5a 0x385d6000 + 11354
19 libsystem_pthread.dylib 0x385d8bca 0x385d6000 + 11210
20 libsystem_pthread.dylib 0x385d6ccc 0x385d6000 + 3276
Thread 6 name: com.apple.coremedia.player.async
Thread 6:
0 libsystem_kernel.dylib 0x3855fad4 0x3855f000 + 2772
1 libdispatch.dylib 0x384acde0 0x384a6000 + 28128
2 MediaToolbox 0x2f088a0a 0x2f084000 + 18954
3 CoreMedia 0x2e1c5214 0x2e1a0000 + 152084
4 libsystem_pthread.dylib 0x385d8c5a 0x385d6000 + 11354
5 libsystem_pthread.dylib 0x385d8bca 0x385d6000 + 11210
6 libsystem_pthread.dylib 0x385d6ccc 0x385d6000 + 3276
Thread 7:
0 libsystem_kernel.dylib 0x38572c7c 0x3855f000 + 81020
1 libsystem_pthread.dylib 0x385d6e06 0x385d6000 + 3590
2 libsystem_pthread.dylib 0x385d6cc0 0x385d6000 + 3264
Thread 8 name: com.apple.NSURLConnectionLoader
Thread 8:
0 libsystem_kernel.dylib 0x3855fa84 0x3855f000 + 2692
1 libsystem_kernel.dylib 0x3855f87c 0x3855f000 + 2172
2 CoreFoundation 0x2dc30554 0x2db91000 + 652628
3 CoreFoundation 0x2dc2ec74 0x2db91000 + 646260
4 CoreFoundation 0x2db9946c 0x2db91000 + 33900
5 CoreFoundation 0x2db9924e 0x2db91000 + 33358
6 Foundation 0x2e5d44bc 0x2e57c000 + 361660
7 Foundation 0x2e649c32 0x2e57c000 + 842802
8 libsystem_pthread.dylib 0x385d8c5a 0x385d6000 + 11354
9 libsystem_pthread.dylib 0x385d8bca 0x385d6000 + 11210
10 libsystem_pthread.dylib 0x385d6ccc 0x385d6000 + 3276
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x3a397048
r4: 0x0026bff8 r5: 0x27d063e4 r6: 0x27d06424 r7: 0x27d063c4
r8: 0x00000003 r9: 0x3a39fe30 r10: 0x00000006 r11: 0x00000000
ip: 0x00000025 sp: 0x27d063a8 lr: 0x0011ccd9 pc: 0x385716e4
cpsr: 0x00000010
Binary Images:
0xfd000 - 0x230fff ADme armv7s <28b89d0e97d330a181b6080f2689bc3c> /var/mobile/Applications/D243F9B0-0750-4B67-9380-3D1DCDBA5828/ADme.app/ADme
I cannot replicate the crash, it doesn't happen on my iphone 5s nor on the simulator
** EDIT **
Further investigations help me detect the error. It's not the iphone 5 the problem. I Have the crash on this method
-[FBSession reauthorizeWithPermissions:isRead:behavior:defaultAudience:completionHandler:]
and it happens with every other Facebook account (except for mine). Of course i remembered to allow Facebook app access to general public.

Application crash due to dereference garbage pointer

I am seeing few random crashes in my iPod application with following message common in all the crash reports (though they have different thread traces). The crash is not reproducible - it occurs pretty randomly.
Attempted to dereference garbage pointer
I am also attaching a sample crash report. Please suggest as how to debug such an issue.
Crash Report:
CrashReporter Key: 6e6f41fdb678cf746d1c4561b2d7bc2b3f6772ad
Hardware Model: iPod4,1
Process: TestApplication [3154]
Path: /var/mobile/Applications/E5ED253B-A27A-4014-885A-030D19C7CB2C/TestApplication.app/TestApplication
Identifier: com.domain.retail.TestApplication
Version: 1.0.0
Code Type: ARM
Parent Process: launchd [1]
Date/Time: 2013-04-02 10:37:29.000 +0530
OS Version: iPhone OS 6.1.3 (10B329)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000cc
Crashed Thread: 10
Thread 0 name: Dispatch queue: com.domain.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x3a7bceb4 mach_msg_trap + 20
1 CoreFoundation 0x32626040 0x3258f000 + 618560
2 CoreFoundation 0x32624d58 0x3258f000 + 613720
3 CoreFoundation 0x32597eb8 CFRunLoopRunSpecific + 352
4 CoreFoundation 0x32597d48 CFRunLoopRunInMode + 104
5 GraphicsServices 0x3614a2e8 GSEventRunModal + 72
6 UIKit 0x344ad300 UIApplicationMain + 1120
7 TestApplication 0x000a54d0 main + 44
Thread 1 name: Dispatch queue: com.domain.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3a7bd648 kevent64 + 24
1 libdispatch.dylib 0x3a6e8df8 0x3a6e5000 + 15864
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x3a7bceb4 mach_msg_trap + 20
1 CoreFoundation 0x32626040 0x3258f000 + 618560
2 CoreFoundation 0x32624da0 0x3258f000 + 613792
3 CoreFoundation 0x32597eb8 CFRunLoopRunSpecific + 352
4 CoreFoundation 0x32597d48 CFRunLoopRunInMode + 104
5 WebCore 0x38585500 0x3857b000 + 42240
6 libsystem_c.dylib 0x3a726310 0x3a715000 + 70416
Thread 3:
0 libsystem_kernel.dylib 0x3a7cd6a4 __semwait_signal + 24
1 Foundation 0x32f0ac60 0x32eb7000 + 343136
2 TestApplication 0x0031c9c0 -[KSCrashDeadlockMonitor runMonitor] + 244
3 Foundation 0x32f67e80 0x32eb7000 + 724608
4 libsystem_c.dylib 0x3a726310 0x3a715000 + 70416
Thread 4 name: KSCrash Exception Handler (Secondary)
Thread 4:
0 libsystem_kernel.dylib 0x3a7bceb4 mach_msg_trap + 20
1 TestApplication 0x00318b50 ksmachexc_i_handleExceptions + 124
2 libsystem_c.dylib 0x3a726310 0x3a715000 + 70416
Thread 5 name: KSCrash Exception Handler (Primary)
Thread 5:
Thread 6 name: com.domain.NSURLConnectionLoader
Thread 6:
0 libsystem_kernel.dylib 0x3a7bceb4 mach_msg_trap + 20
1 CoreFoundation 0x32626040 0x3258f000 + 618560
2 CoreFoundation 0x32624da0 0x3258f000 + 613792
3 CoreFoundation 0x32597eb8 CFRunLoopRunSpecific + 352
4 CoreFoundation 0x32597d48 CFRunLoopRunInMode + 104
5 Foundation 0x32ee43d0 0x32eb7000 + 185296
6 Foundation 0x32f67e80 0x32eb7000 + 724608
7 libsystem_c.dylib 0x3a726310 0x3a715000 + 70416
Thread 7 name: com.domain.CFSocket.private
Thread 7:
0 libsystem_kernel.dylib 0x3a7cd594 select$DARWIN_EXTSN + 20
1 libsystem_c.dylib 0x3a726310 0x3a715000 + 70416
Thread 8 name: JavaScriptCore::BlockFree
Thread 8:
0 libsystem_kernel.dylib 0x3a7cd08c __psynch_cvwait + 24
1 libsystem_c.dylib 0x3a71eaa0 pthread_cond_timedwait + 40
2 JavaScriptCore 0x36540c70 _ZN3WTF15ThreadCondition9timedWaitERNS_5MutexEd + 104
3 JavaScriptCore 0x36652550 0x364e5000 + 1496400
4 JavaScriptCore 0x36664fa8 0x364e5000 + 1572776
5 libsystem_c.dylib 0x3a726310 0x3a715000 + 70416
Thread 9:
0 libsystem_kernel.dylib 0x3a7cdd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3a71ba10 0x3a715000 + 27152
Thread 10 name: Dispatch queue: com.domain.root.high-priority
Thread 10 Crashed:
0 libicucore.A.dylib 0x39e5e570 ucol_getVersion + 0
1 TextInput 0x37d741b0 _ZN2KB8WordTrie4loadERKNS_6StringE + 280
2 TextInput 0x37d6d698 0x37d35000 + 231064
3 TextInput 0x380de2f8 0x37d35000 + 3838712
4 TextInput 0x380de298 0x37d35000 + 3838616
5 TextInput 0x37d65170 _ZN14TIInputManager17load_dictionariesERKN2KB6StringES3_b + 20
6 TextInput 0x37d761c8 0x37d35000 + 266696
7 TextInput 0x37d75e08 0x37d35000 + 265736
8 UIKit 0x3454ffd0 0x34456000 + 1023952
9 UIKit 0x3454f018 0x34456000 + 1019928
10 UIKit 0x3454ec28 0x34456000 + 1018920
11 UIKit 0x3454d500 0x34456000 + 1012992
12 UIKit 0x3454d1f0 0x34456000 + 1012208
13 UIKit 0x345afa48 0x34456000 + 1415752
14 UIKit 0x345ac918 0x34456000 + 1403160
15 UIKit 0x345ac618 0x34456000 + 1402392
16 UIKit 0x345ab018 0x34456000 + 1396760
17 UIKit 0x345aae40 0x34456000 + 1396288
18 UIKit 0x345aa780 0x34456000 + 1394560
19 TestApplication 0x00155e90 -[TestApplicationRequestInfoController showScanAlertForErrorType:Barcode:] + 2380
20 TestApplication 0x00151c48 -[TestApplicationRequestInfoController showAlertForErrorType:Barcode:] + 72
21 TestApplication 0x001fe090 -[TestApplicationBOPISOrdersScanningController processFirstNonSerialNumberScan:] + 3788
22 TestApplication 0x0020dd38 -[TestApplicationScanController processScanInfo] + 3512
23 TestApplication 0x0020cf38 __39-[TestApplicationScanController startScanThread]_block_invoke + 44
24 libdispatch.dylib 0x3a6e7118 0x3a6e5000 + 8472
25 libdispatch.dylib 0x3a6f5258 0x3a6e5000 + 66136
26 libdispatch.dylib 0x3a6f53b8 0x3a6e5000 + 66488
27 libsystem_c.dylib 0x3a71ba10 0x3a715000 + 27152
Thread 11:
0 libsystem_kernel.dylib 0x3a7bceb4 mach_msg_trap + 20
1 CoreFoundation 0x32626040 0x3258f000 + 618560
2 CoreFoundation 0x32624da0 0x3258f000 + 613792
3 CoreFoundation 0x32597eb8 CFRunLoopRunSpecific + 352
4 CoreFoundation 0x32597d48 CFRunLoopRunInMode + 104
5 Foundation 0x32ebaf90 0x32eb7000 + 16272
6 Foundation 0x32ec3d50 0x32eb7000 + 52560
7 TestApplication 0x002cc288 -[CommStream runLoopThread:] + 704
8 Foundation 0x32f67e80 0x32eb7000 + 724608
9 libsystem_c.dylib 0x3a726310 0x3a715000 + 70416
Thread 12:
0 libsystem_kernel.dylib 0x3a7cd594 select$DARWIN_EXTSN + 20
1 Foundation 0x32f67e80 0x32eb7000 + 724608
2 libsystem_c.dylib 0x3a726310 0x3a715000 + 70416
Thread 13:
0 libsystem_kernel.dylib 0x3a7bceb4 mach_msg_trap + 20
1 CoreFoundation 0x32626040 0x3258f000 + 618560
2 CoreFoundation 0x32624da0 0x3258f000 + 613792
3 CoreFoundation 0x32597eb8 CFRunLoopRunSpecific + 352
4 CoreFoundation 0x32597d48 CFRunLoopRunInMode + 104
5 Foundation 0x32ebaf90 0x32eb7000 + 16272
6 Foundation 0x32ec3d50 0x32eb7000 + 52560
7 TestApplication 0x002cc288 -[CommStream runLoopThread:] + 704
8 Foundation 0x32f67e80 0x32eb7000 + 724608
9 libsystem_c.dylib 0x3a726310 0x3a715000 + 70416
Thread 14:
0 libsystem_kernel.dylib 0x3a7cd594 select$DARWIN_EXTSN + 20
1 Foundation 0x32f67e80 0x32eb7000 + 724608
2 libsystem_c.dylib 0x3a726310 0x3a715000 + 70416
Thread 15:
0 libsystem_kernel.dylib 0x3a7cdd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3a71ba10 0x3a715000 + 27152
Thread 10 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x05fe1320 r2: 0x00000001 r3: 0x00000001
r4: 0x03000000 r5: 0x07000000 r6: 0x05a1c000 r7: 0x05fe1394
r8: 0x05fe14d8 r9: 0x00000000 r10: 0x37d5f865 r11: 0x05fe14c8
ip: 0x3be8e2bc sp: 0x05fe1300 lr: 0x37d74427 pc: 0x39e5e570
cpsr: 0x20000030
CrashDoctor Diagnosis: Attempted to dereference garbage pointer 0xcc.
Originated at or in a subcall of -[TestApplicationRequestInfoController showScanAlertForErrorType:Barcode:]
Have a look at thread 10:
one of these functions might some issue:
19 TestApplication 0x00155e90 -[TestApplicationRequestInfoController showScanAlertForErrorType:Barcode:] + 2380
20 TestApplication 0x00151c48 -[TestApplicationRequestInfoController showAlertForErrorType:Barcode:] + 72
21 TestApplication 0x001fe090 -[TestApplicationBOPISOrdersScanningController processFirstNonSerialNumberScan:] + 3788
22 TestApplication 0x0020dd38 -[TestApplicationScanController processScanInfo] + 3512
23 TestApplication 0x0020cf38 __39-[TestApplicationScanController startScanThread]_block_invoke + 44
Double check them. Or put breakpoints at them and rerun the program to see what happens when the program goes through these functions..
Hope this helps... Just a starter..
Remember there is no random crashing.. These crashes are due to mistakes in the code.

Resources