Help with Crash

Can anyone help me with how to interpret this crash log? I have attached the crash stack, it is reported only a particular user device and was reported multiple times.

I have masked few keywords in the stack trace for confidentiality purpose

Last Exception Backtrace:

0 CoreFoundation 0x197a67928 __exceptionPreprocess + 216 (NSException.m:199)

1 libobjc.A.dylib 0x1ab804480 objc_exception_throw + 56 (objc-exception.mm:565)

2 CoreFoundation 0x197975380 +[NSException raise:format:arguments:] + 96 (NSException.m:146)

3 Foundation 0x198cadef8 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 128 (NSException.m:231)

4 UIKitCore 0x19a30c274 -[UIApplication _performBlockAfterCATransactionCommits:] + 400 (UIApplication.m:3031)

5 UIKitCore 0x19a34c320 -[UIWindow _noteOverlayInsetsDidChange] + 140 (UIWindow.m:2276)

6 UIKitCore 0x199c3d4b0 -[UIViewController _setContentOverlayInsets:andLeftMargin:rightMargin:] + 608 (UIViewController.m:856)

7 UIKitCore 0x199c3ee9c __121-[UIViewController __updateContentOverlayInsetsWithOurRect:inBoundsOfAncestorViewController:viaImmediateChildOfAncestor:]_block_invoke + 424 (UIViewController.m:1175)

8 UIKitCore 0x199c3e5a4 -[UIViewController __updateContentOverlayInsetsWithOurRect:inBoundsOfAncestorViewController:viaImmediateChildOfAncestor:] + 2620 (UIViewController.m:1236)

9 UIKitCore 0x199c3e9ec -[UIViewController _updateContentOverlayInsetsFromParentIfNecessary] + 612 (UIViewController.m:1025)

10 UIKitCore 0x199c3d718 -[UIViewController _updateContentOverlayInsetsForSelfAndChildren] + 84 (UIViewController.m:900)

11 UIKitCore 0x199c49f90 -[UIViewController _updateLayoutForStatusBarAndInterfaceOrientation] + 636 (UIViewController.m:4013)

12 UIKitCore 0x199c4eb24 -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] + 208 (UIViewController.m:5447)

13 UIKitCore 0x19a8040dc -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1244 (UIView.m:15144)

14 UIKitCore 0x19a7f8804 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 136 (UIView.m:11860)

Your application is triggering UIKit to do some work on a non-main thread (the exception is an assert that -[UIApplication _performBlockAfterCATransactionCommits:] is being called on the main thread).

You crash report indicates that the crashing thread is thread 3, but it doesn't report the specific code that is executing there, so its hard to know why thats happening, but given the exception back trace I suspect your trying to insert a subview from a view controller on a background thread, which is not supported.

Thanks for helping to narrow down, we have moved the code snippet to execute in the Main thread

Help with Crash
 
 
Q