swift – UIFlowLayoutRow watchdog termination crash on iOS


My app metrics reveals that some gadgets crash with the next error.

UIKitCore  -[_UIFlowLayoutRow layoutRow]
UIKitCore  -[_UIFlowLayoutRow layoutRow]
UIKitCore  -[_UIFlowLayoutSection computeLayoutInRect:forSection:invalidating:invalidationContext:]
UIKitCore  __76-[UICollectionViewFlowLayout _updateItemsLayoutForRect:allowsPartialUpdate:]_block_invoke
CoreFoundation  __NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__
CoreFoundation  -[__NSArrayM enumerateObjectsWithOptions:usingBlock:]
UIKitCore  -[UICollectionViewFlowLayout _updateItemsLayoutForRect:allowsPartialUpdate:]
UIKitCore  -[UICollectionViewFlowLayout _fetchItemsInfoForRect:]
UIKitCore  -[UICollectionViewFlowLayout prepareLayout]
UIKitCore  -[UICollectionViewData _prepareToLoadData]
UIKitCore  -[UICollectionViewData validateLayoutInRect:]
UIKitCore  -[UICollectionViewData layoutAttributesForElementsInRect:]
UIKitCore  -[UICollectionView _indexPathForItemAtPoint:]
UIKitCore  -[UICollectionView indexPathForItemAtPoint:]
MyApp  - [MyAppCollectionViewController gestureRecognizer:shouldReceiveTouch:]
UIKitCore  -[UIGestureRecognizer _delegateShouldReceiveTouch:forEvent:]
UIKitCore  -[UIGestureRecognizer _internalShouldReceiveTouch:forEvent:recognizerView:]
UIKitCore  __80-[UITouchesEvent _addGestureRecognizersForGestureOwner:toTouch:forContinuation:]_block_invoke
UIKitCore  __70-[UITouchesEvent _collectGestureRecognizersForGestureOwner:withBlock:]_block_invoke
UIKitCore  -[UITouchesEvent _collectGestureRecognizersForGestureOwner:withBlock:]
UIKitCore  -[UITouchesEvent _addGestureRecognizersForGestureOwner:toTouch:forContinuation:]
UIKitCore  -[UITouchesEvent _addTouch:forDelayedDelivery:]
UIKitCore  _AddTouchToEventAndDetermineIfNeedsCancel
UIKitCore  ____updateTouchesWithDigitizerEventAndDetermineIfShouldSend_block_invoke.51
CoreFoundation  __NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__
CoreFoundation  ____NSDictionaryEnumerate_block_invoke_2
CoreFoundation  CFBasicHashApply
CoreFoundation  __NSDictionaryEnumerate
UIKitCore  __dispatchPreprocessedEventFromEventQueue
UIKitCore  __processEventQueue
UIKitCore  __eventFetcherSourceCallback
CoreFoundation  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
CoreFoundation  __CFRunLoopDoSource0
CoreFoundation  __CFRunLoopDoSources0
CoreFoundation  __CFRunLoopRun
CoreFoundation  CFRunLoopRunSpecific
GraphicsServices  GSEventRunModal
UIKitCore  -[UIApplication _run]
UIKitCore  UIApplicationMain

There’s a related unanswered query on Apple Developer discussion board. I checked Apple Watchdog termination documentation but it surely did not assist a lot.

I attempted to breed it on my iPhone or simulator however I could not. Did anybody have the identical challenge earlier than and the way did you repair it?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles