Netvent/storyly-sdk

iOS crash on v1.26.0

Closed this issue · 3 comments

Issue tracker is ONLY used for reporting iOS SDK related bugs.

I have started receiving some crashes connected with UICollectionView

Environment Details

Storyly SDK Version: 1.26.0
Device Model: iPhones
Device OS Version: iOS 15.x

Stack Trace

Attempt to delete item 6 from section 0 which only contains 1 items before the update

Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x99288 __exceptionPreprocess
1  libobjc.A.dylib                0x16744 objc_exception_throw
2  Foundation                     0x132340 _userInfoForFileAndLine
3  UIKitCore                      0x3e8b14 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:]
4  UIKitCore                      0x36ed88 -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:animationHandler:]
5  Storyly                        0x5e198 _hidden#7509_ + 29 (__hidden#8414_:29)
6  Storyly                        0x67e10 _hidden#7648_ + 29 (__hidden#7846_:29)
7  Storyly                        0x85568 _hidden#4428_ (__hidden#3551_)
8  libdispatch.dylib              0x1e6c _dispatch_call_block_and_release
9  libdispatch.dylib              0x3a30 _dispatch_client_callout
10 libdispatch.dylib              0x11f48 _dispatch_main_queue_drain
11 libdispatch.dylib              0x11b98 _dispatch_main_queue_callback_4CF
12 CoreFoundation                 0x51800 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
13 CoreFoundation                 0xb704 __CFRunLoopRun
14 CoreFoundation                 0x1ebc8 CFRunLoopRunSpecific
15 GraphicsServices               0x1374 GSEventRunModal
16 UIKitCore                      0x514b58 -[UIApplication _run]
17 UIKitCore                      0x296090 UIApplicationMain
18 CCC                            0x42b8 main + 34 (main.swift:34)
19 ???                            0x105509da4 (Missing)

I am getting the same issue on iOS 16.0.0, SDK version 1.26.2

Attempt to delete item 9 from section 0 which only contains 6 items before the update.

Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0xa248 __exceptionPreprocess
1  libobjc.A.dylib                0x17a68 objc_exception_throw
2  Foundation                     0x54681c _userInfoForFileAndLine
3  UIKitCore                      0x3121e8 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:]
4  UIKitCore                      0x27111c -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:animationHandler:]
5  Storyly                        0x5d514 (Missing UUID e6b77d08399a34a39432091954f405ce)
6  Storyly                        0x67150 (Missing UUID e6b77d08399a34a39432091954f405ce)
7  Storyly                        0x8492c (Missing UUID e6b77d08399a34a39432091954f405ce)
8  libdispatch.dylib              0x24b4 _dispatch_call_block_and_release
9  libdispatch.dylib              0x3fdc _dispatch_client_callout
10 libdispatch.dylib              0x127f4 _dispatch_main_queue_drain
11 libdispatch.dylib              0x12444 _dispatch_main_queue_callback_4CF
12 CoreFoundation                 0x9aa08 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
13 CoreFoundation                 0x7c368 __CFRunLoopRun
14 CoreFoundation                 0x811e4 CFRunLoopRunSpecific
15 GraphicsServices               0x1368 GSEventRunModal
16 UIKitCore                      0x3a2d88 -[UIApplication _run]
17 UIKitCore                      0x3a29ec UIApplicationMain
18 Runner                         0x74a0 main + 8 (AppDelegate.swift:8)
19 ???                            0x1f15f9948 (Missing)

Hello @pwadowski @alicja-ogonowska,

We've fixed this issue in Storyly iOS SDK@1.31.1. Please update and check the results. Let us know if the issue persists.

Thanks,

vanab commented

The crash still repeats.