Understanding This Crash Report - ios

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

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

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

understanding crashlytics report

I've embedded crashlytics in my ios app. run the application and it crashed... I've got the following information on my dashboard and I don't know how to read the report, and what to fix.
the issue reported is:
1 CoreFoundation objectIsKindOfClass
infographics shows:
21.3GB free space
23 MB free RAM
13% RAM (when looking in more details)
76% disk space (when looking in more details)
the data
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x50000008
0 libobjc.A.dylib _cache_getImp + 3
2 libobjc.A.dylib class_respondsToSelector + 30
3 CoreFoundation objectIsKindOfClass + 36
4 CoreFoundation __handleUncaughtException + 68
13 UIKit UIApplicationMain + 1120
14 MyApp main.m line 16
the raw info looks like this:
Thread : Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x39c33584 _cache_getImp + 3
1 libobjc.A.dylib 0x39c33fa5 lookUpMethod + 28
2 libobjc.A.dylib 0x39c351e7 class_respondsToSelector + 30
3 CoreFoundation 0x31f3d755 objectIsKindOfClass + 36
4 CoreFoundation 0x31f3d4a1 __handleUncaughtException + 68
5 libobjc.A.dylib 0x39c38a49 _objc_terminate() + 128
6 libc++abi.dylib 0x3968511b safe_handler_caller(void (*)()) + 78
7 libc++abi.dylib 0x396851b4 std::terminate() + 19
8 libc++abi.dylib 0x3968662b __cxa_rethrow + 94
9 libobjc.A.dylib 0x39c389b5 objc_exception_rethrow + 12
10 CoreFoundation 0x31e842a1 CFRunLoopRunSpecific + 456
11 CoreFoundation 0x31e840c9 CFRunLoopRunInMode + 104
12 GraphicsServices 0x35a6333b GSEventRunModal + 74
13 UIKit 0x33da02b9 UIApplicationMain + 1120
14 MyApp 0x000af5a1 main (main.m:16)
You can follow this tutorial to understand the crash report
https://www.raywenderlich.com/23704/demystifying-ios-application-crash-logs
.
Hope it helps you

App crashes in the thread named com.apple.CFURLCACHE_work_queue

My app crashed in the thread named com.apple.CFURLCACHE_work_queue and the crash logs doesn't seem to provide any clues for me to find a bug or mistake =(
Thread 10 name: Dispatch queue: com.apple.CFURLCACHE_work_queue
Thread 10 Crashed:
0 libsystem_kernel.dylib 0x32e93350 __pthread_kill + 8
1 libsystem_c.dylib 0x3b04011e pthread_kill + 54
2 libsystem_c.dylib 0x3b07c96e abort + 90
3 libc++abi.dylib 0x343ebd4a abort_message + 70
4 libc++abi.dylib 0x343e8ff4 default_terminate() + 20
5 libobjc.A.dylib 0x3559fa74 _objc_terminate() + 144
6 libc++abi.dylib 0x343e9078 safe_handler_caller(void (*)()) + 76
7 libc++abi.dylib 0x343e9110 std::terminate() + 16
8 libc++abi.dylib 0x343ea50e __cxa_throw + 118
9 libobjc.A.dylib 0x3559f9ba objc_exception_throw + 90
10 Foundation 0x34d42b60 _NSOutOfMemoryErrorHandler + 56
11 CoreFoundation 0x3725130a __CFDataHandleOutOfMemory + 90
12 CoreFoundation 0x37251458 __CFDataGrow + 288
13 CoreFoundation 0x371d6134 CFDataReplaceBytes + 360
14 CoreFoundation 0x371e3a9a CFDataAppendBytes + 82
15 CFNetwork 0x33150438 CopyAllDataFromDataArray(__CFArray const*) + 104
16 CFNetwork 0x331509ae __CFURLCache::ExecuteSQLInsert(_CFCachedURLResponse const*, __CFString const*, _CFURLRequest const*) + 370
17 CFNetwork 0x3314ec62 __CFURLCache::AddCachedResponseForRequest(__CFURLCacheNode*, _CFCachedURLResponse const*, _CFURLRequest const*) + 58
18 CFNetwork 0x3314eab8 __CFURLCache::ProcessCacheTasks0(bool) + 140
19 CFNetwork 0x3314ea1c __CFURLCache::ProcessCacheTasks(bool) + 32
20 CFNetwork 0x3314e8f0 __CFURLCache::_CFURLCacheTimerCallback0() + 280
21 CFNetwork 0x3314e7c8 __CFURLCache::_CFURLCacheTimerCallback(void*) + 28
22 libdispatch.dylib 0x35f86134 _dispatch_source_invoke$VARIANT$mp + 248
23 libdispatch.dylib 0x35f83e8e _dispatch_queue_drain$VARIANT$mp + 78
24 libdispatch.dylib 0x35f83dbc _dispatch_queue_invoke$VARIANT$mp + 36
25 libdispatch.dylib 0x35f8491a _dispatch_root_queue_drain + 182
26 libdispatch.dylib 0x35f84abc _dispatch_worker_thread2 + 80
27 libsystem_c.dylib 0x3b017a0e _pthread_wqthread + 358
28 libsystem_c.dylib 0x3b0178a0 start_wqthread + 4
any idea or clue of why this happens?
I guess it has something to do with NSURLCache, but I don't manipulate or even create that object in my app.
I'm using Xcode 4.5 GM - I know it's not publicly released yet - and AFNetworking 1.0RC3 for network communication and downloading image data
From the look of things in numbers 10 and 11, it ran out of memory and threw an exception, maybe as part of some kind of assertion.
You will probably find exception information in the console log for the device. If you can connect your device to your Mac, you can access this data in Xcode. Devices don't keep much console data, so it is best to get the log very soon after encountering the error.

iOS symbolicate crash log only symbolicates a few lines

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.

Resources