Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 11 Crash #75

Open
fishcharlie opened this issue Sep 22, 2017 · 0 comments
Open

iOS 11 Crash #75

fishcharlie opened this issue Sep 22, 2017 · 0 comments

Comments

@fishcharlie
Copy link

I'm getting the following crash on iOS 11. #22 is when I call self.collectionView.dg_stopLoading(). #19 is on line 299 of DGElasticPullToRefreshView.swift, and #15 is on line 286 of the same file.

Any ideas on how to fix? Looks like a DGElasticPullToRefresh problem. It could be happening on previous versions but I don't have anyway to confirm or deny that.

#0	(null) in _T07cclipss23DashboardViewControllerC010collectionC0So012UICollectionC4CellCSo0fC0C_10Foundation9IndexPathV13cellForItemAttFTf4ggn_n ()
#1	(null) in _T07cclipss23DashboardViewControllerC010collectionC0So012UICollectionC4CellCSo0fC0C_10Foundation9IndexPathV13cellForItemAttFTo ()
#2	(null) in -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] ()
#3	(null) in -[UICollectionView _updateVisibleCellsNow:] ()
#4	(null) in -[UICollectionView layoutSubviews] ()
#5	(null) in -[UIView(CALayerDelegate) layoutSublayersOfLayer:] ()
#6	(null) in -[CALayer layoutSublayers] ()
#7	(null) in CA::Layer::layout_if_needed(CA::Transaction*) ()
#8	(null) in -[UIView(Hierarchy) layoutBelowIfNeeded] ()
#9	(null) in -[UICollectionView setContentInset:] ()
#10	(null) in __invoking___ ()
#11	(null) in -[NSInvocation invoke] ()
#12	(null) in NSKVOForwardInvocation ()
#13	(null) in ___forwarding___ ()
#14	(null) in _CF_forwarding_prep_0 ()
#15	(null) in _T022DGElasticPullToRefresh0abcD4ViewC011resetScrollE12ContentInset33_115918780606024676E4823DF634C86FLLySb29shouldAddObserverWhenFinished_Sb8animatedyycSg10completiontFyycfU_Tf2ni_nTA at /Users/charliefish/Desktop/Developer/rrainn/cclipss-iOS/Code/Pods/DGElasticPullToRefresh/DGElasticPullToRefresh/DGElasticPullToRefreshView.swift:286
#16	(null) in _T0Ix_IyB_TR ()
#17	(null) in +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] ()
#18	(null) in +[UIView(UIViewAnimationWithBlocks) animateWithDuration:animations:completion:] ()
#19	(null) in _T022DGElasticPullToRefresh0abcD4ViewC011resetScrollE12ContentInset33_115918780606024676E4823DF634C86FLLySb29shouldAddObserverWhenFinished_Sb8animatedyycSg10completiontFTf4nngn_n at /Users/charliefish/Desktop/Developer/rrainn/cclipss-iOS/Code/Pods/DGElasticPullToRefresh/DGElasticPullToRefresh/DGElasticPullToRefreshView.swift:299
#20	(null) in _T022DGElasticPullToRefresh0abcD4ViewC5stateAA0abcD5StateOfs ()
#21	(null) in _T0So12UIScrollViewC22DGElasticPullToRefreshE14dg_stopLoadingyyFTo at /Users/charliefish/Desktop/Developer/rrainn/cclipss-iOS/Code/Pods/DGElasticPullToRefresh/DGElasticPullToRefresh/DGElasticPullToRefreshExtensions.swift:214
#22	(null) in _T07cclipss23DashboardViewControllerC10reloadDatayyF at /Users/charliefish/Desktop/Developer/rrainn/cclipss-iOS/Code/cclipss/DashboardViewController.swift:1279
#23	(null) in _T07cclipss23DashboardViewControllerC11viewDidLoadyyF at /Users/charliefish/Desktop/Developer/rrainn/cclipss-iOS/Code/cclipss/DashboardViewController.swift:125
#24	(null) in _T07cclipss23DashboardViewControllerC11viewDidLoadyyFTo ()
#25	(null) in -[UIViewController loadViewIfRequired] ()
#26	(null) in -[UIViewController view] ()
#27	(null) in -[UIWindow addRootViewControllerViewIfPossible] ()
#28	(null) in -[UIWindow _setHidden:forced:] ()
#29	(null) in -[UIWindow makeKeyAndVisible] ()
#30	(null) in _T07cclipss11AppDelegateC11applicationSbSo13UIApplicationC_s10DictionaryVySC0E16LaunchOptionsKeyVypGSg022didFinishLaunchingWithH0tFTf4ggn_n at /Users/charliefish/Desktop/Developer/rrainn/cclipss-iOS/Code/cclipss/AppDelegate.swift:52
#31	(null) in _T07cclipss11AppDelegateC11applicationSbSo13UIApplicationC_s10DictionaryVySC0E16LaunchOptionsKeyVypGSg022didFinishLaunchingWithH0tFTo ()
#32	(null) in -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] ()
#33	(null) in -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] ()
#34	(null) in -[UIApplication _runWithMainScene:transitionContext:completion:] ()
#35	(null) in __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke ()
#36	(null) in +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] ()
#37	(null) in -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] ()
#38	(null) in -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] ()
#39	(null) in __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke ()
#40	(null) in -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] ()
#41	(null) in __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke ()
#42	(null) in _performActionsWithDelayForTransitionContext ()
#43	(null) in -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] ()
#44	(null) in -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] ()
#45	(null) in -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] ()
#46	(null) in -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] ()
#47	(null) in -[FBSSceneImpl _didCreateWithTransitionContext:completion:] ()
#48	(null) in __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 ()
#49	(null) in _dispatch_client_callout ()
#50	(null) in _dispatch_block_invoke_direct$VARIANT$mp ()
#51	(null) in __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ ()
#52	(null) in -[FBSSerialQueue _performNext] ()
#53	(null) in -[FBSSerialQueue _performNextFromRunLoopSource] ()
#54	(null) in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ()
#55	(null) in __CFRunLoopDoSource0 ()
#56	(null) in __CFRunLoopDoSources0 ()
#57	(null) in __CFRunLoopRun ()
#58	(null) in CFRunLoopRunSpecific ()
#59	(null) in GSEventRunModal ()
#60	(null) in UIApplicationMain ()
#61	(null) in main at /Users/charliefish/Desktop/Developer/rrainn/cclipss-iOS/Code/BrowserWebVC/BrowserWebVCActivitySafari.swift:24
#62	(null) in start ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant