Skip to content

Instantly share code, notes, and snippets.

@bgerstle
Created October 13, 2015 22:22
Show Gist options
  • Save bgerstle/aeabd16dffc0dacfe9bf to your computer and use it in GitHub Desktop.
Save bgerstle/aeabd16dffc0dacfe9bf to your computer and use it in GitHub Desktop.
Crash when deleted a recent article by swiping.
2015-10-13 18:20:28.865 Wikipedia Debug[976:36527763] *** Assertion failure in -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3505.16/UICollectionView.m:3936
2015-10-13 18:20:28.879 Wikipedia Debug[976:36527763] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'attempt to delete and reload the same index path (<NSIndexPath: 0xc000000000000016> {length = 2, path = 0 - 0})'
*** First throw call stack:
(
0 CoreFoundation 0x000000010b694f65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010b10edeb objc_exception_throw + 48
2 CoreFoundation 0x000000010b694dca +[NSException raise:format:arguments:] + 106
3 Foundation 0x0000000108851ae2 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 198
4 UIKit 0x0000000109c257eb -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:] + 1855
5 UIKit 0x0000000109c2fc3e -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:] + 415
6 UIKit 0x0000000109c2fa7c -[UICollectionView _performBatchUpdates:completion:invalidationContext:] + 74
7 UIKit 0x0000000109c2fa1f -[UICollectionView performBatchUpdates:completion:] + 53
8 Wikipedia Debug 0x0000000107bc93ea __84-[WMFEditingCollectionViewLayout completeDeletionPanAnimationWithGestureRecognizer:]_block_invoke192 + 650
9 UIKit 0x00000001094b0daa -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 644
10 UIKit 0x000000010948f3a7 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 241
11 UIKit 0x000000010948f756 -[UIViewAnimationState animationDidStop:finished:] + 80
12 QuartzCore 0x0000000108fedd70 _ZN2CA5Layer23run_animation_callbacksEPv + 308
13 libdispatch.dylib 0x000000010ce6549b _dispatch_client_callout + 8
14 libdispatch.dylib 0x000000010ce4d34b _dispatch_main_queue_callback_4CF + 1738
15 CoreFoundation 0x000000010b5f53e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
16 CoreFoundation 0x000000010b5b6939 __CFRunLoopRun + 2073
17 CoreFoundation 0x000000010b5b5e98 CFRunLoopRunSpecific + 488
18 GraphicsServices 0x000000010f0bcad2 GSEventRunModal + 161
19 UIKit 0x000000010940a676 UIApplicationMain + 171
20 Wikipedia Debug 0x0000000107c1eb21 main + 177
21 libdyld.dylib 0x000000010ce9992d start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
@kiarafbickers
Copy link

Any luck on a solution to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment