RxSwiftCommunity / RxDataSources

UITableView and UICollectionView Data Sources for RxSwift (sections, animated updates, editing ...)
MIT License
3.1k stars 495 forks source link

Crash - cellForItemAtIndexPath #300

Open jasin755 opened 5 years ago

jasin755 commented 5 years ago

Hi, I have had mysterious crash for long time. Sometimes app crashed on cellForItemAtIndexPath inside RxDataSources library. How is it possible?

# Platform: ios
# Version: 4.826 (4339)
# Issue ID: 5ca46ccaf8b88c29632d18a1
# Session ID: b6c28da2ab9444ca84dc19d73d893b1b_DNE_0_v2
# Date: 2019-04-15T07:27:00Z
# OS Version: 12.2.0 (16E227)
# Device: iPhone 6s
# RAM Free: 2.5%
# Disk Free: 26%

#0. Crashed: com.apple.main-thread
0  RxDataSources                  0x108a7bf54 $s13RxDataSources023CollectionViewSectionedB6SourceC010collectionE0_13cellForItemAtSo012UICollectionE4CellCSo0mE0C_10Foundation9IndexPathVtF + 516
1  RxDataSources                  0x108a7bfd4 $s13RxDataSources023CollectionViewSectionedB6SourceC010collectionE0_13cellForItemAtSo012UICollectionE4CellCSo0mE0C_10Foundation9IndexPathVtFTo + 124
2  RxCocoa                        0x1088c75b0 $s7RxCocoa0A29CollectionViewDataSourceProxyC010collectionD0_13cellForItemAtSo012UICollectionD4CellCSo0mD0C_10Foundation9IndexPathVtFTo + 224
3  UIKitCore                      0x1eeb1aca4 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 428
4  UIKitCore                      0x1eeb1ed5c -[UICollectionView _updateVisibleCellsNow:] + 4068
5  UIKitCore                      0x1eeb2371c -[UICollectionView layoutSubviews] + 324
6  RxCocoa                        0x10888a2fc __59-[RXObjCRuntime(swizzle_void) swizzle_void:selector:error:]_block_invoke_2 + 188
7  UIKitCore                      0x1ef6afe54 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1292
8  QuartzCore                     0x1c72b61f0 -[CALayer layoutSublayers] + 184
9  QuartzCore                     0x1c72bb198 CA::Layer::layout_if_needed(CA::Transaction*) + 332
10 UIKitCore                      0x1ef69be88 -[UIView(Hierarchy) layoutBelowIfNeeded] + 544
11 UIKitCore                      0x1eeb392c0 -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:] + 244
12 UIKitCore                      0x1eeb391ac -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:] + 96
13 UIKitCore                      0x1eeb39130 -[UICollectionView _performBatchUpdates:completion:invalidationContext:] + 84
14 UIKitCore                      0x1eeb3906c -[UICollectionView performBatchUpdates:completion:] + 64
15 RxDataSources                  0x108a838c8 $sSo16UICollectionViewC13RxDataSourcesE19performBatchUpdates_22animationConfigurationy14Differentiator9ChangesetVyxG_AC09AnimationJ0VtAF16SectionModelTypeRzlF + 372
16 RxDataSources                  0x108a7dbd0 $s13RxDataSources0a31CollectionViewSectionedAnimatedB6SourceC010collectionE0_22throttledObservedEventySo012UICollectionE0C_0A5Swift0L0OySayxGGtFyACyxG_AKtcfU_ + 672
17 RxDataSources                  0x108a7e2f0 $s13RxDataSources0a31CollectionViewSectionedAnimatedB6SourceCyxGSayxGIeggg_AdEIeggn_14Differentiator26AnimatableSectionModelTypeRzlTRTA + 24
18 RxCocoa                        0x10889a494 $s7RxCocoa6BinderV_9scheduler7bindingACyxGqd___0A5Swift22ImmediateSchedulerType_pyqd___xtctcRld__ClufcyAG5EventOyxGcfU_AG10Disposable_pxcfU_TA + 100
19 RxSwift                        0x108bca460 $s7RxSwift13MainSchedulerC16scheduleInternal_6actionAA10Disposable_px_AaF_pxctlF + 356
20 RxSwift                        0x108bf1130 $s7RxSwift28SerialDispatchQueueSchedulerCAA09ImmediateF4TypeA2aDP8schedule_6actionAA10Disposable_pqd___AaH_pqd__ctlFTW + 20
21 RxCocoa                        0x108899fd0 $s7RxCocoa6BinderV_9scheduler7bindingACyxGqd___0A5Swift22ImmediateSchedulerType_pyqd___xtctcRld__ClufcyAG5EventOyxGcfU_ + 324
22 RxCocoa                        0x10889a0fc $s7RxCocoa6BinderV2onyy0A5Swift5EventOyxGF + 44
23 RxDataSources                  0x108a7d90c $s13RxDataSources0a31CollectionViewSectionedAnimatedB6SourceC010collectionE0_22throttledObservedEventySo012UICollectionE0C_0A5Swift0L0OySayxGGtF + 320
24 RxDataSources                  0x108a7e1d8 $s13RxDataSources0a31CollectionViewSectionedAnimatedB6SourceC22animationConfiguration06decideE10Transition13configureCell0m13SupplementaryE08moveItem07canMoveQ11AtIndexPathACyxGAA09AnimationJ0V_AA0eL0OAA0defbH0CyxG_So012UICollectionE0CSay14Differentiator9ChangesetVyxGGtcSo0xeN0CAQ_AS10Foundation0uV0V0Q0QztcSo0x8ReusableE0CAQ_ASSSA1_tcSgyAQ_A1_A1_tcSbAQ_A1_tctcfcyAS_0A5Swift5EventOySayxGGt_tcfU_TA + 124
25 RxDataSources                  0x108a7e23c $sSo16UICollectionViewC7RxSwift5EventOySayxGGIeggg_AB_AGtIegn_14Differentiator26AnimatableSectionModelTypeRzlTRTA + 32
26 RxSwift                        0x108bd51c8 $s7RxSwift14ObservableTypePAAE9subscribe6onNext0F5Error0F9Completed0F8DisposedAA10Disposable_py1EQzcSg_ys0H0_pcSgyycSgAOtFyAA5EventOyAKGcfU_ + 392
27 RxSwift                        0x108bd53c8 $s7RxSwift14ObservableTypePAAE9subscribe6onNext0F5Error0F9Completed0F8DisposedAA10Disposable_py1EQzcSg_ys0H0_pcSgyycSgAOtFyAA5EventOyAKGcfU_TA + 44
28 RxSwift                        0x108b8ac78 $s7RxSwift17AnonymousObserverC6onCoreyyAA5EventOyxGF + 40
29 RxSwift                        0x108bd7c48 $s7RxSwift12ObserverBaseC2onyyAA5EventOyxGF + 284
30 RxSwift                        0x108bd7dd0 $s7RxSwift12ObserverBaseCyxGAA0C4TypeA2aEP2onyyAA5EventOy1EQzGFTW + 20
31 RxSwift                        0x108bf7778 $s7RxSwift4SinkC9forwardOnyyAA5EventOy1EQzGF + 116
32 RxSwift                        0x108c047c0 $s7RxSwift12ThrottleSink33_7EFD9B3C9308D427324C747FC293D759LLC7sendNow7elementy1EQz_tF + 368
33 RxSwift                        0x108c0430c $s7RxSwift12ThrottleSink33_7EFD9B3C9308D427324C747FC293D759LLC16_synchronized_onyyAA5EventOy1EQzGF + 1208
34 RxSwift                        0x108bfe3cc $s7RxSwift18SynchronizedOnTypePAAE012synchronizedD0yyAA5EventOy1EQzGF + 92
35 RxSwift                        0x108c03e40 $s7RxSwift12ThrottleSink33_7EFD9B3C9308D427324C747FC293D759LLC2onyyAA5EventOy1EQzGF + 92
36 RxSwift                        0x108c04cc4 $s7RxSwift12ThrottleSink33_7EFD9B3C9308D427324C747FC293D759LLCyxGAA12ObserverTypeA2aFP2onyyAA5EventOy1EQzGFTW + 20
37 RxSwift                        0x108bd6fd4 $s7RxSwift32ObserveOnSerialDispatchQueueSink33_277A93ABA8477198C125F3F26B2D4B62LLC9scheduler8observer6cancelADyxGAA0efG9SchedulerC_xAA10Cancelable_ptcfcAA10Disposable_pAH4sink_AA5EventOy1EQzG5eventt_tcfU_ + 396
38 RxSwift                        0x108bd78c8 $s7RxSwift32ObserveOnSerialDispatchQueueSink33_277A93ABA8477198C125F3F26B2D4B62LLCyxGAA5EventOy1EQzGAA10Disposable_pIeggnr_AE_AJtAaK_pIegnr_AA12ObserverTypeRzlTRTA + 160
39 RxSwift                        0x108bbd780 $s7RxSwift26DispatchQueueConfigurationV8schedule_6actionAA10Disposable_px_AaF_pxctlFyycfU_ + 132
40 RxSwift                        0x108bb2330 $sIeg_IeyB_TR + 28
41 libdispatch.dylib              0x1c2868a38 _dispatch_call_block_and_release + 24
42 libdispatch.dylib              0x1c28697d4 _dispatch_client_callout + 16
43 libdispatch.dylib              0x1c2817004 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1068
44 CoreFoundation                 0x1c2db9ec0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
45 CoreFoundation                 0x1c2db4df8 __CFRunLoopRun + 1924
46 CoreFoundation                 0x1c2db4354 CFRunLoopRunSpecific + 436
47 GraphicsServices               0x1c4fb479c GSEventRunModal + 104
48 UIKitCore                      0x1ef227b68 UIApplicationMain + 212
49 Alza                           0x104c6c62c main (main.m:14)
50 libdyld.dylib                  0x1c287a8e0 start + 4

--

#0. Crashed: com.apple.main-thread
0  RxDataSources                  0x108a7bf54 $s13RxDataSources023CollectionViewSectionedB6SourceC010collectionE0_13cellForItemAtSo012UICollectionE4CellCSo0mE0C_10Foundation9IndexPathVtF + 516
1  RxDataSources                  0x108a7bfd4 $s13RxDataSources023CollectionViewSectionedB6SourceC010collectionE0_13cellForItemAtSo012UICollectionE4CellCSo0mE0C_10Foundation9IndexPathVtFTo + 124
2  RxCocoa                        0x1088c75b0 $s7RxCocoa0A29CollectionViewDataSourceProxyC010collectionD0_13cellForItemAtSo012UICollectionD4CellCSo0mD0C_10Foundation9IndexPathVtFTo + 224
3  UIKitCore                      0x1eeb1aca4 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 428
4  UIKitCore                      0x1eeb1ed5c -[UICollectionView _updateVisibleCellsNow:] + 4068
5  UIKitCore                      0x1eeb2371c -[UICollectionView layoutSubviews] + 324
6  RxCocoa                        0x10888a2fc __59-[RXObjCRuntime(swizzle_void) swizzle_void:selector:error:]_block_invoke_2 + 188
7  UIKitCore                      0x1ef6afe54 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1292
8  QuartzCore                     0x1c72b61f0 -[CALayer layoutSublayers] + 184
9  QuartzCore                     0x1c72bb198 CA::Layer::layout_if_needed(CA::Transaction*) + 332
10 UIKitCore                      0x1ef69be88 -[UIView(Hierarchy) layoutBelowIfNeeded] + 544
11 UIKitCore                      0x1eeb392c0 -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:] + 244
12 UIKitCore                      0x1eeb391ac -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:] + 96
13 UIKitCore                      0x1eeb39130 -[UICollectionView _performBatchUpdates:completion:invalidationContext:] + 84
14 UIKitCore                      0x1eeb3906c -[UICollectionView performBatchUpdates:completion:] + 64
15 RxDataSources                  0x108a838c8 $sSo16UICollectionViewC13RxDataSourcesE19performBatchUpdates_22animationConfigurationy14Differentiator9ChangesetVyxG_AC09AnimationJ0VtAF16SectionModelTypeRzlF + 372
16 RxDataSources                  0x108a7dbd0 $s13RxDataSources0a31CollectionViewSectionedAnimatedB6SourceC010collectionE0_22throttledObservedEventySo012UICollectionE0C_0A5Swift0L0OySayxGGtFyACyxG_AKtcfU_ + 672
17 RxDataSources                  0x108a7e2f0 $s13RxDataSources0a31CollectionViewSectionedAnimatedB6SourceCyxGSayxGIeggg_AdEIeggn_14Differentiator26AnimatableSectionModelTypeRzlTRTA + 24
18 RxCocoa                        0x10889a494 $s7RxCocoa6BinderV_9scheduler7bindingACyxGqd___0A5Swift22ImmediateSchedulerType_pyqd___xtctcRld__ClufcyAG5EventOyxGcfU_AG10Disposable_pxcfU_TA + 100
19 RxSwift                        0x108bca460 $s7RxSwift13MainSchedulerC16scheduleInternal_6actionAA10Disposable_px_AaF_pxctlF + 356
20 RxSwift                        0x108bf1130 $s7RxSwift28SerialDispatchQueueSchedulerCAA09ImmediateF4TypeA2aDP8schedule_6actionAA10Disposable_pqd___AaH_pqd__ctlFTW + 20
21 RxCocoa                        0x108899fd0 $s7RxCocoa6BinderV_9scheduler7bindingACyxGqd___0A5Swift22ImmediateSchedulerType_pyqd___xtctcRld__ClufcyAG5EventOyxGcfU_ + 324
22 RxCocoa                        0x10889a0fc $s7RxCocoa6BinderV2onyy0A5Swift5EventOyxGF + 44
23 RxDataSources                  0x108a7d90c $s13RxDataSources0a31CollectionViewSectionedAnimatedB6SourceC010collectionE0_22throttledObservedEventySo012UICollectionE0C_0A5Swift0L0OySayxGGtF + 320
24 RxDataSources                  0x108a7e1d8 $s13RxDataSources0a31CollectionViewSectionedAnimatedB6SourceC22animationConfiguration06decideE10Transition13configureCell0m13SupplementaryE08moveItem07canMoveQ11AtIndexPathACyxGAA09AnimationJ0V_AA0eL0OAA0defbH0CyxG_So012UICollectionE0CSay14Differentiator9ChangesetVyxGGtcSo0xeN0CAQ_AS10Foundation0uV0V0Q0QztcSo0x8ReusableE0CAQ_ASSSA1_tcSgyAQ_A1_A1_tcSbAQ_A1_tctcfcyAS_0A5Swift5EventOySayxGGt_tcfU_TA + 124
25 RxDataSources                  0x108a7e23c $sSo16UICollectionViewC7RxSwift5EventOySayxGGIeggg_AB_AGtIegn_14Differentiator26AnimatableSectionModelTypeRzlTRTA + 32
26 RxSwift                        0x108bd51c8 $s7RxSwift14ObservableTypePAAE9subscribe6onNext0F5Error0F9Completed0F8DisposedAA10Disposable_py1EQzcSg_ys0H0_pcSgyycSgAOtFyAA5EventOyAKGcfU_ + 392
27 RxSwift                        0x108bd53c8 $s7RxSwift14ObservableTypePAAE9subscribe6onNext0F5Error0F9Completed0F8DisposedAA10Disposable_py1EQzcSg_ys0H0_pcSgyycSgAOtFyAA5EventOyAKGcfU_TA + 44
28 RxSwift                        0x108b8ac78 $s7RxSwift17AnonymousObserverC6onCoreyyAA5EventOyxGF + 40
29 RxSwift                        0x108bd7c48 $s7RxSwift12ObserverBaseC2onyyAA5EventOyxGF + 284
30 RxSwift                        0x108bd7dd0 $s7RxSwift12ObserverBaseCyxGAA0C4TypeA2aEP2onyyAA5EventOy1EQzGFTW + 20
31 RxSwift                        0x108bf7778 $s7RxSwift4SinkC9forwardOnyyAA5EventOy1EQzGF + 116
32 RxSwift                        0x108c047c0 $s7RxSwift12ThrottleSink33_7EFD9B3C9308D427324C747FC293D759LLC7sendNow7elementy1EQz_tF + 368
33 RxSwift                        0x108c0430c $s7RxSwift12ThrottleSink33_7EFD9B3C9308D427324C747FC293D759LLC16_synchronized_onyyAA5EventOy1EQzGF + 1208
34 RxSwift                        0x108bfe3cc $s7RxSwift18SynchronizedOnTypePAAE012synchronizedD0yyAA5EventOy1EQzGF + 92
35 RxSwift                        0x108c03e40 $s7RxSwift12ThrottleSink33_7EFD9B3C9308D427324C747FC293D759LLC2onyyAA5EventOy1EQzGF + 92
36 RxSwift                        0x108c04cc4 $s7RxSwift12ThrottleSink33_7EFD9B3C9308D427324C747FC293D759LLCyxGAA12ObserverTypeA2aFP2onyyAA5EventOy1EQzGFTW + 20
37 RxSwift                        0x108bd6fd4 $s7RxSwift32ObserveOnSerialDispatchQueueSink33_277A93ABA8477198C125F3F26B2D4B62LLC9scheduler8observer6cancelADyxGAA0efG9SchedulerC_xAA10Cancelable_ptcfcAA10Disposable_pAH4sink_AA5EventOy1EQzG5eventt_tcfU_ + 396
38 RxSwift                        0x108bd78c8 $s7RxSwift32ObserveOnSerialDispatchQueueSink33_277A93ABA8477198C125F3F26B2D4B62LLCyxGAA5EventOy1EQzGAA10Disposable_pIeggnr_AE_AJtAaK_pIegnr_AA12ObserverTypeRzlTRTA + 160
39 RxSwift                        0x108bbd780 $s7RxSwift26DispatchQueueConfigurationV8schedule_6actionAA10Disposable_px_AaF_pxctlFyycfU_ + 132
40 RxSwift                        0x108bb2330 $sIeg_IeyB_TR + 28
41 libdispatch.dylib              0x1c2868a38 _dispatch_call_block_and_release + 24
42 libdispatch.dylib              0x1c28697d4 _dispatch_client_callout + 16
43 libdispatch.dylib              0x1c2817004 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1068
44 CoreFoundation                 0x1c2db9ec0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
45 CoreFoundation                 0x1c2db4df8 __CFRunLoopRun + 1924
46 CoreFoundation                 0x1c2db4354 CFRunLoopRunSpecific + 436
47 GraphicsServices               0x1c4fb479c GSEventRunModal + 104
48 UIKitCore                      0x1ef227b68 UIApplicationMain + 212
49 Alza                           0x104c6c62c main (main.m:14)
50 libdyld.dylib                  0x1c287a8e0 start + 4

#1. Thread
0  libsystem_kernel.dylib         0x1c29c6b74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1c2a49138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x1c2a4bcd4 start_wqthread + 4

#2. TagManagerContainerQueue
0  JavaScriptCore                 0x1ca8e4afc JSC::JSObject::getOwnNonIndexPropertyNames(JSC::JSObject*, JSC::ExecState*, JSC::PropertyNameArray&, JSC::EnumerationMode) + 1064
1  JavaScriptCore                 0x1ca8e4afc JSC::JSObject::getOwnNonIndexPropertyNames(JSC::JSObject*, JSC::ExecState*, JSC::PropertyNameArray&, JSC::EnumerationMode) + 1064
2  JavaScriptCore                 0x1ca8e436c JSC::JSObject::getOwnPropertyNames(JSC::JSObject*, JSC::ExecState*, JSC::PropertyNameArray&, JSC::EnumerationMode) + 120
3  JavaScriptCore                 0x1ca8e4bf8 JSC::JSObject::getPropertyNames(JSC::JSObject*, JSC::ExecState*, JSC::PropertyNameArray&, JSC::EnumerationMode) + 216
4  JavaScriptCore                 0x1ca4c5968 JSC::propertyNameEnumerator(JSC::ExecState*, JSC::JSObject*) + 296
5  JavaScriptCore                 0x1ca833a80 slow_path_get_property_enumerator + 448
6  JavaScriptCore                 0x1ca11c144 llint_entry + 61508
7  JavaScriptCore                 0x1ca121d18 llint_entry + 85016
8  JavaScriptCore                 0x1ca122064 llint_entry + 85860
9  JavaScriptCore                 0x1ca122064 llint_entry + 85860
10 JavaScriptCore                 0x1ca121324 llint_entry + 82468
11 JavaScriptCore                 0x1ca1213c4 llint_entry + 82628
12 JavaScriptCore                 0x1ca122064 llint_entry + 85860
13 JavaScriptCore                 0x1ca122064 llint_entry + 85860
14 JavaScriptCore                 0x1ca121324 llint_entry + 82468
15 JavaScriptCore                 0x1ca1213c4 llint_entry + 82628
16 JavaScriptCore                 0x1ca122064 llint_entry + 85860
17 JavaScriptCore                 0x1ca122064 llint_entry + 85860
18 JavaScriptCore                 0x1ca121324 llint_entry + 82468
19 JavaScriptCore                 0x1ca121324 llint_entry + 82468
20 JavaScriptCore                 0x1ca122064 llint_entry + 85860
21 JavaScriptCore                 0x1ca122064 llint_entry + 85860
22 JavaScriptCore                 0x1ca121324 llint_entry + 82468
23 JavaScriptCore                 0x1ca1213c4 llint_entry + 82628
24 JavaScriptCore                 0x1ca122064 llint_entry + 85860
25 JavaScriptCore                 0x1ca122064 llint_entry + 85860
26 JavaScriptCore                 0x1ca121324 llint_entry + 82468
27 JavaScriptCore                 0x1ca121324 llint_entry + 82468
28 JavaScriptCore                 0x1ca122064 llint_entry + 85860
29 JavaScriptCore                 0x1ca122064 llint_entry + 85860
30 JavaScriptCore                 0x1ca121324 llint_entry + 82468
31 JavaScriptCore                 0x1ca122064 llint_entry + 85860
32 JavaScriptCore                 0x1ca121324 llint_entry + 82468
33 JavaScriptCore                 0x1ca121324 llint_entry + 82468
34 JavaScriptCore                 0x1ca121324 llint_entry + 82468
35 JavaScriptCore                 0x1ca121324 llint_entry + 82468
36 JavaScriptCore                 0x1ca121324 llint_entry + 82468
37 JavaScriptCore                 0x1ca121324 llint_entry + 82468
38 JavaScriptCore                 0x1ca121324 llint_entry + 82468
39 JavaScriptCore                 0x1ca121324 llint_entry + 82468
40 JavaScriptCore                 0x1ca121324 llint_entry + 82468
41 JavaScriptCore                 0x1ca121324 llint_entry + 82468
42 JavaScriptCore                 0x1ca10ce6c vmEntryToJavaScript + 268
43 JavaScriptCore                 0x1ca63e0bc JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 420
44 JavaScriptCore                 0x1ca81fe74 JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 188
45 JavaScriptCore                 0x1ca152194 JSObjectCallAsFunction + 368
46 JavaScriptCore                 0x1c9f01bc8 -[JSValue invokeMethod:withArguments:] + 468
47 Alza                           0x105702b64 -[TAGRuntime evaluateEvent:] + 4308986724
48 Alza                           0x1056f8834 __29-[TAGContainer processEvent:]_block_invoke + 4308944948
49 libdispatch.dylib              0x1c2868a38 _dispatch_call_block_and_release + 24
50 libdispatch.dylib              0x1c28697d4 _dispatch_client_callout + 16
51 libdispatch.dylib              0x1c2812320 _dispatch_lane_serial_drain$VARIANT$mp + 592
52 libdispatch.dylib              0x1c2812e3c _dispatch_lane_invoke$VARIANT$mp + 428
53 libdispatch.dylib              0x1c281b4a8 _dispatch_workloop_worker_thread + 596
54 libsystem_pthread.dylib        0x1c2a49114 _pthread_wqthread + 304
55 libsystem_pthread.dylib        0x1c2a4bcd4 start_wqthread + 4

#3. NSManagedObjectContext 0x283fb4b40
0  libsystem_kernel.dylib         0x1c29c69d4 __ulock_wait + 8
1  libdispatch.dylib              0x1c280ba54 _dispatch_ulock_wait + 56
2  libdispatch.dylib              0x1c280bb8c _dispatch_thread_event_wait_slow$VARIANT$mp + 48
3  libdispatch.dylib              0x1c2817ebc __DISPATCH_WAIT_FOR_QUEUE__ + 328
4  libdispatch.dylib              0x1c2817ad4 _dispatch_sync_f_slow + 140
5  CoreData                       0x1c59b6bd8 _perform + 268
6  CoreData                       0x1c58c532c -[NSManagedObjectContext(_NestedContextSupport) newValuesForObjectWithID:withContext:error:] + 128
7  CoreData                       0x1c599dd30 _PFFaultHandlerLookupRow + 368
8  CoreData                       0x1c58b2df8 -[NSManagedObject(_NSInternalMethods) _newPropertiesForRetainedTypes:andCopiedTypes:preserveFaults:] + 120
9  CoreData                       0x1c58b1c48 -[NSManagedObject(_NSInternalMethods) _newAllPropertiesWithRelationshipFaultsIntact__] + 100
10 CoreData                       0x1c58b2754 -[NSManagedObjectContext(_NSInternalChangeProcessing) _establishEventSnapshotsForObject:] + 76
11 CoreData                       0x1c58d2524 -[NSManagedObjectContext deleteObject:] + 136
12 Instabug                       0x10776a9e0 __28-[IBGLogLogger purgeAllLogs]_block_invoke (IBGLogLogger.m:166)
13 Instabug                       0x107736960 __44-[IBGDALService writeASync:completionBlock:]_block_invoke_3 (IBGDALService.m:53)
14 CoreData                       0x1c59b9b28 developerSubmittedBlockToNSManagedObjectContextPerform + 156
15 libdispatch.dylib              0x1c28697d4 _dispatch_client_callout + 16
16 libdispatch.dylib              0x1c2817fe4 _dispatch_sync_invoke_and_complete_recurse + 64
17 libdispatch.dylib              0x1c2817af0 _dispatch_sync_f_slow + 168
18 CoreData                       0x1c588430c -[NSManagedObjectContext performBlockAndWait:] + 300
19 Instabug                       0x1077368e8 __44-[IBGDALService writeASync:completionBlock:]_block_invoke_2 (IBGDALService.m:61)
20 libdispatch.dylib              0x1c28697d4 _dispatch_client_callout + 16
21 libdispatch.dylib              0x1c2817c18 _dispatch_lane_barrier_sync_invoke_and_complete + 56
22 Instabug                       0x107736790 __44-[IBGDALService writeASync:completionBlock:]_block_invoke (IBGDALService.m:68)
23 libdispatch.dylib              0x1c2868a38 _dispatch_call_block_and_release + 24
24 libdispatch.dylib              0x1c28697d4 _dispatch_client_callout + 16
25 libdispatch.dylib              0x1c2812320 _dispatch_lane_serial_drain$VARIANT$mp + 592
26 libdispatch.dylib              0x1c2812e3c _dispatch_lane_invoke$VARIANT$mp + 428
27 libdispatch.dylib              0x1c281b4a8 _dispatch_workloop_worker_thread + 596
28 libsystem_pthread.dylib        0x1c2a49114 _pthread_wqthread + 304
29 libsystem_pthread.dylib        0x1c2a4bcd4 start_wqthread + 4

#4. Thread
0  libsystem_kernel.dylib         0x1c29c6b74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1c2a49138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x1c2a4bcd4 start_wqthread + 4

#5. com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1c29bb0f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x1c29ba5a0 mach_msg + 72
2  CoreFoundation                 0x1c2db9cb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x1c2db4bc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x1c2db4354 CFRunLoopRunSpecific + 436
5  Foundation                     0x1c3781fcc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
6  Foundation                     0x1c3781e5c -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
7  UIKitCore                      0x1ef30d540 -[UIEventFetcher threadMain] + 136
8  Foundation                     0x1c38ae6e4 __NSThread__start__ + 984
9  libsystem_pthread.dylib        0x1c2a482c0 _pthread_body + 128
10 libsystem_pthread.dylib        0x1c2a48220 _pthread_start + 44
11 libsystem_pthread.dylib        0x1c2a4bcdc thread_start + 4

#6. Thread
0  libsystem_pthread.dylib        0x1c2a4bcd0 start_wqthread + 190

#7. com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x1c29bb0f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x1c29ba5a0 mach_msg + 72
2  CoreFoundation                 0x1c2db9cb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x1c2db4bc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x1c2db4354 CFRunLoopRunSpecific + 436
5  CFNetwork                      0x1c33cd74c -[__CoreSchedulingSetRunnable runForever] + 216
6  Foundation                     0x1c38ae6e4 __NSThread__start__ + 984
7  libsystem_pthread.dylib        0x1c2a482c0 _pthread_body + 128
8  libsystem_pthread.dylib        0x1c2a48220 _pthread_start + 44
9  libsystem_pthread.dylib        0x1c2a4bcdc thread_start + 4

#8. com.twitter.crashlytics.ios.MachExceptionServer
0  Alza                           0x105591be4 CLSProcessRecordAllThreads + 4307475428
1  Alza                           0x105591fcc CLSProcessRecordAllThreads + 4307476428
2  Alza                           0x105580fd8 CLSHandler + 4307406808
3  Alza                           0x10557c068 CLSMachExceptionServer + 4307386472
4  libsystem_pthread.dylib        0x1c2a482c0 _pthread_body + 128
5  libsystem_pthread.dylib        0x1c2a48220 _pthread_start + 44
6  libsystem_pthread.dylib        0x1c2a4bcdc thread_start + 4

#9. Thread
0  libsystem_kernel.dylib         0x1c29c6b74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1c2a49138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x1c2a4bcd4 start_wqthread + 4

#10. com.alza.response-queue
0  libswiftFoundation.dylib       0x1f04d41b0 _JSONKeyedDecodingContainer.decode(_:forKey:) + 1528
1  libswiftFoundation.dylib       0x1f052fbe0 protocol witness for KeyedDecodingContainerProtocol.decodeNil(forKey:) in conformance _JSONKeyedDecodingContainer<A> + 28
2  libswiftFoundation.dylib       0x1f04dfaa0 protocol witness for KeyedDecodingContainerProtocol.decode(_:forKey:) in conformance _JSONKeyedDecodingContainer<A> + 20
3  libswiftCore.dylib             0x1f011d160 KeyedDecodingContainerProtocol.decodeIfPresent(_:forKey:) + 128
4  libswiftFoundation.dylib       0x1f04dfd58 protocol witness for KeyedDecodingContainerProtocol.decodeIfPresent(_:forKey:) in conformance _JSONKeyedDecodingContainer<A> + 12
5  libswiftCore.dylib             0x1f0125c80 _KeyedDecodingContainerBox.decodeIfPresent(_:forKey:) + 120
6  libswiftCore.dylib             0x1f011e4cc KeyedDecodingContainer.decodeIfPresent(_:forKey:) + 52
7  AlzaApi                        0x1064e4248 $s7AlzaApi10FormEntityV5InputV4fromAEs7Decoder_p_tKcfCTf4nd_n + 460
8  AlzaApi                        0x1064e390c $s7AlzaApi10FormEntityV5InputVSeAASe4fromxs7Decoder_p_tKcfCTW + 28
9  libswiftCore.dylib             0x1f0346eec dispatch thunk of Decodable.init(from:) + 16
10 libswiftFoundation.dylib       0x1f04e9fa4 __JSONDecoder.unbox_(_:as:) + 3396
11 libswiftFoundation.dylib       0x1f04e07e8 _JSONUnkeyedDecodingContainer.decode<A>(_:) + 712
12 libswiftFoundation.dylib       0x1f0533308 protocol witness for UnkeyedDecodingContainer.decode<A>(_:) in conformance _JSONUnkeyedDecodingContainer + 12
13 libswiftFoundation.dylib       0x1f04e3230 protocol witness for UnkeyedDecodingContainer.decode<A>(_:) in conformance _JSONUnkeyedDecodingContainer + 20
14 libswiftCore.dylib             0x1f012e4e8 Array<A>.init(from:) + 352
15 libswiftCore.dylib             0x1f012ec14 protocol witness for Decodable.init(from:) in conformance <A> [A] + 28
16 libswiftCore.dylib             0x1f012e694 protocol witness for Decodable.init(from:) in conformance <A> [A] + 20
17 libswiftCore.dylib             0x1f0346eec dispatch thunk of Decodable.init(from:) + 16
18 libswiftFoundation.dylib       0x1f04e9fa4 __JSONDecoder.unbox_(_:as:) + 3396
19 libswiftFoundation.dylib       0x1f04dd52c _JSONKeyedDecodingContainer.decode<A>(_:forKey:) + 784
20 libswiftFoundation.dylib       0x1f052ffc8 protocol witness for KeyedDecodingContainerProtocol.decode<A>(_:forKey:) in conformance _JSONKeyedDecodingContainer<A> + 36
21 libswiftFoundation.dylib       0x1f04dfd44 protocol witness for KeyedDecodingContainerProtocol.decode<A>(_:forKey:) in conformance _JSONKeyedDecodingContainer<A> + 20
22 libswiftCore.dylib             0x1f011dce4 KeyedDecodingContainerProtocol.decodeIfPresent<A>(_:forKey:) + 208
23 libswiftFoundation.dylib       0x1f04dffdc protocol witness for KeyedDecodingContainerProtocol.decodeIfPresent<A>(_:forKey:) in conformance _JSONKeyedDecodingContainer<A> + 32
24 libswiftCore.dylib             0x1f0126840 _KeyedDecodingContainerBox.decodeIfPresent<A>(_:forKey:) + 152
25 libswiftCore.dylib             0x1f011eb00 KeyedDecodingContainer.decodeIfPresent<A>(_:forKey:) + 80
26 AlzaApi                        0x1064e7008 $s7AlzaApi10FormEntityV4fromACs7Decoder_p_tKcfC + 812
27 AlzaApi                        0x1064e7824 $s7AlzaApi10FormEntityVSeAASe4fromxs7Decoder_p_tKcfCTW + 12
28 libswiftCore.dylib             0x1f0346eec dispatch thunk of Decodable.init(from:) + 16
29 libswiftFoundation.dylib       0x1f04e9fa4 __JSONDecoder.unbox_(_:as:) + 3396
30 libswiftFoundation.dylib       0x1f04dd52c _JSONKeyedDecodingContainer.decode<A>(_:forKey:) + 784
31 libswiftFoundation.dylib       0x1f052ffc8 protocol witness for KeyedDecodingContainerProtocol.decode<A>(_:forKey:) in conformance _JSONKeyedDecodingContainer<A> + 36
32 libswiftFoundation.dylib       0x1f04dfd44 protocol witness for KeyedDecodingContainerProtocol.decode<A>(_:forKey:) in conformance _JSONKeyedDecodingContainer<A> + 20
33 libswiftCore.dylib             0x1f011dce4 KeyedDecodingContainerProtocol.decodeIfPresent<A>(_:forKey:) + 208
34 libswiftFoundation.dylib       0x1f04dffdc protocol witness for KeyedDecodingContainerProtocol.decodeIfPresent<A>(_:forKey:) in conformance _JSONKeyedDecodingContainer<A> + 32
35 libswiftCore.dylib             0x1f0126840 _KeyedDecodingContainerBox.decodeIfPresent<A>(_:forKey:) + 152
36 libswiftCore.dylib             0x1f011eb00 KeyedDecodingContainer.decodeIfPresent<A>(_:forKey:) + 80
37 AlzaApi                        0x106471a44 $s7AlzaApi15AppActionEntityV4fromACs7Decoder_p_tKcfC + 1264
38 AlzaApi                        0x106471fe8 $s7AlzaApi15AppActionEntityVSeAASe4fromxs7Decoder_p_tKcfCTW + 12
39 libswiftCore.dylib             0x1f0346eec dispatch thunk of Decodable.init(from:) + 16
40 libswiftFoundation.dylib       0x1f04e9fa4 __JSONDecoder.unbox_(_:as:) + 3396
41 libswiftFoundation.dylib       0x1f04dd52c _JSONKeyedDecodingContainer.decode<A>(_:forKey:) + 784
42 libswiftFoundation.dylib       0x1f052ffc8 protocol witness for KeyedDecodingContainerProtocol.decode<A>(_:forKey:) in conformance _JSONKeyedDecodingContainer<A> + 36
43 libswiftFoundation.dylib       0x1f04dfd44 protocol witness for KeyedDecodingContainerProtocol.decode<A>(_:forKey:) in conformance _JSONKeyedDecodingContainer<A> + 20
44 libswiftCore.dylib             0x1f0125bd0 _KeyedDecodingContainerBox.decode<A>(_:forKey:) + 152
45 libswiftCore.dylib             0x1f011e474 KeyedDecodingContainer.decode<A>(_:forKey:) + 80
46 AlzaApi                        0x106502f74 $s7AlzaApi15HomepageProductV4fromACs7Decoder_p_tKcfC + 1560
47 AlzaApi                        0x106502ff0 $s7AlzaApi15HomepageProductVSeAASe4fromxs7Decoder_p_tKcfCTW + 12
48 libswiftCore.dylib             0x1f0346eec dispatch thunk of Decodable.init(from:) + 16
49 libswiftFoundation.dylib       0x1f04e9fa4 __JSONDecoder.unbox_(_:as:) + 3396
50 libswiftFoundation.dylib       0x1f04e3780 __JSONDecoder.decode<A>(_:) + 528
51 libswiftFoundation.dylib       0x1f0533f08 protocol witness for SingleValueDecodingContainer.decode<A>(_:) in conformance __JSONDecoder + 20
52 libswiftFoundation.dylib       0x1f04e3af0 protocol witness for SingleValueDecodingContainer.decode<A>(_:) in conformance __JSONDecoder + 20
53 libswiftCore.dylib             0x1f0348014 dispatch thunk of SingleValueDecodingContainer.decode<A>(_:) + 16
54 Base                           0x106c24d9c $s4Base17FailableDecodableV4fromACyxGs7Decoder_p_tKcfC + 296
55 Base                           0x106c25190 $s4Base17FailableDecodableVyxGSeAASe4fromxs7Decoder_p_tKcfCTW + 20
56 libswiftCore.dylib             0x1f0346eec dispatch thunk of Decodable.init(from:) + 16
57 libswiftFoundation.dylib       0x1f04e9fa4 __JSONDecoder.unbox_(_:as:) + 3396
58 libswiftFoundation.dylib       0x1f04e07e8 _JSONUnkeyedDecodingContainer.decode<A>(_:) + 712
59 libswiftFoundation.dylib       0x1f0533308 protocol witness for UnkeyedDecodingContainer.decode<A>(_:) in conformance _JSONUnkeyedDecodingContainer + 12
60 libswiftFoundation.dylib       0x1f04e3230 protocol witness for UnkeyedDecodingContainer.decode<A>(_:) in conformance _JSONUnkeyedDecodingContainer + 20
61 libswiftCore.dylib             0x1f012e4e8 Array<A>.init(from:) + 352
62 libswiftCore.dylib             0x1f012ec14 protocol witness for Decodable.init(from:) in conformance <A> [A] + 28
63 libswiftCore.dylib             0x1f012e694 protocol witness for Decodable.init(from:) in conformance <A> [A] + 20
64 libswiftCore.dylib             0x1f0346eec dispatch thunk of Decodable.init(from:) + 16
65 libswiftFoundation.dylib       0x1f04e9fa4 __JSONDecoder.unbox_(_:as:) + 3396
66 libswiftFoundation.dylib       0x1f04dd52c _JSONKeyedDecodingContainer.decode<A>(_:forKey:) + 784
67 libswiftFoundation.dylib       0x1f052ffc8 protocol witness for KeyedDecodingContainerProtocol.decode<A>(_:forKey:) in conformance _JSONKeyedDecodingContainer<A> + 36
68 libswiftFoundation.dylib       0x1f04dfd44 protocol witness for KeyedDecodingContainerProtocol.decode<A>(_:forKey:) in conformance _JSONKeyedDecodingContainer<A> + 20
69 libswiftCore.dylib             0x1f0125bd0 _KeyedDecodingContainerBox.decode<A>(_:forKey:) + 152
70 libswiftCore.dylib             0x1f011e474 KeyedDecodingContainer.decode<A>(_:forKey:) + 80
71 libswiftCore.dylib             0x1f011f208 protocol witness for KeyedDecodingContainerProtocol.decode<A>(_:forKey:) in conformance KeyedDecodingContainer<A> + 20
72 libswiftCore.dylib             0x1f011ef0c protocol witness for KeyedDecodingContainerProtocol.decode<A>(_:forKey:) in conformance KeyedDecodingContainer<A> + 20
73 libswiftCore.dylib             0x1f03474cc dispatch thunk of KeyedDecodingContainerProtocol.decode<A>(_:forKey:) + 16
74 Base                           0x106c25584 $ss30KeyedDecodingContainerProtocolP4BaseE11decodeArray_6forKey8strategySayqd__Gqd__m_0I0QzAC0gB8StrategyOtKSeRd__lF + 272
75 AlzaApi                        0x106521138 $s7AlzaApi16NormalCollectionC4fromACyxGs7Decoder_p_tKcfc + 440
76 AlzaApi                        0x106520f64 $s7AlzaApi16NormalCollectionC4fromACyxGs7Decoder_p_tKcfC + 84
77 AlzaApi                        0x106521b40 $s7AlzaApi16NormalCollectionCyxGSeAASe4fromxs7Decoder_p_tKcfCTW + 24
78 libswiftCore.dylib             0x1f0346eec dispatch thunk of Decodable.init(from:) + 16
79 libswiftFoundation.dylib       0x1f04e9fa4 __JSONDecoder.unbox_(_:as:) + 3396
80 libswiftFoundation.dylib       0x1f04d0210 JSONDecoder.decode<A>(_:from:) + 1108
81 libswiftFoundation.dylib       0x1f05acdb0 dispatch thunk of JSONDecoder.decode<A>(_:from:) + 20
82 Base                           0x106c2ea38 $sSe4BaseE6decode4datax10Foundation4DataV_tKFZ + 936
83 AlzaApi                        0x106467e4c $s7AlzaApi0B8ProviderC7request8endPoint6method6params7RxSwift10ObservableCyAA0B5EventOyxGGSS_AA6MethodOSDySSypGSgtSeRzlFAH10Disposable_pAH11AnyObserverVyAMGcfU_y9Alamofire12DataResponseVy10Foundation0R0VGcfU_ + 1084
84 Alamofire                      0x1062d97b4 $s9Alamofire11DataRequestC8response5queue0D10Serializer17completionHandlerACXDSo012OS_dispatch_E0CSg_xyAA0B8ResponseVy16SerializedObjectQzGctAA0bkF8ProtocolRzlFyycfU_yycfU_AA0bkF0Vy10Foundation0B0VG_Tg5Tm + 188
85 Alamofire                      0x1062dd684 $s9Alamofire11DataRequestC8response5queue0D10Serializer17completionHandlerACXDSo012OS_dispatch_E0CSg_xyAA0B8ResponseVy16SerializedObjectQzGctAA0bkF8ProtocolRzlFyycfU_yycfU_AA0bkF0Vy10Foundation0B0VG_Tg5TATm + 44
86 Alamofire                      0x1062b8b98 $sIeg_IeyB_TR + 28
87 libdispatch.dylib              0x1c2868a38 _dispatch_call_block_and_release + 24
88 libdispatch.dylib              0x1c28697d4 _dispatch_client_callout + 16
89 libdispatch.dylib              0x1c280e018 _dispatch_continuation_pop$VARIANT$mp + 412
90 libdispatch.dylib              0x1c280d6dc _dispatch_async_redirect_invoke + 600
91 libdispatch.dylib              0x1c281a02c _dispatch_root_queue_drain + 372
92 libdispatch.dylib              0x1c281a8d0 _dispatch_worker_thread2 + 128
93 libsystem_pthread.dylib        0x1c2a491b4 _pthread_wqthread + 464
94 libsystem_pthread.dylib        0x1c2a4bcd4 start_wqthread + 4

#11. Thread
0  libsystem_pthread.dylib        0x1c2a4bcd0 start_wqthread + 190

#12. Thread
0  libsystem_kernel.dylib         0x1c29c6b74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1c2a49138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x1c2a4bcd4 start_wqthread + 4

#13. Thread
0  libsystem_kernel.dylib         0x1c29c6b74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1c2a49138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x1c2a4bcd4 start_wqthread + 4

#14. com.google.fira.worker
0  libsystem_kernel.dylib         0x1c29c6a40 __unlink + 8
1  libsystem_kernel.dylib         0x1c29c2a58 unlink + 16
2  libsqlite3.dylib               0x1c3296944 sqlite3_column_bytes + 368
3  libsqlite3.dylib               0x1c3275de0 sqlite3_value_text + 26432
4  libsqlite3.dylib               0x1c3275768 sqlite3_value_text + 24776
5  libsqlite3.dylib               0x1c324103c sqlite3_finalize + 3696
6  libsqlite3.dylib               0x1c326d5ec sqlite3_step + 64132
7  libsqlite3.dylib               0x1c325dd24 sqlite3_step + 444
8  libsqlite3.dylib               0x1c3226804 sqlite3_exec + 324
9  Alza                           0x1056b455c -[APMSqliteStore endTransaction] + 4308665692
10 Alza                           0x1056b4214 -[APMSqliteStore performTransaction:] + 4308664852
11 Alza                           0x10568d570 -[APMMeasurement writeEventOnWorkerQueue:] + 4308505968
12 Alza                           0x10568ce74 -[APMMeasurement handleEventOnWorkerQueue:] + 4308504180
13 Alza                           0x1056a0614 __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 4308583956
14 libdispatch.dylib              0x1c2868a38 _dispatch_call_block_and_release + 24
15 libdispatch.dylib              0x1c28697d4 _dispatch_client_callout + 16
16 libdispatch.dylib              0x1c2812320 _dispatch_lane_serial_drain$VARIANT$mp + 592
17 libdispatch.dylib              0x1c2812e3c _dispatch_lane_invoke$VARIANT$mp + 428
18 libdispatch.dylib              0x1c281b4a8 _dispatch_workloop_worker_thread + 596
19 libsystem_pthread.dylib        0x1c2a49114 _pthread_wqthread + 304
20 libsystem_pthread.dylib        0x1c2a4bcd4 start_wqthread + 4

#15. Thread
0  libsystem_kernel.dylib         0x1c29c6b74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1c2a49138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x1c2a4bcd4 start_wqthread + 4

#16. Thread
0  libsystem_kernel.dylib         0x1c29c6b74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1c2a491f8 _pthread_wqthread + 532
2  libsystem_pthread.dylib        0x1c2a4bcd4 start_wqthread + 4

#17. JavaScriptCore bmalloc scavenger
0  libsystem_kernel.dylib         0x1c29c5ee4 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1c2a40cf8 _pthread_cond_wait$VARIANT$mp + 636
2  libc++.1.dylib                 0x1c1f9d128 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 96
3  JavaScriptCore                 0x1c9f8f75c std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 124
4  JavaScriptCore                 0x1c9f8f60c std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<bmalloc::Mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<bmalloc::Mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 116
5  JavaScriptCore                 0x1c9f8e2a4 bmalloc::Scavenger::threadRunLoop() + 296
6  JavaScriptCore                 0x1c9f8d9a4 bmalloc::Scavenger::Scavenger(std::__1::lock_guard<bmalloc::Mutex>&) + 10
7  JavaScriptCore                 0x1c9f8f3e4 std::__1::__thread_specific_ptr<std::__1::__thread_struct>::set_pointer(std::__1::__thread_struct*) + 38
8  libsystem_pthread.dylib        0x1c2a482c0 _pthread_body + 128
9  libsystem_pthread.dylib        0x1c2a48220 _pthread_start + 44
10 libsystem_pthread.dylib        0x1c2a4bcdc thread_start + 4

#18. Heap Helper Thread
0  libsystem_kernel.dylib         0x1c29c5ee4 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1c2a40cf8 _pthread_cond_wait$VARIANT$mp + 636
2  JavaScriptCore                 0x1c9f50d24 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 144
3  JavaScriptCore                 0x1c9f3796c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2004
4  JavaScriptCore                 0x1c9f0b7b0 bool WTF::Condition::waitUntil<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 184
5  JavaScriptCore                 0x1c9f0bb40 WTF::Function<void ()>::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0>::call() + 216
6  JavaScriptCore                 0x1c9f4ef88 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 260
7  JavaScriptCore                 0x1c9f50494 WTF::wtfThreadEntryPoint(void*) + 12
8  libsystem_pthread.dylib        0x1c2a482c0 _pthread_body + 128
9  libsystem_pthread.dylib        0x1c2a48220 _pthread_start + 44
10 libsystem_pthread.dylib        0x1c2a4bcdc thread_start + 4

#19. com.apple.CFNetwork.CustomProtocols
0  libsystem_kernel.dylib         0x1c29bb0f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x1c29ba5a0 mach_msg + 72
2  CoreFoundation                 0x1c2db9cb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x1c2db4bc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x1c2db4354 CFRunLoopRunSpecific + 436
5  CFNetwork                      0x1c33cd74c -[__CoreSchedulingSetRunnable runForever] + 216
6  Foundation                     0x1c38ae6e4 __NSThread__start__ + 984
7  libsystem_pthread.dylib        0x1c2a482c0 _pthread_body + 128
8  libsystem_pthread.dylib        0x1c2a48220 _pthread_start + 44
9  libsystem_pthread.dylib        0x1c2a4bcdc thread_start + 4

#20. GAIThread
0  libsystem_kernel.dylib         0x1c29bb0f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x1c29ba5a0 mach_msg + 72
2  CoreFoundation                 0x1c2db9cb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x1c2db4bc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x1c2db4354 CFRunLoopRunSpecific + 436
5  Foundation                     0x1c3781fcc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
6  Foundation                     0x1c37bd49c -[NSRunLoop(NSRunLoop) run] + 88
7  Alza                           0x10554d1bc +[GAI threadMain:] + 4307194300
8  Foundation                     0x1c38ae6e4 __NSThread__start__ + 984
9  libsystem_pthread.dylib        0x1c2a482c0 _pthread_body + 128
10 libsystem_pthread.dylib        0x1c2a48220 _pthread_start + 44
11 libsystem_pthread.dylib        0x1c2a4bcdc thread_start + 4
iwheelbuy commented 5 years ago

Same here... Precondition makes the shipped code to crash (very seldom).

open func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
    precondition(indexPath.item < _sectionModels[indexPath.section].items.count)

    return configureCell(self, collectionView, indexPath, self[indexPath])
}

Is there any chance to reproduce/fix the issue?

# OS Version: 12.2.0 (16E227)
# Device: iPhone X
# RAM Free: 3.8%
# Disk Free: 50.7%

#0. Crashed: com.apple.main-thread
0  Prjkt Prod                     0x10070e570 CollectionViewSectionedDataSource.collectionView(_:cellForItemAt:) (CollectionViewSectionedDataSource.swift:133)
1  Prjkt Prod                     0x10070e5f0 @objc CollectionViewSectionedDataSource.collectionView(_:cellForItemAt:) (<compiler-generated>)
2  Prjkt Prod                     0x1006f3ee4 @objc RxCollectionViewDataSourceProxy.collectionView(_:cellForItemAt:) (RxCollectionViewDataSourceProxy.swift:66)
3  UIKitCore                      0x204764ca4 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 428
4  UIKitCore                      0x2047666ec -[UICollectionView _prefetchItemsForVelocity:maxItemsToPrefetch:invalidateCandidatesOnDirectionChanges:] + 480
5  UIKitCore                      0x20476d8b4 -[UICollectionView layoutSubviews] + 732
6  UIKitCore                      0x2052f9e54 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1292
7  QuartzCore                     0x1dceca1f0 -[CALayer layoutSublayers] + 184
8  QuartzCore                     0x1dcecf198 CA::Layer::layout_if_needed(CA::Transaction*) + 332
9  UIKitCore                      0x2052e5e88 -[UIView(Hierarchy) layoutBelowIfNeeded] + 544
10 UIKitCore                      0x2047832c0 -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:] + 244
11 UIKitCore                      0x2047831ac -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:] + 96
12 UIKitCore                      0x204783130 -[UICollectionView _performBatchUpdates:completion:invalidationContext:] + 84
13 UIKitCore                      0x20478306c -[UICollectionView performBatchUpdates:completion:] + 64
14 Prjkt Prod                     0x1007136cc UICollectionView.performBatchUpdates<A>(_:animationConfiguration:) (UI+SectionedViewType.swift:101)
15 Prjkt Prod                     0x10070fc80 closure #1 in RxCollectionViewSectionedAnimatedDataSource.collectionView(_:throttledObservedEvent:) (RxCollectionViewSectionedAnimatedDataSource.swift:95)
16 Prjkt Prod                     0x100710304 partial apply for thunk for @escaping @callee_guaranteed (@guaranteed RxCollectionViewSectionedAnimatedDataSource<A>, @guaranteed [A]) -> () (<compiler-generated>)
17 Prjkt Prod                     0x1006d05f4 partial apply for closure #1 in closure #1 in Binder.init<A>(_:scheduler:binding:) (Binder.swift:38)
18 Prjkt Prod                     0x1007542a8 MainScheduler.scheduleInternal<A>(_:action:) (MainScheduler.swift:63)
19 Prjkt Prod                     0x10077008c protocol witness for ImmediateSchedulerType.schedule<A>(_:action:) in conformance SerialDispatchQueueScheduler (<compiler-generated>)
20 Prjkt Prod                     0x1006d0130 closure #1 in Binder.init<A>(_:scheduler:binding:) (Binder.swift:36)
21 Prjkt Prod                     0x1006d025c Binder.on(_:) (Binder.swift:52)
22 Prjkt Prod                     0x10070f9bc RxCollectionViewSectionedAnimatedDataSource.collectionView(_:throttledObservedEvent:) (RxCollectionViewSectionedAnimatedDataSource.swift:110)
23 Prjkt Prod                     0x100710214 partial apply for closure #1 in RxCollectionViewSectionedAnimatedDataSource.init(animationConfiguration:decideViewTransition:configureCell:configureSupplementaryView:moveItem:canMoveItemAtIndexPath:) (RxCollectionViewSectionedAnimatedDataSource.swift:58)
24 Prjkt Prod                     0x100710278 partial apply for thunk for @escaping @callee_guaranteed (@guaranteed UICollectionView, @guaranteed Event<[A]>) -> () (<compiler-generated>)
25 Prjkt Prod                     0x10075cf54 closure #1 in ObservableType.subscribe(onNext:onError:onCompleted:onDisposed:) (ObservableType+Extensions.swift:65)
26 Prjkt Prod                     0x10075d154 partial apply for closure #1 in ObservableType.subscribe(onNext:onError:onCompleted:onDisposed:) (<compiler-generated>)
27 Prjkt Prod                     0x10071f688 AnonymousObserver.onCore(_:) (AnonymousObserver.swift:24)
28 Prjkt Prod                     0x10075f8d4 ObserverBase.on(_:) (ObserverBase.swift:21)
29 Prjkt Prod                     0x10075fa5c protocol witness for ObserverType.on(_:) in conformance ObserverBase<A> (<compiler-generated>)
30 Prjkt Prod                     0x1007737d0 Sink.forwardOn(_:) (Sink.swift:34)
31 Prjkt Prod                     0x10077f1e8 ThrottleSink.sendNow(element:) (Throttle.swift:123)
32 Prjkt Prod                     0x10077f400 ThrottleSink.propagate(_:) (Throttle.swift:132)
33 Prjkt Prod                     0x100728928 thunk for @escaping @callee_guaranteed (@unowned Int) -> (@out Disposable) (<compiler-generated>)
34 Prjkt Prod                     0x10074bb8c closure #2 in DispatchQueueConfiguration.scheduleRelative<A>(_:dueTime:action:) (CompositeDisposable.swift:75)
35 Prjkt Prod                     0x1002c4270 thunk for @escaping @callee_guaranteed () -> () (<compiler-generated>)
36 libdispatch.dylib              0x1d847d7d4 _dispatch_client_callout + 16
37 libdispatch.dylib              0x1d8454c34 _dispatch_continuation_pop$VARIANT$armv81 + 404
38 libdispatch.dylib              0x1d8464800 _dispatch_source_invoke$VARIANT$armv81 + 1232
39 libdispatch.dylib              0x1d845d8d4 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 736
40 CoreFoundation                 0x1d89cdec0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
41 CoreFoundation                 0x1d89c8df8 __CFRunLoopRun + 1924
42 CoreFoundation                 0x1d89c8354 CFRunLoopRunSpecific + 436
43 GraphicsServices               0x1dabc879c GSEventRunModal + 104
44 UIKitCore                      0x204e71b68 UIApplicationMain + 212
45 Prjkt Prod                     0x10003043c main (CatalogSearchEditColorsCell.swift:47)
46 libdyld.dylib                  0x1d848e8e0 start + 4

--

#0. Crashed: com.apple.main-thread
0  Prjkt Prod                     0x10070e570 CollectionViewSectionedDataSource.collectionView(_:cellForItemAt:) (CollectionViewSectionedDataSource.swift:133)
1  Prjkt Prod                     0x10070e5f0 @objc CollectionViewSectionedDataSource.collectionView(_:cellForItemAt:) (<compiler-generated>)
2  Prjkt Prod                     0x1006f3ee4 @objc RxCollectionViewDataSourceProxy.collectionView(_:cellForItemAt:) (RxCollectionViewDataSourceProxy.swift:66)
3  UIKitCore                      0x204764ca4 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 428
4  UIKitCore                      0x2047666ec -[UICollectionView _prefetchItemsForVelocity:maxItemsToPrefetch:invalidateCandidatesOnDirectionChanges:] + 480
5  UIKitCore                      0x20476d8b4 -[UICollectionView layoutSubviews] + 732
6  UIKitCore                      0x2052f9e54 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1292
7  QuartzCore                     0x1dceca1f0 -[CALayer layoutSublayers] + 184
8  QuartzCore                     0x1dcecf198 CA::Layer::layout_if_needed(CA::Transaction*) + 332
9  UIKitCore                      0x2052e5e88 -[UIView(Hierarchy) layoutBelowIfNeeded] + 544
10 UIKitCore                      0x2047832c0 -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:] + 244
11 UIKitCore                      0x2047831ac -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:] + 96
12 UIKitCore                      0x204783130 -[UICollectionView _performBatchUpdates:completion:invalidationContext:] + 84
13 UIKitCore                      0x20478306c -[UICollectionView performBatchUpdates:completion:] + 64
14 Prjkt Prod                     0x1007136cc UICollectionView.performBatchUpdates<A>(_:animationConfiguration:) (UI+SectionedViewType.swift:101)
15 Prjkt Prod                     0x10070fc80 closure #1 in RxCollectionViewSectionedAnimatedDataSource.collectionView(_:throttledObservedEvent:) (RxCollectionViewSectionedAnimatedDataSource.swift:95)
16 Prjkt Prod                     0x100710304 partial apply for thunk for @escaping @callee_guaranteed (@guaranteed RxCollectionViewSectionedAnimatedDataSource<A>, @guaranteed [A]) -> () (<compiler-generated>)
17 Prjkt Prod                     0x1006d05f4 partial apply for closure #1 in closure #1 in Binder.init<A>(_:scheduler:binding:) (Binder.swift:38)
18 Prjkt Prod                     0x1007542a8 MainScheduler.scheduleInternal<A>(_:action:) (MainScheduler.swift:63)
19 Prjkt Prod                     0x10077008c protocol witness for ImmediateSchedulerType.schedule<A>(_:action:) in conformance SerialDispatchQueueScheduler (<compiler-generated>)
20 Prjkt Prod                     0x1006d0130 closure #1 in Binder.init<A>(_:scheduler:binding:) (Binder.swift:36)
21 Prjkt Prod                     0x1006d025c Binder.on(_:) (Binder.swift:52)
22 Prjkt Prod                     0x10070f9bc RxCollectionViewSectionedAnimatedDataSource.collectionView(_:throttledObservedEvent:) (RxCollectionViewSectionedAnimatedDataSource.swift:110)
23 Prjkt Prod                     0x100710214 partial apply for closure #1 in RxCollectionViewSectionedAnimatedDataSource.init(animationConfiguration:decideViewTransition:configureCell:configureSupplementaryView:moveItem:canMoveItemAtIndexPath:) (RxCollectionViewSectionedAnimatedDataSource.swift:58)
24 Prjkt Prod                     0x100710278 partial apply for thunk for @escaping @callee_guaranteed (@guaranteed UICollectionView, @guaranteed Event<[A]>) -> () (<compiler-generated>)
25 Prjkt Prod                     0x10075cf54 closure #1 in ObservableType.subscribe(onNext:onError:onCompleted:onDisposed:) (ObservableType+Extensions.swift:65)
26 Prjkt Prod                     0x10075d154 partial apply for closure #1 in ObservableType.subscribe(onNext:onError:onCompleted:onDisposed:) (<compiler-generated>)
27 Prjkt Prod                     0x10071f688 AnonymousObserver.onCore(_:) (AnonymousObserver.swift:24)
28 Prjkt Prod                     0x10075f8d4 ObserverBase.on(_:) (ObserverBase.swift:21)
29 Prjkt Prod                     0x10075fa5c protocol witness for ObserverType.on(_:) in conformance ObserverBase<A> (<compiler-generated>)
30 Prjkt Prod                     0x1007737d0 Sink.forwardOn(_:) (Sink.swift:34)
31 Prjkt Prod                     0x10077f1e8 ThrottleSink.sendNow(element:) (Throttle.swift:123)
32 Prjkt Prod                     0x10077f400 ThrottleSink.propagate(_:) (Throttle.swift:132)
33 Prjkt Prod                     0x100728928 thunk for @escaping @callee_guaranteed (@unowned Int) -> (@out Disposable) (<compiler-generated>)
34 Prjkt Prod                     0x10074bb8c closure #2 in DispatchQueueConfiguration.scheduleRelative<A>(_:dueTime:action:) (CompositeDisposable.swift:75)
35 Prjkt Prod                     0x1002c4270 thunk for @escaping @callee_guaranteed () -> () (<compiler-generated>)
36 libdispatch.dylib              0x1d847d7d4 _dispatch_client_callout + 16
37 libdispatch.dylib              0x1d8454c34 _dispatch_continuation_pop$VARIANT$armv81 + 404
38 libdispatch.dylib              0x1d8464800 _dispatch_source_invoke$VARIANT$armv81 + 1232
39 libdispatch.dylib              0x1d845d8d4 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 736
40 CoreFoundation                 0x1d89cdec0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
41 CoreFoundation                 0x1d89c8df8 __CFRunLoopRun + 1924
42 CoreFoundation                 0x1d89c8354 CFRunLoopRunSpecific + 436
43 GraphicsServices               0x1dabc879c GSEventRunModal + 104
44 UIKitCore                      0x204e71b68 UIApplicationMain + 212
45 Prjkt Prod                     0x10003043c main (CatalogSearchEditColorsCell.swift:47)
46 libdyld.dylib                  0x1d848e8e0 start + 4

#1. com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x1d85cf0f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x1d85ce5a0 mach_msg + 72
2  CoreFoundation                 0x1d89cdcb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x1d89c8bc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x1d89c8354 CFRunLoopRunSpecific + 436
5  CFNetwork                      0x1d8fe174c -[__CoreSchedulingSetRunnable runForever] + 216
6  Foundation                     0x1d94c26e4 __NSThread__start__ + 984
7  libsystem_pthread.dylib        0x1d865c2c0 _pthread_body + 128
8  libsystem_pthread.dylib        0x1d865c220 _pthread_start + 44
9  libsystem_pthread.dylib        0x1d865fcdc thread_start + 4

#2. com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1d85cf0f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x1d85ce5a0 mach_msg + 72
2  CoreFoundation                 0x1d89cdcb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x1d89c8bc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x1d89c8354 CFRunLoopRunSpecific + 436
5  Foundation                     0x1d9395fcc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
6  Foundation                     0x1d9395e5c -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
7  UIKitCore                      0x204f57540 -[UIEventFetcher threadMain] + 136
8  Foundation                     0x1d94c26e4 __NSThread__start__ + 984
9  libsystem_pthread.dylib        0x1d865c2c0 _pthread_body + 128
10 libsystem_pthread.dylib        0x1d865c220 _pthread_start + 44
11 libsystem_pthread.dylib        0x1d865fcdc thread_start + 4

#3. com.twitter.crashlytics.ios.MachExceptionServer
0  Prjkt Prod                     0x10085de2c CLSProcessRecordAllThreads (CLSProcess.c:376)
1  Prjkt Prod                     0x10085e214 CLSProcessRecordAllThreads (CLSProcess.c:407)
2  Prjkt Prod                     0x10084db98 CLSHandler (CLSHandler.m:26)
3  Prjkt Prod                     0x100848f88 CLSMachExceptionServer (CLSMachException.c:446)
4  libsystem_pthread.dylib        0x1d865c2c0 _pthread_body + 128
5  libsystem_pthread.dylib        0x1d865c220 _pthread_start + 44
6  libsystem_pthread.dylib        0x1d865fcdc thread_start + 4

#4. Thread
0  libsystem_kernel.dylib         0x1d85dab74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1d865d1f8 _pthread_wqthread + 532
2  libsystem_pthread.dylib        0x1d865fcd4 start_wqthread + 4

#5. Thread
0  libsystem_kernel.dylib         0x1d85dab74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1d865d1f8 _pthread_wqthread + 532
2  libsystem_pthread.dylib        0x1d865fcd4 start_wqthread + 4

#6. Thread
0  libsystem_kernel.dylib         0x1d85dab74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1d865d138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x1d865fcd4 start_wqthread + 4

#7. Thread
0  libsystem_kernel.dylib         0x1d85dab74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1d865d1f8 _pthread_wqthread + 532
2  libsystem_pthread.dylib        0x1d865fcd4 start_wqthread + 4

#8. Thread
0  libsystem_kernel.dylib         0x1d85dab74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1d865d1f8 _pthread_wqthread + 532
2  libsystem_pthread.dylib        0x1d865fcd4 start_wqthread + 4

#9. AVAudioSession Notify Thread
0  libsystem_kernel.dylib         0x1d85cf0f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x1d85ce5a0 mach_msg + 72
2  CoreFoundation                 0x1d89cdcb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x1d89c8bc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x1d89c8354 CFRunLoopRunSpecific + 436
5  AVFAudio                       0x1de886378 GenericRunLoopThread::Entry(void*) + 156
6  AVFAudio                       0x1de8b0c60 CAPThread::Entry(CAPThread*) + 88
7  libsystem_pthread.dylib        0x1d865c2c0 _pthread_body + 128
8  libsystem_pthread.dylib        0x1d865c220 _pthread_start + 44
9  libsystem_pthread.dylib        0x1d865fcdc thread_start + 4

#10. Thread
0  libsystem_kernel.dylib         0x1d85dab74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1d865d138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x1d865fcd4 start_wqthread + 4

#11. Thread
0  libsystem_kernel.dylib         0x1d85dab74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1d865d138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x1d865fcd4 start_wqthread + 4

#12. Thread
0  libsystem_kernel.dylib         0x1d85dab74 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x1d865d138 _pthread_wqthread + 340
2  libsystem_pthread.dylib        0x1d865fcd4 start_wqthread + 4

#13. JavaScriptCore bmalloc scavenger
0  libsystem_kernel.dylib         0x1d85d9ee4 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1d86594a4 _pthread_cond_wait$VARIANT$armv81 + 628
2  libc++.1.dylib                 0x1d7bb1090 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3  JavaScriptCore                 0x1dfb9e238 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 108
4  JavaScriptCore                 0x1dfba222c bmalloc::Scavenger::threadRunLoop() + 176
5  JavaScriptCore                 0x1dfba19a4 bmalloc::Scavenger::Scavenger(std::__1::lock_guard<bmalloc::Mutex>&) + 10
6  JavaScriptCore                 0x1dfba33e4 std::__1::__thread_specific_ptr<std::__1::__thread_struct>::set_pointer(std::__1::__thread_struct*) + 38
7  libsystem_pthread.dylib        0x1d865c2c0 _pthread_body + 128
8  libsystem_pthread.dylib        0x1d865c220 _pthread_start + 44
9  libsystem_pthread.dylib        0x1d865fcdc thread_start + 4

#14. WebThread
0  libsystem_kernel.dylib         0x1d85cf0f4 mach_msg_trap + 8
1  libsystem_kernel.dylib         0x1d85ce5a0 mach_msg + 72
2  CoreFoundation                 0x1d89cdcb4 __CFRunLoopServiceMachPort + 236
3  CoreFoundation                 0x1d89c8bc4 __CFRunLoopRun + 1360
4  CoreFoundation                 0x1d89c8354 CFRunLoopRunSpecific + 436
5  WebCore                        0x1e1622480 RunWebThread(void*) + 600
6  libsystem_pthread.dylib        0x1d865c2c0 _pthread_body + 128
7  libsystem_pthread.dylib        0x1d865c220 _pthread_start + 44
8  libsystem_pthread.dylib        0x1d865fcdc thread_start + 4
jasin755 commented 5 years ago

Hi. I can't reproduce this. It is random crash and I tried fix it many times and I don't know what caused this problem :/

vignatiev commented 5 years ago

Hi. Reproduced during very fast scrolling in collectionView with lots of items

buithuyen commented 5 years ago

I have the same one Screen Shot 2019-07-05 at 4 16 30 PM

buithuyen commented 5 years ago

Does anyone know the reason. It has not happened often. So, It's very difficult to reproduce.

lordzsolt commented 4 years ago

It looks like the same crash as in #311. Based on that description, I would assume it's a concurrency issue.

There is an animation happening (ex: reload, dequeue, selecting row), while the data gets changed. And the animation is trying to access something based on the old data, but the new data no longer has that index.

phuc-nguyen4-tiki commented 4 years ago

@lordzsolt Does anyone have solutions for that? I'm working with million users app so it can be a big problem. Thanks in advance.

lordzsolt commented 4 years ago

@lordzsolt Does anyone have solutions for that? I'm working with million users app so it can be a big problem. Thanks in advance.

What do you mean by 'it can be a big problem'?

Are you experiencing already a high number of these crashes? Is it one of your most frequent crashes and you need to fix it? Or you're just thinking that it could happen?

Because if it happens once in a blue moon, who cares? Apple randomly crashes more of your users at that point.

If it is happening very often and you need to fix it, I'm not sure... First, make sure that it's not a threading issue, like the data source gets the items on a background thread.

I could imagine some hacky solution like limiting your data source to 100-1000 items at a time, then switching out the items when the user reaches the end/start of the page. Not sure if you can make it look seamless.

fanfanqy commented 1 year ago

Is it solved now, please? What is the approximate reason?

fanfanqy commented 1 year ago

Is it solved now, please? What is the approximate reason?