Skip to content

[IGListBatchUpdateTransaction _applyDiff:] Crash #1623

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

Open
EasefulLay opened this issue Mar 12, 2025 · 2 comments
Open

[IGListBatchUpdateTransaction _applyDiff:] Crash #1623

EasefulLay opened this issue Mar 12, 2025 · 2 comments

Comments

@EasefulLay
Copy link

EasefulLay commented Mar 12, 2025

Hello:
Our application has occasional crashes when using IGList. We are unable to reproduce it ourselves.
Please help us. Thank you

0  CoreFoundation                 0x2d5fc __exceptionPreprocess
1  libobjc.A.dylib                0x31244 objc_exception_throw
2  Foundation                     0x82dec0 _userInfoForFileAndLine
3  UIKitCore                      0x9aa674 -[UICollectionView _Bug_Detected_In_Client_Of_UICollectionView_Invalid_Number_Of_Items_In_Section:]
4  UIKitCore                      0x20b750 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:]
5  UIKitCore                      0x1f080c -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:animationHandler:]
6  IGListKit                      0xe688 __43-[IGListBatchUpdateTransaction _applyDiff:]_block_invoke.4 + 190 (IGListBatchUpdateTransaction.m:190)
7  UIKitCore                      0x28828 +[UIView(Animation) performWithoutAnimation:]
8  IGListKit                      0xe450 -[IGListBatchUpdateTransaction _applyDiff:] + 192 (IGListBatchUpdateTransaction.m:192)
9  IGListKit                      0xe0cc -[IGListBatchUpdateTransaction _didDiff:onBackground:] + 155 (IGListBatchUpdateTransaction.m:155)
10 IGListKit                      0xdcf8 -[IGListBatchUpdateTransaction _diff] + 124 (IGListBatchUpdateTransaction.m:124)
11 IGListKit                      0xbd98 -[IGListAdapterUpdater update] + 124 (IGListAdapterUpdater.m:124)
12 IGListKit                      0xbbc4 __44-[IGListAdapterUpdater _queueUpdateIfNeeded]_block_invoke + 73 (IGListAdapterUpdater.m:73)
13 libdispatch.dylib              0x2248 _dispatch_call_block_and_release
14 libdispatch.dylib              0x3fa8 _dispatch_client_callout
15 libdispatch.dylib              0x12a34 _dispatch_main_queue_drain
16 libdispatch.dylib              0x1264c _dispatch_main_queue_callback_4CF
17 CoreFoundation                 0x79bcc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
18 CoreFoundation                 0x761c0 __CFRunLoopRun
19 CoreFoundation                 0xc8284 CFRunLoopRunSpecific
20 GraphicsServices               0x14c0 GSEventRunModal
21 UIKitCore                      0x3ee674 -[UIApplication _run]
22 UIKitCore                      0x14e88 UIApplicationMain
23 UIKitCore                      0x75115c keypath_get_selector_hoverStyle
24 Olight                         0x82240 main (AppDelegate.swift)
@EasefulLay
Copy link
Author

system version :18.3.1-18.4.0

@TimOliver
Copy link
Member

Hi @EasefulLay! We'll need a bit more information before we can help! The error in that stack trace is saying Invalid_Number_Of_Items_In_Section so I'm wondering if there's an issue in your section controller there.

Are you able to share more details, or any code snippets? Thanks!

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

2 participants