This is a log from a crash report of a published app. I don't have any more details about the crash except that it happened on an iPhone 5.
I don't see Last Exception Backtrace block here so I don't know how to pinpoint the error and fix it. Any help would be greatly appreciated.
OS Version: iPhone OS 10.2 (14C92)
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000000e7ffdefe
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 SpeakProject 0x001093b8 0xf4000 + 86968
1 SpeakProject 0x00110710 0xf4000 + 116496
2 SpeakProject 0x001108b8 0xf4000 + 116920
3 SpeakProject 0x00110808 0xf4000 + 116744
4 RxSwift 0x0061a254 0x5c0000 + 369236
5 RxSwift 0x0061a42c 0x5c0000 + 369708
6 RxSwift 0x00621cd8 0x5c0000 + 400600
7 RxSwift 0x00621d80 0x5c0000 + 400768
8 RxSwift 0x00649ec4 0x5c0000 + 564932
9 RxSwift 0x0064a470 0x5c0000 + 566384
10 RxSwift 0x005c72a0 0x5c0000 + 29344
11 RxSwift 0x005c7400 0x5c0000 + 29696
12 RxSwift 0x005c7ff8 0x5c0000 + 32760
13 SpeakProject 0x001270dc 0xf4000 + 209116
14 SpeakProject 0x00127674 0xf4000 + 210548
15 SpeakProject 0x00127740 0xf4000 + 210752
16 Alamofire 0x001d69fc 0x190000 + 289276
17 Alamofire 0x001d94ec 0x190000 + 300268
18 libdispatch.dylib 0x1d396096 0x1d395000 + 4246
19 libdispatch.dylib 0x1d396082 0x1d395000 + 4226
20 libdispatch.dylib 0x1d39a5fc 0x1d395000 + 22012
21 CoreFoundation 0x1dcac4a6 0x1dbef000 + 775334
22 CoreFoundation 0x1dcaa78e 0x1dbef000 + 767886
23 CoreFoundation 0x1dbf9532 0x1dbef000 + 42290
24 CoreFoundation 0x1dbf9340 0x1dbef000 + 41792
25 GraphicsServices 0x1f3d0bfc 0x1f3c7000 + 39932
26 UIKit 0x22e07e26 0x22d8e000 + 499238
27 UIKit 0x22e02550 0x22d8e000 + 476496
28 SpeakProject 0x00125784 0xf4000 + 202628
29 libdyld.dylib 0x1d3c350a 0x1d3c0000 + 13578
Thread 1 name: com.apple.uikit.eventfetch-thread
Thread 1:
0 libsystem_kernel.dylib 0x1d48384c 0x1d482000 + 6220
1 libsystem_kernel.dylib 0x1d48363e 0x1d482000 + 5694
2 CoreFoundation 0x1dcac2f8 0x1dbef000 + 774904
3 CoreFoundation 0x1dcaa5f6 0x1dbef000 + 767478
4 CoreFoundation 0x1dbf9532 0x1dbef000 + 42290
5 CoreFoundation 0x1dbf9340 0x1dbef000 + 41792
6 Foundation 0x1e55388a 0x1e548000 + 47242
7 Foundation 0x1e572630 0x1e548000 + 173616
8 UIKit 0x2370e2b2 0x22d8e000 + 9962162
9 Foundation 0x1e63cb10 0x1e548000 + 1002256
10 libsystem_pthread.dylib 0x1d54da26 0x1d54a000 + 14886
11 libsystem_pthread.dylib 0x1d54d94c 0x1d54a000 + 14668
12 libsystem_pthread.dylib 0x1d54b49c 0x1d54a000 + 5276
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x1d48384c 0x1d482000 + 6220
1 libsystem_kernel.dylib 0x1d48363e 0x1d482000 + 5694
2 CoreFoundation 0x1dcac2f8 0x1dbef000 + 774904
3 CoreFoundation 0x1dcaa5f6 0x1dbef000 + 767478
4 CoreFoundation 0x1dbf9532 0x1dbef000 + 42290
5 CoreFoundation 0x1dbf9340 0x1dbef000 + 41792
6 CFNetwork 0x1e2d4488 0x1e219000 + 767112
7 Foundation 0x1e63cb10 0x1e548000 + 1002256
8 libsystem_pthread.dylib 0x1d54da26 0x1d54a000 + 14886
9 libsystem_pthread.dylib 0x1d54d94c 0x1d54a000 + 14668
10 libsystem_pthread.dylib 0x1d54b49c 0x1d54a000 + 5276
Thread 3:
0 libsystem_kernel.dylib 0x1d499744 0x1d482000 + 96068
1 libsystem_pthread.dylib 0x1d54b9a0 0x1d54a000 + 6560
2 libsystem_pthread.dylib 0x1d54b490 0x1d54a000 + 5264
Thread 4:
0 libsystem_kernel.dylib 0x1d499744 0x1d482000 + 96068
1 libsystem_pthread.dylib 0x1d54b9a0 0x1d54a000 + 6560
2 libsystem_pthread.dylib 0x1d54b490 0x1d54a000 + 5264
Thread 5:
0 libsystem_pthread.dylib 0x1d54b488 0x1d54a000 + 5256
Thread 6:
0 libsystem_pthread.dylib 0x1d54b488 0x1d54a000 + 5256
Thread 7:
0 libsystem_pthread.dylib 0x1d54b488 0x1d54a000 + 5256
Thread 8:
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x15f70420 r1: 0x00000000 r2: 0x0000000c r3: 0x00000008
r4: 0x15f61450 r5: 0x00000000 r6: 0x00000000 r7: 0x003b2a58
r8: 0x00000001 r9: 0x15f70424 r10: 0x15f70420 r11: 0x00000000
ip: 0x0016c424 sp: 0x003b2a00 lr: 0x001090e8 pc: 0x001093b8
cpsr: 0x20000010
Related
I've been using CoreData in our app now for a while, and so far so good, until I distributed our latest build to other team members, and one such member couldn't load the app on her phone (4s), it just crashed. I tracked it down and found that there was an issue calling save() on the ManagedObjectContext, and I still don't know why; to be clear it works perfectly when I build straight to any device, but both a 4s and a 5(works on 5s) will crash when installed as ad hoc.
All tested devices started with no app install so it doesn't seem to be migration issue (I setup a lightweight migration just in case).
Here are the crash logs, any help would be amazing.
Incident Identifier: 3E7C526F-7210-4F88-B298-C83D665C066B
CrashReporter Key: 78c1b7a7751600091f9b4b7909eec333e0f5779a
Hardware Model: iPhone5,2
Process: APP [401]
Path: /private/var/containers/Bundle/Application/004CE56E-AFF8-4BF0-8861-E7617F4635B6/APP.app/APP
Identifier: com.app.APP
Version: 1.7 (1.8)
Code Type: ARM (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.app. [551]
Date/Time: 2016-12-02 17:27:32.1384 +0000
Launch Time: 2016-12-02 17:27:28.0000 +0000
OS Version: iPhone OS 10.1.1 (14B100)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x006e6000
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: SQLQueue 0x1466e820 for APP.sqlite
Thread 0 Crashed:
0 libsystem_platform.dylib 0x1b0b01ba 0x1b0af000 + 4538
1 libswiftCore.dylib 0x0109d3c4 0xf36000 + 1471428
2 libswiftCore.dylib 0x0105ea58 0xf36000 + 1215064
3 libswiftCore.dylib 0x00fbd67c 0xf36000 + 554620
4 libswiftCore.dylib 0x00fcc3bc 0xf36000 + 615356
5 libswiftCore.dylib 0x00fcc208 0xf36000 + 614920
6 libswiftCore.dylib 0x00fcd540 0xf36000 + 619840
7 CoreFoundation 0x1b7a888e 0x1b759000 + 325774
8 Foundation 0x1c0efee2 0x1c08b000 + 413410
9 Foundation 0x1c0ef0b0 0x1c08b000 + 409776
10 Foundation 0x1c0f029c 0x1c08b000 + 414364
11 Foundation 0x1c0ef0b0 0x1c08b000 + 409776
12 Foundation 0x1c0f54ee 0x1c08b000 + 435438
13 CoreData 0x1d7b7bfe 0x1d7a2000 + 89086
14 CoreData 0x1d7edaa4 0x1d7a2000 + 309924
15 CoreData 0x1d983498 0x1d7a2000 + 1971352
16 CoreData 0x1d984d46 0x1d7a2000 + 1977670
17 CoreData 0x1d979c34 0x1d7a2000 + 1932340
18 CoreData 0x1d886984 0x1d7a2000 + 936324
19 libdispatch.dylib 0x1af01082 0x1af00000 + 4226
20 libdispatch.dylib 0x1af0d3a2 0x1af00000 + 54178
21 CoreData 0x1d8867bc 0x1d7a2000 + 935868
22 CoreData 0x1d9545aa 0x1d7a2000 + 1779114
23 CoreData 0x1d8b6fbe 0x1d7a2000 + 1134526
24 CoreData 0x1d8b0a5a 0x1d7a2000 + 1108570
25 CoreData 0x1d7be12c 0x1d7a2000 + 114988
26 CoreData 0x1d89334e 0x1d7a2000 + 987982
27 CoreData 0x1d88b806 0x1d7a2000 + 956422
28 CoreData 0x1d7bdc4e 0x1d7a2000 + 113742
29 CoreData 0x1d7dd3f8 0x1d7a2000 + 242680
30 APP 0x000bdbbc 0x70000 + 318396
31 APP 0x000bee4c 0x70000 + 323148
32 APP 0x000bea9c 0x70000 + 322204
33 APP 0x00146c90 0x70000 + 879760
34 APP 0x001458dc 0x70000 + 874716
35 APP 0x00146bb0 0x70000 + 879536
36 libdispatch.dylib 0x1af01096 0x1af00000 + 4246
37 libdispatch.dylib 0x1af01082 0x1af00000 + 4226
38 libdispatch.dylib 0x1af055fc 0x1af00000 + 22012
39 CoreFoundation 0x1b816a16 0x1b759000 + 776726
40 CoreFoundation 0x1b814cfe 0x1b759000 + 769278
41 CoreFoundation 0x1b764072 0x1b759000 + 45170
42 CoreFoundation 0x1b763e80 0x1b759000 + 44672
43 GraphicsServices 0x1cf10bfc 0x1cf07000 + 39932
44 UIKit 0x2091e82e 0x208a4000 + 501806
45 UIKit 0x20918f60 0x208a4000 + 479072
46 APP 0x00095388 0x70000 + 152456
47 libdyld.dylib 0x1af2e50a 0x1af2b000 + 13578
Thread 1:
0 libsystem_pthread.dylib 0x1b0b6484 0x1b0b5000 + 5252
Thread 2:
0 libsystem_pthread.dylib 0x1b0b6484 0x1b0b5000 + 5252
Thread 3:
0 libsystem_pthread.dylib 0x1b0b6484 0x1b0b5000 + 5252
Thread 4:
0 libsystem_kernel.dylib 0x1b004744 0x1afed000 + 96068
1 libsystem_pthread.dylib 0x1b0b69a0 0x1b0b5000 + 6560
2 libsystem_pthread.dylib 0x1b0b648c 0x1b0b5000 + 5260
Thread 5 name: com.apple.uikit.eventfetch-thread
Thread 5:
0 libsystem_kernel.dylib 0x1afee83c 0x1afed000 + 6204
1 libsystem_kernel.dylib 0x1afee62e 0x1afed000 + 5678
2 CoreFoundation 0x1b816868 0x1b759000 + 776296
3 CoreFoundation 0x1b814b66 0x1b759000 + 768870
4 CoreFoundation 0x1b764072 0x1b759000 + 45170
5 CoreFoundation 0x1b763e80 0x1b759000 + 44672
6 Foundation 0x1c0960da 0x1c08b000 + 45274
7 Foundation 0x1c0b4df0 0x1c08b000 + 171504
8 UIKit 0x21226cb2 0x208a4000 + 9972914
9 Foundation 0x1c17f0d0 0x1c08b000 + 999632
10 libsystem_pthread.dylib 0x1b0b8a16 0x1b0b5000 + 14870
11 libsystem_pthread.dylib 0x1b0b893c 0x1b0b5000 + 14652
12 libsystem_pthread.dylib 0x1b0b6498 0x1b0b5000 + 5272
Thread 6 name: com.apple.NSURLConnectionLoader
Thread 6:
0 libsystem_kernel.dylib 0x1afee83c 0x1afed000 + 6204
1 libsystem_kernel.dylib 0x1afee62e 0x1afed000 + 5678
2 CoreFoundation 0x1b816868 0x1b759000 + 776296
3 CoreFoundation 0x1b814b66 0x1b759000 + 768870
4 CoreFoundation 0x1b764072 0x1b759000 + 45170
5 CoreFoundation 0x1b763e80 0x1b759000 + 44672
6 CFNetwork 0x1be2edb8 0x1bd83000 + 703928
7 Foundation 0x1c17f0d0 0x1c08b000 + 999632
8 libsystem_pthread.dylib 0x1b0b8a16 0x1b0b5000 + 14870
9 libsystem_pthread.dylib 0x1b0b893c 0x1b0b5000 + 14652
10 libsystem_pthread.dylib 0x1b0b6498 0x1b0b5000 + 5272
Thread 7 name: com.twitter.crashlytics.ios.MachExceptionServer
Thread 7:
0 libsystem_kernel.dylib 0x1afee83c 0x1afed000 + 6204
1 libsystem_kernel.dylib 0x1afee62e 0x1afed000 + 5678
2 APP 0x00408b9a 0x70000 + 3771290
3 libsystem_pthread.dylib 0x1b0b8a16 0x1b0b5000 + 14870
4 libsystem_pthread.dylib 0x1b0b893c 0x1b0b5000 + 14652
5 libsystem_pthread.dylib 0x1b0b6498 0x1b0b5000 + 5272
Thread 8:
0 libsystem_kernel.dylib 0x1b004744 0x1afed000 + 96068
1 libsystem_pthread.dylib 0x1b0b69a0 0x1b0b5000 + 6560
2 libsystem_pthread.dylib 0x1b0b648c 0x1b0b5000 + 5260
Thread 9:
0 libsystem_kernel.dylib 0x1b004744 0x1afed000 + 96068
1 libsystem_pthread.dylib 0x1b0b69a0 0x1b0b5000 + 6560
2 libsystem_pthread.dylib 0x1b0b648c 0x1b0b5000 + 5260
Thread 10 name: Dispatch queue: com.apple.network.connections
Thread 10:
0 libcorecrypto.dylib 0x1aecdbe8 0x1aea7000 + 158696
1 libsystem_coretls.dylib 0x1afc7622 0x1afb9000 + 58914
2 libsystem_coretls.dylib 0x1afc5a14 0x1afb9000 + 51732
3 libsystem_coretls.dylib 0x1afc619a 0x1afb9000 + 53658
4 libnetwork.dylib 0x26824048 0x267dd000 + 290888
5 libnetwork.dylib 0x26826138 0x267dd000 + 299320
6 libnetwork.dylib 0x26802992 0x267dd000 + 154002
7 libdispatch.dylib 0x1af0cb9a 0x1af00000 + 52122
8 libdispatch.dylib 0x1af17a84 0x1af00000 + 96900
9 libdispatch.dylib 0x1af02cb4 0x1af00000 + 11444
10 libdispatch.dylib 0x1af0dd2c 0x1af00000 + 56620
11 libdispatch.dylib 0x1af04378 0x1af00000 + 17272
12 libdispatch.dylib 0x1af0eb9c 0x1af00000 + 60316
13 libdispatch.dylib 0x1af1488e 0x1af00000 + 84110
14 libsystem_pthread.dylib 0x1b0b67f0 0x1b0b5000 + 6128
15 libsystem_pthread.dylib 0x1b0b648c 0x1b0b5000 + 5260
Thread 11:
0 libsystem_pthread.dylib 0x1b0b6484 0x1b0b5000 + 5252
Thread 12:
0 libsystem_kernel.dylib 0x1b004744 0x1afed000 + 96068
1 libsystem_pthread.dylib 0x1b0b69a0 0x1b0b5000 + 6560
2 libsystem_pthread.dylib 0x1b0b648c 0x1b0b5000 + 5260
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x006e6000 r1: 0x006e6000 r2: 0x0029267c r3: 0x00000000
r4: 0x00000000 r5: 0x00000000 r6: 0x14586ae0 r7: 0x007e3350
r8: 0x007e33c8 r9: 0x004bc340 r10: 0x007e33d4 r11: 0x0118efdc
ip: 0x00000000 sp: 0x007e3350 lr: 0x0109d3c4 pc: 0x1b0b01ba
cpsr: 0x20000030
There's not much useful detail in that crash log. However given that it's only a problem on older devices, I'd investigate two areas. You'll need a test device that suffers from this crash.
Memory. Older devices have less, and if you're accumulating a lot of unsaved changes, you may be running out. Devices with more memory would be less likely to have problems. You can check on this quickly using Xcode's memory monitoring-- if you see a memory spike while saving, you know you need to look more closely via Instruments.
Speed, if you're saving on the main thread. If you block the main thread for too long, iOS may decide that your app has stopped responding and kill it. Again, slower devices might have a problem while newer devices are OK. Keep in mind that this kind of crash might not happen when debugging via Xcode, because it can affect when iOS decides to kill an app.
Each of these would likely be accompanied by useful messages in the device console that might just tell you what the problem is. You can get those using Xcode or by using the free iOS Console app.
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
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
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.
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.