ios application crashes with an incomprehensible error - ios

Good afternoon.
I have received app crash reports from users. In the Reports->Crashes (Xcode -> Organaizer) I found the messages (logs) I needed. Previously, when clicking on "open in project", Xcode opened the debugger at the crash site with a message (if it was due to nil or something). But now it only shows the error stack and that's it. The required class does not open, not to mention the place of the crash.
I suspect that the crash is related to some ui events. But I don't know how to decipher them in detail. Previously, I did not work with crashes in more detail and I do not know how to thoroughly analyze them.
Could you recommend any tutorial or articles? Could you suggest what might be causing the error. There were several crashes of the series until the user deleted the application. I am attaching the logs of the very first crash in this queue.
Thread 0 Crashed:
0 libobjc.A.dylib 0x00000001ed766090 objc_opt_class + 36 (objc-object.h:237)
1 UIKitCore 0x00000001d70b37ac -[UIWindow _windowInterfaceOrientation] + 24 (UIWindow.m:4960)
2 UIKitCore 0x00000001d7238030 -[UIWindow _sceneSafeAreaInsetsIncludingStatusBar:] + 52 (UIWindow.m:2591)
3 UIKitCore 0x00000001d70adfec -[UIScrollView _baseInsetsForAccessoryOnEdge:hasCustomClientInsets:accessorySize:additionalInsetFromEdge:] + 212 (UIScrollView.m:12675)
4 UIKitCore 0x00000001d739243c -[UIScrollView _effectiveHorizontalScrollIndicatorInsets] + 200 (UIScrollView.m:12795)
5 UIKitCore 0x00000001d7287b9c -[UIScrollView _layoutHorizontalScrollIndicatorWithBounds:effectiveInset:contentOffset:fraction:additionalInset:cornerAdjust:showing:recalcSize:verticalIndicatorFrame:] + 384 (UIScrollView.m:9506)
6 UIKitCore 0x00000001d72035c8 -[UIScrollView _adjustScrollerIndicators:alwaysShowingThem:] + 1296 (UIScrollView.m:9386)
7 UIKitCore 0x00000001d72c1ddc -[UIScrollView _updateForChangedScrollIndicatorRelatedInsets] + 140 (UIScrollView.m:3606)
8 UIKitCore 0x00000001d7153784 _UIScrollViewAdjustForOverlayInsetsChangeIfNecessary + 592 (UIScrollView.m:12877)
9 UIKitCore 0x00000001d816293c -[UIScrollView _updateForChangedEdgesConvertingSafeAreaToContentInsetWithOldSystemContentInset:oldEdgesPropagatingSafeAreaInsets:adjustContentOffsetIfNecessary:] + 116 (UIScrollView.m:2467)
10 UIKitCore 0x00000001d709cd9c -[UIScrollView setContentSize:] + 1816 (UIScrollView.m:2421)
11 UIKitCore 0x00000001d70596d4 -[UIScrollView _applyConstrainedContentSizeIfNecessary] + 112 (UIScrollView.m:1443)
12 UIKitCore 0x00000001d708362c -[UIScrollView layoutSubviews] + 60 (UIScrollView.m:1476)
13 UIKitCore 0x00000001d7074844 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2592 (UIView.m:18426)
14 QuartzCore 0x00000001d87ea1c0 CA::Layer::layout_if_needed(CA::Transaction*) + 532 (CALayer.mm:10116)
15 QuartzCore 0x00000001d87dc5fc CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 136 (CALayer.mm:2479)
16 QuartzCore 0x00000001d87f0f70 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 452 (CAContextInternal.mm:2612)
17 QuartzCore 0x00000001d87f9e78 CA::Transaction::commit() + 704 (CATransactionInternal.mm:449)
18 UIKitCore 0x00000001d70836d8 _UIApplicationFlushRunLoopCATransactionIfTooLate + 84 (UIApplication.m:2977)
19 UIKitCore 0x00000001d7053a38 __processEventQueue + 7412 (UIEventDispatcher.m:2639)
20 UIKitCore 0x00000001d7058c9c __eventFetcherSourceCallback + 172 (UIEventDispatcher.m:2668)
21 CoreFoundation 0x00000001d4b33f04 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1972)
22 CoreFoundation 0x00000001d4b44c90 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016)
23 CoreFoundation 0x00000001d4a7e184 __CFRunLoopDoSources0 + 268 (CFRunLoop.c:2053)
24 CoreFoundation 0x00000001d4a83b4c __CFRunLoopRun + 828 (CFRunLoop.c:2951)
25 CoreFoundation 0x00000001d4a976b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
26 GraphicsServices 0x00000001f0b31374 GSEventRunModal + 164 (GSEvent.c:2200)
27 UIKitCore 0x00000001d73fce88 -[UIApplication _run] + 1100 (UIApplication.m:3511)
28 UIKitCore 0x00000001d717e5ec UIApplicationMain + 364 (UIApplication.m:5064)
29 APPNAME 0x0000000100cafc60 main + 68 (UIView.swift:13)
30 dyld 0x00000001012f9ce4 start + 520 (dyldMain.cpp:879)
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x000000016030a130 x1: 0x000000021f701692 x2: 0x00000001012e1940 x3: 0x000000010133a328
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000f20
x8: 0x010000022db9944f x9: 0x000000021f701692 x10: 0x000000016cca86da x11: 0x01ff00015e030400
x12: 0x00000000000000bf x13: 0x000000015e030fd0 x14: 0x0000000000000018 x15: 0x000000022db99448
x16: 0x000000022db99448 x17: 0x000000022db99448 x18: 0x0000000000000000 x19: 0x000000016030a130
x20: 0x0000000000000000 x21: 0x0000000000000004 x22: 0x000000021e8f47df x23: 0x00000002838a6e00
x24: 0x0000000000000000 x25: 0x00000000000005d0 x26: 0x000000022db84840 x27: 0x0000000000000460
x28: 0x0000000000000068 fp: 0x000000016f153130 lr: 0x00000001d70b37ac
sp: 0x000000016f153120 pc: 0x00000001ed766090 cpsr: 0x60000000
esr: 0x92000047 (Data Abort) byte write Translation fault
Binary Images:
0x100ca8000 - 0x100e7ffff APPNAME arm64 <9132dc7750703059bb23bb964dc7c319> /private/var/containers/Bundle/Application/438CAE39-5E52-4E70-A046-55DC0EE12F36/APPNAME.app/APPNAME
0x1012e0000 - 0x101337fff dyld arm64e <d16b72c0d6193e4892622c10a1d3066f> /usr/lib/dyld
0x1d4a78000 - 0x1d4ecdfff CoreFoundation arm64e <d2716f2f688b3d51ba8b17e6553b209e> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1d5296000 - 0x1d5756fff CFNetwork arm64e <eae64611a84036fea69d5658f1bcf4d0> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x1d6266000 - 0x1d656efff Foundation arm64e <feeef9b1b0e63561adfa3ef0302d23f8> /System/Library/Frameworks/Foundation.framework/Foundation
0x1d6ee9000 - 0x1d8783fff UIKitCore arm64e <e6e89bb5b5863725bf8f4c85dcd443bd> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1d87aa000 - 0x1d8ab9fff QuartzCore arm64e <a491ae8b354b35c1ab22af42a96b6704> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x1de07a000 - 0x1de0a4fff AudioSession arm64e <37d438b9289d39b08b671b38de65305f> /System/Library/PrivateFrameworks/AudioSession.framework/AudioSession
0x1e405f000 - 0x1e675bfff WebCore arm64e <49f330352d3a3aa5bf5a4f25ca8b8c77> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x1ed760000 - 0x1ed79cfff libobjc.A.dylib arm64e <a196a0f6cadb325bbc1f5965e670f9b6> /usr/lib/libobjc.A.dylib
0x1f0b30000 - 0x1f0b38fff GraphicsServices arm64e <75a910dc87a43b3a8c0ea868b945f5d4> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x20c479000 - 0x20c4aefff libsystem_kernel.dylib arm64e <c2fcc05874803c14b4790064a3f843e3> /usr/lib/system/libsystem_kernel.dylib
0x245a95000 - 0x245aa0fff libsystem_pthread.dylib arm64e <b48efcbed4f7308ba3fa172e0ea78e33> /usr/lib/system/libsystem_pthread.dylib

Looks like the issue is because of change in content size of UIScrollView on changing the device orientation.
https://www.raywenderlich.com/2805-demystifying-ios-application-crash-logs
This tutorial on understanding crash logs might be helpful to you.
Thank you

Related

React iOS App crashes (Appgyver) while opening

I've build this app from a no-code platform (appgyver) that I think is using react-native to build the ipa file.
The app crashes as soon as it opens, I retrive the logs from the TestFlight report.
I don't have access at the moment to a MacBook so I can't inspect from Xcode.
Someone can understand what could be the problem from the Exception Backtrace?
Hardware Model: iPhone12,1
Process: RNVApp [6395]
Path: /private/var/containers/Bundle/Application/047A12BF-2DDD-4DC9-B98F-20362FF042B8/RNVApp.app/RNVApp
Identifier: ####
Version: 1.0.0 (1.0.0)
AppStoreTools: 13C90b
AppVariant: 1:iPhone12,1:15
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: #### [1754]
Date/Time: 2022-02-11 18:33:05.2037 +0100
Launch Time: 2022-02-11 18:33:04.1752 +0100
OS Version: iPhone OS 15.2.1 (19C63)
Release Type: User
Baseband Version: 3.01.02
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 5
Last Exception Backtrace:
0 CoreFoundation 0x181ccd0fc __exceptionPreprocess + 220 (NSException.m:200)
1 libobjc.A.dylib 0x19a507d64 objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation 0x181dd6564 _CFThrowFormattedException + 116 (CFObject.m:2072)
3 CoreFoundation 0x181dd3c88 -[__NSPlaceholderArray initWithObjects:count:].cold.3 + 52 (NSPlaceholderArray.m:132)
4 CoreFoundation 0x181c55198 -[__NSPlaceholderArray initWithObjects:count:] + 252 (NSPlaceholderArray.m:132)
5 CoreFoundation 0x181c81204 +[NSArray arrayWithObjects:count:] + 48 (NSArray.m:896)
6 DynamicFonts 0x1024c6d38 -[DynamicFonts loadFontWithData:callback:] + 204 (DynamicFonts.m:25)
7 DynamicFonts 0x1024c7358 -[DynamicFonts loadFont:callback:] + 1200 (DynamicFonts.m:93)
8 CoreFoundation 0x181c563a4 __invoking___ + 148
9 CoreFoundation 0x181c73b74 -[NSInvocation invoke] + 468 (NSForwarding.m:3378)
10 CoreFoundation 0x181caa9d4 -[NSInvocation invokeWithTarget:] + 80 (NSForwarding.m:3475)
11 React 0x1028c75c0 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 460 (RCTModuleMethod.mm:584)
12 React 0x1028c9730 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&) + 244 (RCTNativeModule.mm:114)
13 React 0x1028c94a0 operator() + 44 (RCTNativeModule.mm:75)
14 React 0x1028c94a0 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 88 (RCTNativeModule.mm:67)
15 libdispatch.dylib 0x18193d924 _dispatch_call_block_and_release + 32 (init.c:1517)
16 libdispatch.dylib 0x18193f670 _dispatch_client_callout + 20 (object.m:560)
17 libdispatch.dylib 0x181946df4 _dispatch_lane_serial_drain + 672 (inline_internal.h:2601)
18 libdispatch.dylib 0x181947968 _dispatch_lane_invoke + 392 (queue.c:3937)
19 libdispatch.dylib 0x1819521b8 _dispatch_workloop_worker_thread + 656 (queue.c:6727)
20 libsystem_pthread.dylib 0x1f26a30f4 _pthread_wqthread + 288 (pthread.c:2599)
21 libsystem_pthread.dylib 0x1f26a2e94 start_wqthread + 8
...
Thread 5 name:
Thread 5 Crashed:
0 libsystem_kernel.dylib 0x00000001b9207964 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001f26a9378 pthread_kill + 268 (pthread.c:1668)
2 libsystem_c.dylib 0x000000018cb90f50 abort + 164 (abort.c:118)
3 libc++abi.dylib 0x000000019a60fbc4 abort_message + 132 (abort_message.cpp:78)
4 libc++abi.dylib 0x000000019a600fd8 demangling_terminate_handler() + 332 (cxa_default_handlers.cpp:71)
5 libobjc.A.dylib 0x000000019a50de34 _objc_terminate() + 144 (objc-exception.mm:701)
6 libc++abi.dylib 0x000000019a60ef58 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x000000019a60eef4 std::terminate() + 64 (cxa_handlers.cpp:88)
8 libdispatch.dylib 0x000000018193f684 _dispatch_client_callout + 40 (object.m:563)
9 libdispatch.dylib 0x0000000181946df4 _dispatch_lane_serial_drain + 672 (inline_internal.h:2601)
10 libdispatch.dylib 0x0000000181947968 _dispatch_lane_invoke + 392 (queue.c:3937)
11 libdispatch.dylib 0x00000001819521b8 _dispatch_workloop_worker_thread + 656 (queue.c:6727)
12 libsystem_pthread.dylib 0x00000001f26a30f4 _pthread_wqthread + 288 (pthread.c:2599)
13 libsystem_pthread.dylib 0x00000001f26a2e94 start_wqthread + 8
...
Thread 5 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000019a6130ad x5: 0x000000016ddde440 x6: 0x000000000000006e x7: 0x0000000000000400
x8: 0xf08495dd375be3e9 x9: 0xf08495dc5a8613e9 x10: 0x0000000000000002 x11: 0x000000000000000b
x12: 0x000000009be1e045 x13: 0x000000001be1e000 x14: 0x0000000000000010 x15: 0x0000000000000002
x16: 0x0000000000000148 x17: 0x000000016dddf000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000004c03 x21: 0x000000016dddf0e0 x22: 0x0000000000000000 x23: 0x000000016dddf0e0
x24: 0x00000002812edee8 x25: 0x00000002829eafc0 x26: 0x0000000000000114 x27: 0x0000000000000000
x28: 0x00000002829eaf80 fp: 0x000000016ddde3b0 lr: 0x00000001f26a9378
sp: 0x000000016ddde390 pc: 0x00000001b9207964 cpsr: 0x40000000
esr: 0x56000080 Address size fault
...
Binary Images:
0x1022d8000 - 0x1022ebfff RNVApp arm64 <cf161f6820e430b78048721048c09503> /private/var/containers/Bundle/Application/047A12BF-2DDD-4DC9-B98F-20362FF042B8/RNVApp.app/RNVApp
0x1024c0000 - 0x1024c7fff DynamicFonts arm64 <55c2b85377843d2bbe44e845eb249372> /private/var/containers/Bundle/Application/047A12BF-2DDD-4DC9-B98F-20362FF042B8/RNVApp.app/Frameworks/DynamicFonts.framework/DynamicFonts
0x102564000 - 0x1025bbfff dyld arm64e <f94ccc7a6d1a33c7997ff611a6caa7e0> /usr/lib/dyld
0x10288c000 - 0x10292ffff React arm64 <b68dbcd4aaf43545b8c544c77c022c36> /private/var/containers/Bundle/Application/047A12BF-2DDD-4DC9-B98F-20362FF042B8/RNVApp.app/Frameworks/React.framework/React
0x18193b000 - 0x181981fff libdispatch.dylib arm64e <edd169e1d0db3808a19e99c1cd5a1c4c> /usr/lib/system/libdispatch.dylib
0x181c34000 - 0x182087fff CoreFoundation arm64e <16faa70c278c3561859ecec407c2dc7c> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x182912000 - 0x1833d8fff libnetwork.dylib arm64e <fb6fbf7c88273375a5006d440f277a49> /usr/lib/libnetwork.dylib
0x183457000 - 0x18375dfff Foundation arm64e <9618b2f2a4c23e07b7eed8d9e1bdeaec> /System/Library/Frameworks/Foundation.framework/Foundation
0x183b20000 - 0x1840dafff CoreGraphics arm64e <9b0d65be749036039fb1cc265bac2c3d> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x1840db000 - 0x185965fff UIKitCore arm64e <cd7f7ba2a2c63727aff69baab60cc6ab> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x18598b000 - 0x185c71fff QuartzCore arm64e <0594369d11dd39d9a98174984f490c0c> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x18cb71000 - 0x18cbeffff libsystem_c.dylib arm64e <f3afe30409793cba8338bebe9722ecd8> /usr/lib/system/libsystem_c.dylib
0x18cc48000 - 0x18df36fff JavaScriptCore arm64e <76eb30678ea839babee1daf713f7c91f> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
0x19a4f2000 - 0x19a52bfff libobjc.A.dylib arm64e <73e920f0e7ce394197d87a10dd2cd390> /usr/lib/libobjc.A.dylib
0x19a598000 - 0x19a5fbfff libc++.1.dylib arm64e <80e058ad22ad3b2f9155000fa060690e> /usr/lib/libc++.1.dylib
0x19a5fc000 - 0x19a615fff libc++abi.dylib arm64e <71b1e39fb291315daf46a4343e707387> /usr/lib/libc++abi.dylib
0x19d7dd000 - 0x19d7e5fff GraphicsServices arm64e <064a1bb60e413ad2a402fb563fc141f5> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1b9200000 - 0x1b9233fff libsystem_kernel.dylib arm64e <eb3e47f3395335839feefb6cff8a8d7a> /usr/lib/system/libsystem_kernel.dylib
0x1f26a2000 - 0x1f26adfff libsystem_pthread.dylib arm64e <c5c27e9d955739c9b9c65f6e7323ee1c> /usr/lib/system/libsystem_pthread.dylib

What's the reason of the crash of iOS app? Here are the crash logs

I've tried several devices, and no one crashes, but when I sent my build to Apple Review, they rejected it because it crashes on launch.
The first time that the app is launched, a view presents modally asking for some user preferences, and asking for allowing the legal documents. Every other time the app is launched, it displays a tab view controller.
I already Symbolicated the Crash Report
The crash logs:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Last Exception Backtrace:
0 CoreFoundation 0x18711586c __exceptionPreprocess + 220
1 libobjc.A.dylib 0x19c12ec50 objc_exception_throw + 59
2 CoreFoundation 0x18701d5c8 -[NSException raise] + 15
3 Foundation 0x18835ff58 -[NSObject+ 192344 (NSKeyValueCoding) setValue:forKey:] + 327
4 UIKitCore 0x18939edd8 -[UIViewController setValue:forKey:] + 95
5 UIKitCore 0x1896dbfa4 -[UIRuntimeOutletConnection connect] + 127
6 CoreFoundation 0x186ff50c8 -[NSArray makeObjectsPerformSelector:] + 251
7 UIKitCore 0x1896d7d6c -[UINib instantiateWithOwner:options:] + 1903
8 UIKitCore 0x1893a68c0 -[UIViewController loadView] + 591
9 UIKitCore 0x189395f24 -[UITableViewController loadView] + 99
10 UIKitCore 0x1893a6c7c -[UIViewController loadViewIfRequired] + 199
11 UIKitCore 0x1892e5a08 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 175
12 UIKitCore 0x1892e5d24 -[UINavigationController _startTransition:fromViewController:toViewController:] + 195
13 UIKitCore 0x1892e6bac -[UINavigationController _startDeferredTransitionIfNeeded:] + 879
14 UIKitCore 0x1892e7f88 -[UINavigationController __viewWillLayoutSubviews] + 167
15 UIKitCore 0x1892c9a18 -[UILayoutContainerView layoutSubviews] + 227
16 UIKitCore 0x18a017ec4 -[UIView+ 17915588 (CALayerDelegate) layoutSublayersOfLayer:] + 2503
17 QuartzCore 0x18a532644 -[CALayer layoutSublayers] + 307
18 QuartzCore 0x18a532b18 CA::Layer::layout_if_needed+ 1440536 (CA::Transaction*) + 523
19 QuartzCore 0x18a54730c CA::Layer::layout_and_display_if_needed+ 1524492 (CA::Transaction*) + 143
20 QuartzCore 0x18a48c640 CA::Context::commit_transaction+ 759360 (CA::Transaction*, double, double*) + 415
21 QuartzCore 0x18a4b7b08 CA::Transaction::commit+ 936712 () + 731
22 UIKitCore 0x189ae9f28 __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 83
23 CoreFoundation 0x18709149c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 27
24 CoreFoundation 0x1870906e4 __CFRunLoopDoBlocks + 407
25 CoreFoundation 0x18708aaa0 __CFRunLoopRun + 843
26 CoreFoundation 0x18708a21c CFRunLoopRunSpecific + 599
27 GraphicsServices 0x19ec54784 GSEventRunModal + 163
28 UIKitCore 0x189acaee8 -[UIApplication _run] + 1071
29 UIKitCore 0x189ad075c UIApplicationMain + 167
30 Drone License Quiz 0x1048dc3ec 0x1048cc000 + 66540
31 libdyld.dylib 0x186d4a6b0 start + 3
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001b5065414 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001d2bc0b50 pthread_kill + 272
2 libsystem_c.dylib 0x0000000190543bf4 __abort + 116
3 libsystem_c.dylib 0x0000000190543b80 __abort + 0
4 libc++abi.dylib 0x000000019c234cf8 __cxxabiv1::__aligned_malloc_with_fallback+ 81144 (unsigned long) + 0
5 libc++abi.dylib 0x000000019c225e4c demangling_unexpected_handler+ 20044 () + 0
6 libobjc.A.dylib 0x000000019c12ef64 _objc_terminate+ 28516 () + 144
7 libc++abi.dylib 0x000000019c2340e0 std::__terminate(void (*)+ 78048 ()) + 20
8 libc++abi.dylib 0x000000019c237150 __cxa_rethrow + 148
9 libobjc.A.dylib 0x000000019c12ee1c objc_exception_rethrow + 44
10 CoreFoundation 0x000000018708a308 CFRunLoopRunSpecific + 836
11 GraphicsServices 0x000000019ec54784 GSEventRunModal + 164
12 UIKitCore 0x0000000189acaee8 -[UIApplication _run] + 1072
13 UIKitCore 0x0000000189ad075c UIApplicationMain + 168
14 Drone License Quiz 0x00000001048dc3ec 0x1048cc000 + 66540
15 libdyld.dylib 0x0000000186d4a6b0 start + 4
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000989680 x6: 0x000000000000006e x7: 0x0000000000000e00
x8: 0x00000000000005b9 x9: 0x3f4aa2f53b055c8b x10: 0x00000000000003e8 x11: 0x0000000000000003
x12: 0x0000000000000000 x13: 0x0000000000000001 x14: 0x0000000000000010 x15: 0x0000000000000066
x16: 0x0000000000000148 x17: 0x00000001050438c0 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000000407 x21: 0x00000001050439a0 x22: 0x0000000000000001 x23: 0x00000002829d8010
x24: 0x0000000000000000 x25: 0x0000000000000001 x26: 0x0000000eb1e31100 x27: 0x00000001e9f64000
x28: 0x0000000000000001 fp: 0x000000016b5332d0 lr: 0x00000001d2bc0b50
sp: 0x000000016b5332b0 pc: 0x00000001b5065414 cpsr: 0x40000000
esr: 0x56000080 Address size fault

Core Data Exception coerceValueForKeyWithDescription

I'm having trouble fixing a non-reproducible crash that's only appearing on a couple user devices. The exception is raised while changing the properties of a Core Data managed object, and then saving those changes. The users report that their changes are not persisted next time they open the app after the crash. Here is the crash log up to the binary images:
Hardware Model: iPhone12,5
Process: Pupl [25152]
Path: /private/var/containers/Bundle/Application/E75455E2-43A9-4C5C-BEFF-3E64F5046322/Pupl.app/Pupl
Identifier: com.kevinolmats.Pupl
Version: 285 (1.0.1)
AppStoreTools: 12A7402a
AppVariant: 1:iPhone12,5:14
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.kevinolmats.Pupl [1530]
Date/Time: 2020-10-25 09:57:57.2646 -0600
Launch Time: 2020-10-25 09:48:56.9577 -0600
OS Version: iPhone OS 14.0.1 (18A393)
Release Type: User
Baseband Version: 2.00.01
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x1935665ac __exceptionPreprocess + 220 (NSException.m:199)
1 libobjc.A.dylib 0x1a75e042c objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreData 0x19961a648 _PFManagedObject_coerceValueForKeyWithDescription + 2004 (NSManagedObject.m:0)
3 CoreData 0x19961f6f4 _sharedIMPL_setvfk_core + 192 (NSManagedObject_Accessors.m:1412)
4 Pupl 0x100d96cac specialized WeightCategoryEditorViewModel.init(course:color:context:) + 596 (WeightCategoryEditorViewModel.swift:30)
5 Pupl 0x100d8d7a0 0x100d44000 + 300960
6 SwiftUI 0x199ed30b0 partial apply for implicit closure #2 in implicit closure #1 in DefaultListButtonStyle.ListButton.body.getter + 28 (PrimitiveButtonStyle.swift:47)
7 SwiftUI 0x199ddb9c4 thunk for #escaping #callee_guaranteed () -> () + 28 (<compiler-generated>:0)
8 SwiftUI 0x199e60e90 specialized closure #2 in PlatformItemList.containerSelectionBehavior.getter + 68 (<compiler-generated>:0)
9 SwiftUI 0x199efb3f8 ListCoreCoordinator.tableView(_:didSelectRowAt:) + 908 (ListCore_PhoneTV.swift:1250)
10 SwiftUI 0x199efb6e4 #objc ListCoreCoordinator.tableView(_:willBeginEditingRowAt:) + 136
11 UIKitCore 0x1960860d0 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:isCellMultiSelect:] + 1064 (UITableView.m:8278)
12 UIKitCore 0x196085c8c -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 112 (UITableView.m:8192)
13 UIKitCore 0x196086438 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 272 (UITableView.m:8317)
14 UIKitCore 0x19634b544 -[_UIAfterCACommitBlock run] + 72 (_UIAfterCACommitQueue.m:122)
15 UIKitCore 0x195e90400 _runAfterCACommitDeferredBlocks + 300 (UIApplication.m:2924)
16 UIKitCore 0x195e7f1bc _cleanUpAfterCAFlushAndRunDeferredBlocks + 204 (UIApplication.m:2902)
17 UIKitCore 0x195eb2648 _afterCACommitHandler + 80 (UIApplication.m:2958)
18 CoreFoundation 0x1934e2444 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 (CFRunLoop.c:1799)
19 CoreFoundation 0x1934dc858 __CFRunLoopDoObservers + 576 (CFRunLoop.c:1912)
20 CoreFoundation 0x1934dce08 __CFRunLoopRun + 1056 (CFRunLoop.c:2953)
21 CoreFoundation 0x1934dc4bc CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242)
22 GraphicsServices 0x1a9f61820 GSEventRunModal + 164 (GSEvent.c:2259)
23 UIKitCore 0x195e80734 -[UIApplication _run] + 1072 (UIApplication.m:3270)
24 UIKitCore 0x195e85e10 UIApplicationMain + 168 (UIApplication.m:4739)
25 SwiftUI 0x19a23d32c closure #1 in KitRendererCommon(_:) + 112 (UIKitApp.swift:34)
26 SwiftUI 0x19a23d2b8 runApp<A>(_:) + 220 (<compiler-generated>:0)
27 SwiftUI 0x199db6b08 static App.main() + 140 (App.swift:113)
28 Pupl 0x100d5311c $main + 56 (Assignment.swift:0)
29 Pupl 0x100d5311c main + 68
30 libdyld.dylib 0x1931a3e60 start + 4
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001bf49798c __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001daabfc74 pthread_kill + 272 (pthread.c:1375)
2 libsystem_c.dylib 0x000000019c668bb4 abort + 104 (abort.c:110)
3 libc++abi.dylib 0x00000001a76dfe24 abort_message + 132 (abort_message.cpp:76)
4 libc++abi.dylib 0x00000001a76d1434 demangling_terminate_handler() + 308 (cxa_default_handlers.cpp:67)
5 libobjc.A.dylib 0x00000001a75e0710 _objc_terminate() + 132 (objc-exception.mm:701)
6 libc++abi.dylib 0x00000001a76df2a8 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x00000001a76e2174 __cxa_rethrow + 148 (cxa_exception.cpp:617)
8 libobjc.A.dylib 0x00000001a75e05ec objc_exception_rethrow + 44 (objc-exception.mm:604)
9 CoreFoundation 0x00000001934dc5a8 CFRunLoopRunSpecific + 836 (CFRunLoop.c:3257)
10 GraphicsServices 0x00000001a9f61820 GSEventRunModal + 164 (GSEvent.c:2259)
11 UIKitCore 0x0000000195e80734 -[UIApplication _run] + 1072 (UIApplication.m:3270)
12 UIKitCore 0x0000000195e85e10 UIApplicationMain + 168 (UIApplication.m:4739)
13 SwiftUI 0x000000019a23d32c closure #1 in KitRendererCommon(_:) + 112 (UIKitApp.swift:34)
14 SwiftUI 0x000000019a23d2b8 runApp<A>(_:) + 220 (<compiler-generated>:0)
15 SwiftUI 0x0000000199db6b08 static App.main() + 140 (App.swift:113)
16 Pupl 0x0000000100d5311c $main + 56 (Assignment.swift:0)
17 Pupl 0x0000000100d5311c main + 68
18 libdyld.dylib 0x00000001931a3e60 start + 4
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000016f0bad10 x5: 0x000000016f0bb2c0 x6: 0x000000000000006e x7: 0x0000000000000700
x8: 0x00000000000005b9 x9: 0x0d58175f700a1725 x10: 0x0000000000000002 x11: 0x0000000000000003
x12: 0x0000000000000000 x13: 0x0000000000000001 x14: 0x0000000000000010 x15: 0x0000000000000046
x16: 0x0000000000000148 x17: 0x00000001010838c0 x18: 0x000000010b9b6d8c x19: 0x0000000000000006
x20: 0x0000000000000407 x21: 0x00000001010839a0 x22: 0x0000000000000001 x23: 0x00000002835989d0
x24: 0x0000000000000000 x25: 0x0000000000000001 x26: 0x0000000eb1e31100 x27: 0x00000001e70b3000
x28: 0x0000000000000001 fp: 0x000000016f0bb220 lr: 0x00000001daabfc74
sp: 0x000000016f0bb200 pc: 0x00000001bf49798c cpsr: 0x40000000
esr: 0x56000080 Address size fault
Note the WeightCategoryEditorViewModel.init on frame 4. This is the frame that changes between crash logs, but the subsequent frames are the same. Here's the init for the WeightCategoryEditorViewModel:
/// Creates a new model which edits the given weight category.
init(weightCategory: WeightCategory, color: Color = .accentColor, context: NSManagedObjectContext) {
self.context = context
self.weightCategory = weightCategory
self.accentColor = color
self.isEditing = true
self.name = weightCategory.name
self.weight = String(format: "%.0f", weightCategory.weight)
}
Anyone know what my next steps should be?

My app Crashes in Testflight on iOS 13+ Only

I recently submitted an app to Tesflight for test, the app work fine for iOS 12 but consistently crashes at the same place for iOS 13.6.1 .
The app is in Testflight and is compiled with Xcode 11.5
Can anyone help me to solve this problem?
this is crash log can anyone make a suggestion on what's going wrong ?
Incident Identifier: A516654B-34B8-411D-B6D5-12BEC3B9D2CE
Hardware Model: iPhone9,3
Process: ********* [3921]
Path: /private/var/containers/Bundle/Application/******
Identifier: com.*****
Version: 3 (1.0.1)
AppStoreTools: 11E801a
AppVariant: 1:iPhone9,3:13
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.******* [1594]
Date/Time: 2020-08-29 20:30:02.3612 +0200
Launch Time: 2020-08-29 20:29:50.4227 +0200
OS Version: iPhone OS 13.6.1 (17G80)
Release Type: User
Baseband Version: 4.03.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 2
Last Exception Backtrace:
0 CoreFoundation 0x199c79654 __exceptionPreprocess + 224 (NSException.m:199)
1 libobjc.A.dylib 0x19999bbcc objc_exception_throw + 56 (objc-exception.mm:565)
2 CoreFoundation 0x199b7c6ec +[NSException raise:format:arguments:] + 96 (NSException.m:146)
3 Foundation 0x199fc216c -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 128 (NSException.m:231)
4 FrontBoardServices 0x19ee48e84 -[FBSSerialQueue assertOnQueue] + 228 (FBSSerialQueue.m:98)
5 FrontBoardServices 0x19edfed88 -[FBSSceneImpl updateClientSettings:withTransitionContext:] + 76 (FBSSceneImpl.m:190)
6 FrontBoardServices 0x19edfefe8 -[FBSSceneImpl updateClientSettingsWithTransitionBlock:] + 152 (FBSSceneImpl.m:213)
7 FrontBoardServices 0x19edfeef8 -[FBSSceneImpl updateClientSettingsWithBlock:] + 112 (FBSSceneImpl.m:203)
8 UIKitCore 0x19d8a46c0 -[FBSScene(UIApp) updateUIClientSettingsWithBlock:] + 168 (FBSScene+UIApp.m:41)
9 UIKitCore 0x19dd3c448 -[UIApplication setProximityEventsEnabled:] + 108 (UIApplication.m:9203)
10 UIKitCore 0x19d99cd50 -[UIDevice setProximityMonitoringEnabled:] + 112 (UIDevice.m:890)
11 *** 0x100276cec -[ProximityHelper startProximitySensor] + 100 (ProximityHelper.m:53)
12 *** 0x10025347c -[RecordSound performRecord:] + 656 (RecordSound.m:172)
13 *** 0x10009c180 -[SoundRecordManager startCalibrationRecord:] + 200 (SoundRecordManager.m:65)
14 CoreFoundation 0x199c7f8c0 __invoking___ + 144
15 CoreFoundation 0x199b50a70 -[NSInvocation invoke] + 300 (NSForwarding.m:3312)
16 CoreFoundation 0x199b51648 -[NSInvocation invokeWithTarget:] + 76 (NSForwarding.m:3418)
17 **** 0x10015bef0 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 460 (RCTModuleMethod.mm:584)
18 **** 0x10015dfdc facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&) + 244 (RCTNativeModule.mm:114)
19 **** 0x10015dd40 operator() + 44 (RCTNativeModule.mm:75)
20 **** 0x10015dd40 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 88 (RCTNativeModule.mm:67)
21 libdispatch.dylib 0x19993e9a8 _dispatch_call_block_and_release + 24 (init.c:1408)
22 libdispatch.dylib 0x19993f524 _dispatch_client_callout + 16 (object.m:495)
23 libdispatch.dylib 0x1998eb8a4 _dispatch_lane_serial_drain$VARIANT$mp + 608 (inline_internal.h:2484)
24 libdispatch.dylib 0x1998ec294 _dispatch_lane_invoke$VARIANT$mp + 416 (queue.c:3863)
25 libdispatch.dylib 0x1998f578c _dispatch_workloop_worker_thread + 588 (queue.c:6445)
26 libsystem_pthread.dylib 0x199990b74 _pthread_wqthread + 272 (pthread.c:2351)
27 libsystem_pthread.dylib 0x199993740 start_wqthread + 8
Thread 2 name:
Thread 2 Crashed:
0 libsystem_kernel.dylib 0x0000000199a6ed88 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001999871e8 pthread_kill$VARIANT$mp + 136 (pthread.c:1458)
2 libsystem_c.dylib 0x00000001998da934 abort + 100 (abort.c:110)
3 libc++abi.dylib 0x0000000199a42cc0 abort_message + 128 (abort_message.cpp:76)
4 libc++abi.dylib 0x0000000199a34e10 demangling_terminate_handler() + 296 (cxa_default_handlers.cpp:65)
5 libobjc.A.dylib 0x000000019999be80 _objc_terminate() + 124 (objc-exception.mm:701)
6 libc++abi.dylib 0x0000000199a4214c std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x0000000199a420e4 std::terminate() + 44 (cxa_handlers.cpp:88)
8 libdispatch.dylib 0x000000019993f538 _dispatch_client_callout + 36 (object.m:498)
9 libdispatch.dylib 0x00000001998eb8a4 _dispatch_lane_serial_drain$VARIANT$mp + 608 (inline_internal.h:2484)
10 libdispatch.dylib 0x00000001998ec294 _dispatch_lane_invoke$VARIANT$mp + 416 (queue.c:3863)
11 libdispatch.dylib 0x00000001998f578c _dispatch_workloop_worker_thread + 588 (queue.c:6445)
12 libsystem_pthread.dylib 0x0000000199990b74 _pthread_wqthread + 272 (pthread.c:2351)
13 libsystem_pthread.dylib 0x0000000199993740 start_wqthread + 8
Thread 2 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000199a45f29 x5: 0x000000016ff0a450 x6: 0x000000000000006e x7: 0xffffffffffffffec
x8: 0x000000016ff0b000 x9: 0x32fb60d336d77b95 x10: 0x0000000199987160 x11: 0x000000000000000b
x12: 0x00000001d55f9080 x13: 0x0000000000000001 x14: 0x0000000000000010 x15: 0x0000000000000004
x16: 0x0000000000000148 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000001803 x21: 0x000000016ff0a450 x22: 0x000000016ff0b0e0 x23: 0x0000000000000000
x24: 0x0000000000000000 x25: 0x0000000281d6a800 x26: 0x00000002826015c0 x27: 0x0000000000000000
x28: 0x00000002826015c0 fp: 0x000000016ff0a3b0 lr: 0x00000001999871e8
sp: 0x000000016ff0a390 pc: 0x0000000199a6ed88 cpsr: 0x40000000
esr: 0x56000080 Address size fault
the code of proximity helper :
49 - (void) startProximitySensor {
50 if (!self.activatedByApp) return;
51 [timesChanged removeAllObjects];
52 UIDevice *device = [UIDevice currentDevice];
53 device.proximityMonitoringEnabled = YES;
54
55
56 [[NSNotificationCenter defaultCenter]
57 addObserver:self
58 selector:#selector(proximityChanged:)
59 name: proximityNotificationString
60 object:nil];
61 }
In this app version, I don't need proximity helper so I deleted his call from the library and it worked on iOS 13+

Crash in production build only, EXC_BAD_ACCESS KERN_INVALID_ADDRESS

Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000
2 UIKitCore -[UIView traitCollection] + 176
This crash is only happening in production and on iOS 12 devices. The only line in the crash report that is part of my app is the AppDelegate class definition which obviously isn't helpful.
I have tried opening it up using the Crashes Organizer and it doesn't seem to know what to do when I hit "Open in Project". This crash is mostly happening in iOS 12 but have seen a couple instances on iOS 11.
Hardware Model: iPhone9,2
Version: 1 (4.2.1)
AppStoreTools: 10B63
AppVariant: 1:iPhone9,2:12
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Date/Time: 2018-12-31 22:15:33.6264 -0600
Launch Time: 2018-12-31 22:14:09.4376 -0600
OS Version: iPhone OS 12.1.2 (16C101)
Baseband Version: 5.30.00
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4374282240
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 0000000104ba4000-0000000104ba8000 [ 16K] r-x/r-x SM=COW ...p/MyApp
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [6155]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libobjc.A.dylib 0x000000019bad487c lookUpImpOrForward + 156 (objc-runtime-new.h:1269)
1 libobjc.A.dylib 0x000000019bad4870 lookUpImpOrForward + 144 (objc-runtime-new.mm:514)
2 libobjc.A.dylib 0x000000019bae1098 _objc_msgSend_uncached + 56
3 UIKitCore 0x00000001ca08e5a0 -[UIView traitCollection] + 176 (UIView.m:0)
4 UIKitCore 0x00000001c982ebdc -[UIGestureRecognizer _inForceCapableEnvironment] + 48 (UIGestureRecognizer.m:1667)
5 UIKitCore 0x00000001c982891c -[UIGestureRecognizer setView:] + 324 (UIGestureRecognizer.m:468)
6 UIKitCore 0x00000001c9832e34 -[UILongPressGestureRecognizer setView:] + 84 (UILongPressGestureRecognizer.m:186)
7 UIKitCore 0x00000001ca0b2770 -[UIView(Internal) _addGestureRecognizer:atEnd:] + 252 (UIView.m:14622)
8 UIKitCore 0x00000001c9ea87ec -[UITextInteraction didMoveToView:] + 252 (UITextInteraction.m:310)
9 UIKitCore 0x00000001ca0b5ff0 _setInteractionView + 84 (UIView.m:15244)
10 UIKitCore 0x00000001ca0b5ed4 -[UIView(Dragging) addInteraction:] + 208 (UIView.m:15260)
11 UIKitCore 0x00000001c9ea88bc -[UITextInteraction didMoveToView:] + 460 (UITextInteraction.m:314)
12 UIKitCore 0x00000001ca0b5ff0 _setInteractionView + 84 (UIView.m:15244)
13 UIKitCore 0x00000001ca0b5ed4 -[UIView(Dragging) addInteraction:] + 208 (UIView.m:15260)
14 UIKitCore 0x00000001c9ea88bc -[UITextInteraction didMoveToView:] + 460 (UITextInteraction.m:314)
15 UIKitCore 0x00000001ca0b5ff0 _setInteractionView + 84 (UIView.m:15244)
16 UIKitCore 0x00000001ca0b5ed4 -[UIView(Dragging) addInteraction:] + 208 (UIView.m:15260)
17 UIKitCore 0x00000001c9ea88bc -[UITextInteraction didMoveToView:] + 460 (UITextInteraction.m:314)
18 UIKitCore 0x00000001ca0b5ff0 _setInteractionView + 84 (UIView.m:15244)
19 UIKitCore 0x00000001ca0b5ed4 -[UIView(Dragging) addInteraction:] + 208 (UIView.m:15260)
20 UIKitCore 0x00000001c9ebfc74 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) addGestureRecognizersToView:] + 1192 (UITextInteractionAssistant.m:794)
21 UIKitCore 0x00000001c9ebf724 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) setGestureRecognizers] + 204 (UITextInteractionAssistant.m:0)
22 UIKitCore 0x00000001c9ebe1e8 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) initWithView:textInteractionSet:] + 124 (UITextInteractionAssistant.m:226)
23 UIKitCore 0x00000001c9f14924 -[UITextField _createInteractionAssistant] + 80 (UITextField.m:7609)
24 UIKitCore 0x00000001c9f149c0 -[UITextField willMoveToWindow:] + 132 (UITextField.m:7620)
25 UIKitCore 0x00000001ca0a0b18 -[UIView(Hierarchy) _willMoveToWindow:] + 804 (UIView.m:10262)
26 UIKitCore 0x00000001ca0b0f2c -[UIView(Internal) _addSubview:positioned:relativeTo:] + 424 (UIView.m:14253)
27 UIKitCore 0x00000001ca086a68 -[UIView _setTraitStorageSubviews:] + 548 (UIView.m:0)
28 Foundation 0x000000019d2a529c -[NSObject(NSKeyValueCoding) setValue:forKey:] + 272 (NSKeyValueCoding.m:418)
29 UIKitCore 0x00000001ca0b702c -[UIView(CALayerDelegate) setValue:forKey:] + 180 (UIView.m:15515)
30 UIKitCore 0x00000001c98ba6d4 -[NSObject(UIIBPrivate) _uikit_applyValueFromTraitStorage:forKeyPath:] + 60 (_UITraitStorage.m:39)
31 UIKitCore 0x00000001c98bc828 -[_UIRelationshipTraitStorage applyRecordsMatchingTraitCollection:] + 1220 (_UITraitStorage.m:395)
32 UIKitCore 0x00000001c98baec4 -[NSObject(_UITraitStorageAccessors) _applyTraitStorageRecordsForTraitCollection:] + 244 (_UITraitStorage.m:156)
33 UIKitCore 0x00000001ca08e9bc -[UIView _traitCollectionDidChangeInternal:] + 104 (UIView.m:5513)
34 UIKitCore 0x00000001ca08ecdc -[UIView _wrappedProcessTraitCollectionDidChange:forceNotification:] + 128 (UIView.m:5573)
35 UIKitCore 0x00000001c9ffa4e0 -[UIView(AdditionalLayoutSupport) _withUnsatisfiableConstraintsLoggingSuspendedIfEngineDelegateEx... + 116 (NSLayoutConstraint_UIKitAdditions.m:4172)
36 UIKitCore 0x00000001ca08efd0 -[UIView _processDidChangeRecursivelyFromOldTraits:toCurrentTraits:forceNotification:] + 132 (UIView.m:5604)
37 UIKitCore 0x00000001ca0b776c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1268 (UIView.m:15686)
38 QuartzCore 0x00000001a0ef5b74 -[CALayer layoutSublayers] + 184 (CALayer.mm:9445)
39 QuartzCore 0x00000001a0efab2c CA::Layer::layout_if_needed(CA::Transaction*) + 324 (CALayer.mm:9325)
40 QuartzCore 0x00000001a0e5944c CA::Context::commit_transaction(CA::Transaction*) + 340 (CALayer.mm:2463)
41 QuartzCore 0x00000001a0e87d7c CA::Transaction::commit() + 608 (CATransactionInternal.mm:425)
42 UIKitCore 0x00000001c9c37a3c _afterCACommitHandler + 256 (UIApplication.m:2782)
43 CoreFoundation 0x000000019c8887cc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1822)
44 CoreFoundation 0x000000019c883460 __CFRunLoopDoObservers + 412 (CFRunLoop.c:1932)
45 CoreFoundation 0x000000019c883a00 __CFRunLoopRun + 1264 (CFRunLoop.c:2950)
46 CoreFoundation 0x000000019c8831f0 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3247)
47 GraphicsServices 0x000000019eafc584 GSEventRunModal + 100 (GSEvent.c:2245)
48 UIKitCore 0x00000001c9c0ed40 UIApplicationMain + 212 (UIApplication.m:4347)
49 MyApp 0x0000000104babe54 0x104ba4000 + 32340
50 libdyld.dylib 0x000000019c342bb4 start + 4
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000001 x1: 0x0000000104fa6e40 x2: 0x000000028388fcc0 x3: 0x0000000000000001
x4: 0x0000000000000000 x5: 0x0000000000000001 x6: 0x00000002812ba0a0 x7: 0x0000000000000d90
x8: 0x0000000000000000 x9: 0x2c49510395fc0044 x10: 0x0000000104f76998 x11: 0x0000000104c8b43c
x12: 0x0000000104f8f1f8 x13: 0x0000000104fa6e40 x14: 0x000000000000000a x15: 0x00000001ca1a3890
x16: 0x0000000104fa6e40 x17: 0xc00000019c000000 x18: 0x0000000000000000 x19: 0x00000001d6841ed8
x20: 0x0000000283665e00 x21: 0x00000001ca156324 x22: 0x0000000104fa6e40 x23: 0x0000000000000001
x24: 0x0000000000000001 x25: 0x0000000000000001 x26: 0x0000000105572c60 x27: 0x000000012a229a00
x28: 0x0000000100000002 fp: 0x000000016b256a30 lr: 0x000000019bad4870
sp: 0x000000016b2569d0 pc: 0x000000019bad487c cpsr: 0x60000000

Resources