Сбой моментального снимка дифференцируемого источника данных UITableView
В моем приложении я вызываю обновление моментального снимка различного источника данных в основном потоке, и я не вижу сбоев во время отладки, но мои клиенты получают сбой случайным образом. Пожалуйста, найдите приведенный ниже журнал сбоев.
Crashed: com.apple.uikit.datasource.diffing
0 libsystem_platform.dylib 0x1de4036dc _platform_memmove + 220
1 CoreAutoLayout 0x1a88d4830 _NSBitSetResize + 240
2 CoreAutoLayout 0x1a88d470c NSBitSetAddIndex + 56
3 CoreAutoLayout 0x1a88f20c8 NSISLinExpEnumerateVars + 96
4 CoreAutoLayout 0x1a88dff54 _row_setHead + 196
5 CoreAutoLayout 0x1a88dfd30 -[NSISEngine tryAddingDirectly:] + 212
6 CoreAutoLayout 0x1a88e38c4 -[NSISEngine _tryToAddConstraintWithMarkerEngineVar:row:mutuallyExclusiveConstraints:] + 136
7 CoreAutoLayout 0x1a88e3648 -[NSISEngine tryToAddConstraintWithMarker:expression:mutuallyExclusiveConstraints:] + 552
8 CoreAutoLayout 0x1a88f85f0 -[NSLayoutConstraint _addLoweredExpression:toEngine:lastLoweredConstantWasRounded:mutuallyExclusiveConstraints:] + 260
9 CoreAutoLayout 0x1a88fbeb0 -[NSLayoutConstraint _addToEngine:mutuallyExclusiveConstraints:] + 168
10 UIKitCore 0x19641f534 -[UIView(UIConstraintBasedLayout) _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:] + 580
11 UIKitCore 0x19641f9f0 -[UIView(UIConstraintBasedLayout) _tryToAddConstraintWithoutUpdatingConstraintsArray:roundingAdjustment:mutuallyExclusiveConstraints:] + 40
12 UIKitCore 0x19642012c -[UIView(UIConstraintBasedLayout) nsli_addConstraint:] + 84
13 UIKitCore 0x19642446c -[UIView(UIConstraintBasedLayout) _updateContentSizeConstraints] + 716
14 UIKitCore 0x19642e328 -[UIView(AdditionalLayoutSupport) _updateSystemConstraints] + 128
15 UIKitCore 0x19642cf9c -[UIView(AdditionalLayoutSupport) _sendUpdateConstraintsIfNecessaryForSecondPass:] + 484
16 UIKitCore 0x19642d454 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 948
17 UIKitCore 0x19642d334 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 660
18 UIKitCore 0x19642d334 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 660
19 UIKitCore 0x19642d334 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 660
20 CoreAutoLayout 0x1a88e251c -[NSISEngine withBehaviors:performModifications:] + 88
21 UIKitCore 0x19642d6b0 -[UIView(AdditionalLayoutSupport) _recursiveUpdateConstraintsIfNeededCollectingViews:forSecondPass:] + 148
22 UIKitCore 0x19642d334 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 660
23 UIKitCore 0x19642dc10 __100-[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:]_block_invoke + 116
24 UIKitCore 0x19642d7d0 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:] + 188
25 UIKitCore 0x19642e8b4 -[UIView(AdditionalLayoutSupport) _updateConstraintsAtEngineLevelIfNeededWithViewForVariableChangeNotifications:] + 448
26 UIKitCore 0x196508fe8 -[UIView _updateConstraintsAsNecessaryAndApplyLayoutFromEngine] + 404
27 UIKitCore 0x19651cf30 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2612
28 QuartzCore 0x196a37644 -[CALayer layoutSublayers] + 308
29 QuartzCore 0x196a37b18 CA::Layer::layout_if_needed(CA::Transaction*) + 524
30 UIKitCore 0x196508610 -[UIView(Hierarchy) layoutBelowIfNeeded] + 552
31 UIKitCore 0x19650f638 +[UIView(Animation) performWithoutAnimation:] + 104
32 UIKitCore 0x1961fe2b0 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 1164
33 UIKitCore 0x1961c9e40 -[UITableView _updateVisibleCellsNow:] + 2476
34 UIKitCore 0x1961e8250 -[UITableView layoutSubviews] + 368
35 UIKitCore 0x19651cec4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2504
36 QuartzCore 0x196a37644 -[CALayer layoutSublayers] + 308
37 QuartzCore 0x196a37b18 CA::Layer::layout_if_needed(CA::Transaction*) + 524
38 UIKitCore 0x196508610 -[UIView(Hierarchy) layoutBelowIfNeeded] + 552
39 UIKitCore 0x1961da654 -[UITableView reloadData] + 1904
40 UIKitCore 0x19620b4ec -[UITableView _performDiffableUpdate:] + 56
41 UIKitCore 0x1956a2578 -[_UIDiffableDataSourceViewUpdater _reloadData] + 348
42 UIKitCore 0x195697120 __56-[__UIDiffableDataSource reloadFromSnapshot:completion:]_block_invoke + 388
43 UIKitCore 0x1956971ac __56-[__UIDiffableDataSource reloadFromSnapshot:completion:]_block_invoke.188 + 52
44 libdispatch.dylib 0x19320edb0 _dispatch_client_callout + 20
45 libdispatch.dylib 0x19321d428 _dispatch_lane_barrier_sync_invoke_and_complete + 60
46 UIKitCore 0x195696e28 -[__UIDiffableDataSource reloadFromSnapshot:completion:] + 668
47 UIKitCore 0x1956972b0 -[__UIDiffableDataSource applyDifferencesFromSnapshot:animatingDifferences:completion:] + 88
48 libswiftUIKit.dylib 0x1a78f98f0 UICollectionViewDiffableDataSource.apply(_:animatingDifferences:completion:) + 252
49 App_Release 0x1049ad0b4 ActiveCallsTableViewController.applySnapshot(with:) + 4348514484 (<compiler-generated>:4348514484)
50 App_Release 0x1049ae0c8 closure #1 in ActiveCallsTableViewController.reloadUI(didUserSelect:completion:) + 4348518600 (<compiler-generated>:4348518600)
51 App_Release 0x1046cc0a8 thunk for @escaping @callee_guaranteed () -> () + 4345495720 (<compiler-generated>:4345495720)
52 libdispatch.dylib 0x19320d24c _dispatch_call_block_and_release + 32
53 libdispatch.dylib 0x19320edb0 _dispatch_client_callout + 20
54 libdispatch.dylib 0x19321c7ac _dispatch_main_queue_callback_4CF + 836
55 CoreFoundation 0x19359611c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
56 CoreFoundation 0x193590120 __CFRunLoopRun + 2508
57 CoreFoundation 0x19358f21c CFRunLoopRunSpecific + 600
58 GraphicsServices 0x1ab15c784 GSEventRunModal + 164
59 UIKitCore 0x195fcfee8 -[UIApplication _run] + 1072
60 UIKitCore 0x195fd575c UIApplicationMain + 168
61 App_Release 0x10469eac8 main + 31 (AppDelegate.swift:31)
62 libdyld.dylib 0x19324f6b0 start + 4
Кто-нибудь знает, почему происходит сбой?