iOS symbolicate crash log only symbolicates a few lines - ios

Hi I have this file symbolicated from:
Last Exception Backtrace:
(0x3816a8bf 0x37cb61e5 0x3816a7b9 0x3816a7db 0x31e86747 0x31e87bb9 0x31dc0a45 0x31c4a227 0x31c44313 0x31c12921 0x31c123bf 0x31c11d2d 0x37e98df3 0x3813e553 0x3813e4f5 0x3813d343 0x380c04dd 0x380c03a5 0x31c43457 0x31c40743 0x9a0ad 0x9a000)
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x307cb32c 0x307ba000 + 70444
1 libsystem_c.dylib 0x37c6cf54 0x37c1f000 + 319316
2 libsystem_c.dylib 0x37c65fe4 0x37c1f000 + 290788
3 libc++abi.dylib 0x306c7f64 0x306c1000 + 28516
4 libc++abi.dylib 0x306c5346 0x306c1000 + 17222
5 libobjc.A.dylib 0x37cb62dc 0x37cad000 + 37596
6 libc++abi.dylib 0x306c53be 0x306c1000 + 17342
7 libc++abi.dylib 0x306c544a 0x306c1000 + 17482
8 libc++abi.dylib 0x306c681e 0x306c1000 + 22558
9 libobjc.A.dylib 0x37cb622e 0x37cad000 + 37422
10 CoreFoundation 0x380c053e 0x380b1000 + 62782
11 CoreFoundation 0x380c039e 0x380b1000 + 62366
12 UIKit 0x31c43450 0x31c0f000 + 214096
13 UIKit 0x31c4073c 0x31c0f000 + 202556
14 HomeWizard 0x0009a0a6 0x98000 + 8358
15 HomeWizard 0x00099ff8 0x98000 + 8184
To this:
Last Exception Backtrace:
0 CoreFoundation 0x3816a8bf 0x380b1000 + 759999
1 libobjc.A.dylib 0x37cb61e5 0x37cad000 + 37349
2 CoreFoundation 0x3816a7b9 0x380b1000 + 759737
3 CoreFoundation 0x3816a7db 0x380b1000 + 759771
4 UIKit 0x31e86747 0x31c0f000 + 2586439
5 UIKit 0x31e87bb9 0x31c0f000 + 2591673
6 UIKit 0x31dc0a45 0x31c0f000 + 1776197
7 UIKit 0x31c4a227 0x31c0f000 + 242215
8 UIKit 0x31c44313 0x31c0f000 + 217875
9 UIKit 0x31c12921 0x31c0f000 + 14625
10 UIKit 0x31c123bf 0x31c0f000 + 13247
11 UIKit 0x31c11d2d 0x31c0f000 + 11565
12 GraphicsServices 0x37e98df3 0x37e94000 + 19955
13 CoreFoundation 0x3813e553 0x380b1000 + 578899
14 CoreFoundation 0x3813e4f5 0x380b1000 + 578805
15 CoreFoundation 0x3813d343 0x380b1000 + 574275
16 CoreFoundation 0x380c04dd 0x380b1000 + 62685
17 CoreFoundation 0x380c03a5 0x380b1000 + 62373
18 UIKit 0x31c43457 0x31c0f000 + 214103
19 UIKit 0x31c40743 0x31c0f000 + 202563
20 HomeWizard 0x0009a0ad main (main.m:18)
21 HomeWizard 0x0009a000 0x98000 + 8192
Has the process run correctly since I only see the main.m:18 the rest stays unknown.
Thanks in Advance

The problem most likely is that you don't have to corresponding iOS device symbols that the crash report happened on. The script searches for the UUID (found in the binary section) for the matching symbol file via spotlight. And if it can't find it, it will leave the line just as is.

Related

iOS 10 AVPlayer crash when dealloc

I got a crash when using AVPlayer to play a remote audio. The App crash on main thread. The crash log is below:
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001806a7014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000018076f450 pthread_kill + 112
2 libsystem_c.dylib 0x000000018061b49c __abort + 144
3 libsystem_c.dylib 0x000000018061b40c __abort + 0
4 libc++abi.dylib 0x00000001800e52d4 __cxa_bad_cast + 0
5 libc++abi.dylib 0x0000000180102cc0 default_unexpected_handler+ 126144 () + 0
6 libobjc.A.dylib 0x0000000180110844 _objc_terminate+ 34884 () + 124
7 FanXing 0x0000000103712edc 0x10007c000 + 57241308
8 libc++abi.dylib 0x00000001800ff66c std::__terminate(void (*)+ 112236 ()) + 16
9 libc++abi.dylib 0x00000001800ff234 __cxa_rethrow + 144
10 libobjc.A.dylib 0x000000018011071c objc_exception_rethrow + 44
11 Foundation 0x0000000182154644 NSKVODeallocate + 380
12 CoreFoundation 0x00000001816ca36c -[__NSSingleObjectArrayI dealloc] + 44
13 AVFoundation 0x0000000188e166b0 -[AVPlayer dealloc] + 696
14 libsystem_blocks.dylib 0x00000001805b7a28 _Block_release + 144
15 libdispatch.dylib 0x00000001805621bc _dispatch_client_callout + 16
16 libdispatch.dylib 0x0000000180566d68 _dispatch_main_queue_callback_4CF + 1000
17 CoreFoundation 0x0000000181686810 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
18 CoreFoundation 0x00000001816843fc __CFRunLoopRun + 1660
19 CoreFoundation 0x00000001815b22b8 CFRunLoopRunSpecific + 444
20 GraphicsServices 0x0000000183066198 GSEventRunModal + 180
21 UIKit 0x00000001875f97fc -[UIApplication _run] + 684
22 UIKit 0x00000001875f4534 UIApplicationMain + 208
23 FanXing 0x00000001004c248c 0x10007c000 + 4482188
24 libdyld.dylib 0x00000001805955b8 start + 4

Decipher iPhone crashlog

I got a crash for my own app on my iPhone, and am trying to figure out what happened. Here is the relevant part from the crash log in Xcode (sorry for the poor formatting):
Exception Type: EXC_CRASH (SIGABRT) Exception Codes:
0x0000000000000000, 0x0000000000000000 Exception Note:
EXC_CORPSE_NOTIFY Triggered by Thread: 0
Application Specific Information: abort() called
Filtered syslog: None found
Last Exception Backtrace: 0 CoreFoundation
0x1828c2d8c exceptionPreprocess + 228 1 libobjc.A.dylib
0x181a7c5ec objc_exception_throw + 55 2 CoreFoundation
0x1828d0098 -[NSObject+ 1388696 (NSObject) doesNotRecognizeSelector:]
+ 139 3 CoreFoundation 0x1828c85c8 ___forwarding_ + 1379 4 CoreFoundation 0x1827ae41c _CF_forwarding_prep_0 + 91 5 MyApp 0x102c33a0c 0x102bf0000 + 277004 6 MyApp
0x102c39d9c 0x102bf0000 + 302492 7 MyApp
0x102c1bed8 0x102bf0000 + 179928 8 MyApp
0x102c0754c 0x102bf0000 + 95564 9 libdispatch.dylib
0x1821b4aa0 _dispatch_call_block_and_release + 23 10
libdispatch.dylib 0x1821b4a60 _dispatch_client_callout +
15 11 libdispatch.dylib 0x1821f5bcc
_dispatch_main_queue_callback_4CF$VARIANT$armv81 + 527 12 CoreFoundation 0x18286b070
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 11 13 CoreFoundation 0x182868bc8 __CFRunLoopRun + 2271 14
CoreFoundation 0x182788da8 CFRunLoopRunSpecific + 551
15 GraphicsServices 0x18476e020 GSEventRunModal + 99 16
UIKit 0x18c7a8758 UIApplicationMain + 235 17
MyApp 0x102bf48f4 0x102bf0000 + 18676 18
libdyld.dylib 0x182219fc0 start + 3
Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0
Crashed: 0 libsystem_kernel.dylib 0x00000001823492e0
pthread_kill + 8 1 libsystem_pthread.dylib 0x00000001824ee6a8 pthread_kill$VARIANT$armv81 + 360 2
libsystem_c.dylib 0x00000001822b7d0c abort + 140 3
libc++abi.dylib 0x0000000181a532c8 __cxa_bad_cast + 0 4
libc++abi.dylib 0x0000000181a53470
default_unexpected_handler+ 5232 () + 0 5 libobjc.A.dylib
0x0000000181a7c8d4 _objc_terminate+ 35028 () + 124 6
libc++abi.dylib 0x0000000181a6d37c
std::__terminate(void ()+ 111484 ()) + 16 7 libc++abi.dylib
0x0000000181a6cccc __cxxabiv1::exception_cleanup_func+ 109772
(_Unwind_Reason_Code, _Unwind_Exception) + 0 8 libobjc.A.dylib
0x0000000181a7c720 _objc_exception_destructor+ 34592 (void*) + 0 9
CoreFoundation 0x00000001828d0098
__methodDescriptionForSelector + 0 10 CoreFoundation 0x00000001828c85c8 ___forwarding_ + 1380 11 CoreFoundation
0x00000001827ae41c _CF_forwarding_prep_0 + 92 12 MyApp
0x0000000102c33a0c 0x102bf0000 + 277004 13 MyApp 0x0000000102c39d9c 0x102bf0000 + 302492 14 MyApp 0x0000000102c1bed8 0x102bf0000 + 179928 15 MyApp 0x0000000102c0754c 0x102bf0000 + 95564 16 libdispatch.dylib 0x00000001821b4aa0 _dispatch_call_block_and_release + 24 17
libdispatch.dylib 0x00000001821b4a60
_dispatch_client_callout + 16 18 libdispatch.dylib 0x00000001821f5bcc _dispatch_main_queue_callback_4CF$VARIANT$armv81 +
528 19 CoreFoundation 0x000000018286b070
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12 20 CoreFoundation 0x0000000182868bc8 __CFRunLoopRun +
2272 21 CoreFoundation 0x0000000182788da8
CFRunLoopRunSpecific + 552 22 GraphicsServices
0x000000018476e020 GSEventRunModal + 100 23 UIKit
0x000000018c7a8758 UIApplicationMain + 236 24 MyApp
0x0000000102bf48f4 0x102bf0000 + 18676 25 libdyld.dylib 0x0000000182219fc0 start + 4
So I do see some errors but they are all non-specific, not pointing to a specific call.
Can I extract more info from this log or somewhere else to figure out what could have gone wrong?

Understanding This Crash Report

I just received this crash report for my app from Flurry Analytics. But I don't know how to read this. It seems like there's no enough information to really tell what or where is this crash.
Could any of you guys help understand this report?
Thanks!
REPORT:
0 libsystem_kernel.dylib 0x19b7971e0 ___pthread_kill + 8
1 libsystem_c.dylib 0x19b706c00 _abort + 140
2 libc++abi.dylib 0x19a4bd3f4 ___cxa_bad_cast + 0
3 libc++abi.dylib 0x19a4d9e98 + 0
4 libobjc.A.dylib 0x19ae34264 + 124
5 libc++abi.dylib 0x19a4d6f44 + 16
6 libc++abi.dylib 0x19a4d6b10 ___cxa_rethrow + 144
7 libobjc.A.dylib 0x19ae3413c _objc_exception_rethrow + 44
8 CoreFoundation 0x1862a9328 _CFRunLoopRunSpecific + 552
9 GraphicsServices 0x1914200cc _GSEventRunModal + 180
10 UIKit 0x18ba96df8 _UIApplicationMain + 204
11 MYAPP 0x1000ffe24 main + 96 (main.m:21)
12 libdyld.dylib 0x19b6768b8 + 4

App rejected with ambiguous crash log

Apple rejected my app with a crash report, I have tried symbolicating with the dSYM file from the original app build for the store and this is the crashlogs.
Seems that the app crash on start, but I tried to install the same version sent to them on my devices and it works as expected on my device. Any idea?
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x1832fe59c 0x1831d8000 + 1205660
1 libobjc.A.dylib 0x193f640e4 0x193f5c000 + 32996
2 CoreFoundation 0x1831e91f8 0x1831d8000 + 70136
3 UIKit 0x187b4c858 0x187aa0000 + 706648
4 UIKit 0x187b6d9f4 0x187aa0000 + 842228
5 UIKit 0x187eb307c 0x187aa0000 + 4272252
6 UIKit 0x187b6eca4 0x187aa0000 + 847012
7 UIKit 0x187fcd718 0x187aa0000 + 5429016
8 UIKit 0x187ab0844 0x187aa0000 + 67652
9 UIKit 0x187ab07b0 0x187aa0000 + 67504
10 UIKit 0x187fccfbc 0x187aa0000 + 5427132
11 UIKit 0x187fcace8 0x187aa0000 + 5418216
12 UIKit 0x187adc788 0x187aa0000 + 247688
13 UIKit 0x187d47238 0x187aa0000 + 2781752
14 UIKit 0x187d46cec 0x187aa0000 + 2780396
15 UIKit 0x187d46c44 0x187aa0000 + 2780228
16 UIKit 0x187d3a578 0x187aa0000 + 2729336
17 UIKit 0x187d39fe0 0x187aa0000 + 2727904
18 FrontBoardServices 0x18b549edc 0x18b540000 + 40668
19 FrontBoardServices 0x18b55962c 0x18b540000 + 103980
20 CoreFoundation 0x1832b6a28 0x1831d8000 + 911912
21 CoreFoundation 0x1832b5b30 0x1831d8000 + 908080
22 CoreFoundation 0x1832b4154 0x1831d8000 + 901460
23 CoreFoundation 0x1831e10a4 0x1831d8000 + 37028
24 UIKit 0x187b1b3c8 0x187aa0000 + 504776
25 UIKit 0x187b163c0 0x187aa0000 + 484288
26 My App 0x100016424 main (main.m:26)
27 libdyld.dylib 0x1945d2a08 0x1945d0000 + 10760
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001946eb270 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000194789224 pthread_kill + 108
2 libsystem_c.dylib 0x0000000194662b14 abort + 108
3 libc++abi.dylib 0x0000000193735414 abort_message + 112
4 libc++abi.dylib 0x0000000193754b88 default_terminate_handler() + 300
5 libobjc.A.dylib 0x0000000193f643bc _objc_terminate() + 124
6 libc++abi.dylib 0x0000000193751bb0 std::__terminate(void (*)()) + 12
7 libc++abi.dylib 0x0000000193751738 __cxa_rethrow + 140
8 libobjc.A.dylib 0x0000000193f64290 objc_exception_rethrow + 40
9 CoreFoundation 0x00000001831e1150 CFRunLoopRunSpecific + 568
10 UIKit 0x0000000187b1b3c4 -[UIApplication _run] + 548
11 UIKit 0x0000000187b163bc UIApplicationMain + 1484
12 My App 0x0000000100016420 main (main.m:26)
13 libdyld.dylib 0x00000001945d2a04 start + 0
Any help would be greatly appreciated.
EDIT 15/01/2015
I did the symbolication on the previous crash logs but the backtrace was still hiding same property so I found here the solution to solve the backtrace. Basically I had a better report attaching another device:
Last Exception Backtrace:
0 CoreFoundation 0x1832fe59c __exceptionPreprocess + 132
1 libobjc.A.dylib 0x193f640e4 objc_exception_throw + 60
2 CoreFoundation 0x1831e91f8 -[__NSDictionaryM setObject:forKey:] + 972
3 UIKit 0x187b4c858 -[UILabel _setLineBreakMode:] + 616
4 UIKit 0x187b6d9f4 -[UIButtonLabel setLineBreakMode:] + 108
5 UIKit 0x187eb307c -[UIButton _setupTitleViewRequestingLayout:] + 204
6 UIKit 0x187b6eca4 -[UIButton titleLabel] + 56
7 UIKit 0x187fcd718 -[UIZoomViewController loadView] + 568
8 UIKit 0x187ab0844 -[UIViewController loadViewIfRequired] + 88
9 UIKit 0x187ab07b0 -[UIViewController view] + 32
10 UIKit 0x187fccfbc -[UIZoomViewController init] + 92
11 UIKit 0x187fcace8 -[UIClassicController _setupWindow] + 584
12 UIKit 0x187adc788 +[UIClassicController sharedClassicController] + 172
13 UIKit 0x187d47238 -[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:] + 724
14 UIKit 0x187d46cec __88-[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:]_block_invoke + 140
15 UIKit 0x187d46c44 -[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:] + 380
16 UIKit 0x187d3a578 -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 512
17 UIKit 0x187d39fe0 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 380
18 FrontBoardServices 0x18b549edc __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 248
19 FrontBoardServices 0x18b55962c __31-[FBSSerialQueue performAsync:]_block_invoke + 28
20 CoreFoundation 0x1832b6a28 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ +20
21 CoreFoundation 0x1832b5b30 __CFRunLoopDoBlocks + 312
22 CoreFoundation 0x1832b4154 __CFRunLoopRun + 1756
23 CoreFoundation 0x1831e10a4 CFRunLoopRunSpecific + 396
24 UIKit 0x187b1b3c8 -[UIApplication _run] + 552
25 UIKit 0x187b163c0 UIApplicationMain + 1488
26 MyApp 0x100016424 main (main.m:26)
27 libdyld.dylib 0x1945d2a08 start + 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001946eb270 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000194789224 pthread_kill + 108
2 libsystem_c.dylib 0x0000000194662b14 abort + 108
3 libc++abi.dylib 0x0000000193735414 abort_message + 112
4 libc++abi.dylib 0x0000000193754b88 default_terminate_handler() + 300
5 libobjc.A.dylib 0x0000000193f643bc _objc_terminate() + 124
6 libc++abi.dylib 0x0000000193751bb0 std::__terminate(void (*)()) + 12
7 libc++abi.dylib 0x0000000193751738 __cxa_rethrow + 140
8 libobjc.A.dylib 0x0000000193f64290 objc_exception_rethrow + 40
9 CoreFoundation 0x00000001831e1150 CFRunLoopRunSpecific + 568
10 UIKit 0x0000000187b1b3c4 -[UIApplication _run] + 548
11 UIKit 0x0000000187b163bc UIApplicationMain + 1484
12 MyApp 0x0000000100016420 main (main.m:26)
13 libdyld.dylib 0x00000001945d2a04 start + 0
Cheers
Try-
Loading the App through iTunes if you haven't already
Using something like TestFlight to launch beta tests of your app, and see if it crashes there
If you still don't encounter any problems, contact the App Review team through the Resolution Center in iTunesConnect, and sort out the problem with them
Note: I had a similar problem, where Apple rejected my app saying it was crashing when in truth it wasn't. When I contacted The Review Team, turned out that they had tested another app, and mixed up which one to reject! At times, they do make strange mistakes, so its always good to just contact them once. No harm no foul.
Hope I helped!
At finally I found the solution reading this. The crash was related to the font, but it happened only on the iPad device that I was not testing

App crashes in ad hoc archive but not when built from IDE

I'm trying to distribute my app on Testflight but it's crashing for everyone. Works fine when I build from XCode directly onto the device.
The app worked fine on Testflight about a week ago, but a bunch of changes were made.
Here's the crash log:
Last Exception Backtrace:
0 CoreFoundation 0x30fbaecb __exceptionPreprocess + 131
1 libobjc.A.dylib 0x3b751ce7 objc_exception_throw + 38
2 CoreFoundation 0x30fbae0d +[NSException raise:format:] + 112
3 Lexly 0x0022e0af 0x101000 + 1233071
4 Lexly 0x0021ac21 0x101000 + 1154081
5 Lexly 0x002212ad 0x101000 + 1180333
6 Lexly 0x00221f23 0x101000 + 1183523
7 Lexly 0x001659ad 0x101000 + 412077
8 Lexly 0x0015d7ed 0x101000 + 378861
9 Lexly 0x0015d587 0x101000 + 378247
10 Lexly 0x0015d4d7 0x101000 + 378071
11 Lexly 0x00130d69 0x101000 + 195945
12 Lexly 0x00130d19 0x101000 + 195865
13 UIKit 0x33806d03 -[UIViewController _setViewAppearState:isAnimating:] + 438
14 CoreFoundation 0x30f03aa3 __53-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]_block_invoke + 50
15 CoreFoundation 0x30efd4bd -[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 220
16 UIKit 0x33806e49 -[UIViewController _setViewAppearState:isAnimating:] + 764
17 UIKit 0x3386be5f -[UIViewController _executeAfterAppearanceBlock] + 54
18 UIKit 0x3386bde9 _applyBlockToCFArrayCopiedToStack + 316
19 UIKit 0x337e4b53 _afterCACommitHandler + 458
20 CoreFoundation 0x30f85ff9 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 20
21 CoreFoundation 0x30f83987 __CFRunLoopDoObservers + 286
22 CoreFoundation 0x30f83cd3 __CFRunLoopRun + 738
23 CoreFoundation 0x30eee729 CFRunLoopRunSpecific + 524
24 CoreFoundation 0x30eee50b CFRunLoopRunInMode + 106
25 GraphicsServices 0x35e4d6d3 GSEventRunModal + 138
26 UIKit 0x3384f871 UIApplicationMain + 1136
27 Lexly 0x0013084f 0x101000 + 194639
28 libdyld.dylib 0x3bc4fab7 start + 2
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3bd061f0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x3bd6e7b3 pthread_kill + 55
2 libsystem_c.dylib 0x3bcb6ff5 abort + 73
3 libc++abi.dylib 0x3b10598b abort_message + 71
4 libc++abi.dylib 0x3b11e6e3 default_terminate_handler() + 251
5 libobjc.A.dylib 0x3b751f7b _objc_terminate() + 191
6 libc++abi.dylib 0x3b11c1b1 std::__terminate(void (*)()) + 77
7 libc++abi.dylib 0x3b11bd13 __cxa_rethrow + 99
8 libobjc.A.dylib 0x3b751e2b objc_exception_rethrow + 39
9 CoreFoundation 0x30eee79b CFRunLoopRunSpecific + 639
10 CoreFoundation 0x30eee507 CFRunLoopRunInMode + 103
11 GraphicsServices 0x35e4d6cf GSEventRunModal + 135
12 UIKit 0x3384f86d UIApplicationMain + 1133
13 Lexly 0x0013084b 0x101000 + 194635
14 libdyld.dylib 0x3bc4fab5 start + 1
I tried the fix in this SO question but no luck:
iOS App with Static Lib ALWAYS crashes on Launch of Ad Hoc Archive Build. Cant reproduce in Xcode Debugger

Resources