Support Forum
ios sdk v4 crashes on low end devices.
25 days ago by Ayberk Mogol
We are using taboola sdk 4.0.0 from cocoapods.
And got this crash on crashlytics. "45-[TBLClassicUnit(Private) reloadManagedViews]_block_invoke" We have a huge user base and only seeing the crash on old devices like iPhone 6s, 7 , 7 Plus and 8. ( not always )
I provided the stacktrace below. Didn't testet with 4.0.1 yet.
Fatal Exception: NSInternalInconsistencyException
Invalid update: invalid number of rows in section 6. The number of rows contained in an existing section after the update (4) must be equal to the number of rows contained in that section before the update (5), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out). Table view: <MHCachedHeightTableView: 0x10a563200; baseClass = UITableView; frame = (0 0; 375 554); clipsToBounds = YES; autoresize = RM+BM; tag = 3; gestureRecognizers = <NSArray: 0x2803479c0>; layer = <CALayer: 0x280910200>; contentOffset: {0, 1709}; contentSize: {375, 2263}; adjustedContentInset: {110, 0, 0, 0}; dataSource: <MHDetailArticlePageController: 0x10a571a00>>
0
CoreFoundation
__exceptionPreprocess
5
UIKitCore
-[UITableView endUpdatesWithContext:]
6
TaboolaSDK
TBLClassicUnit+Private.m - Line 457
__45-[TBLClassicUnit(Private) reloadManagedViews]_block_invoke + 457
7
UIKitCore
+[UIView(Animation) performWithoutAnimation:]
8
TaboolaSDK
TBLClassicUnit+Private.m - Line 460
-[TBLClassicUnit(Private) reloadManagedViews] + 460
9
TaboolaSDK
TBLClassicUnit+Private.m - Line 408
__61-[TBLClassicUnit(Private) resizeViewToHeight:placementNamed:]_block_invoke + 408
10
libdispatch.dylib
_dispatch_call_block_and_release
19
UIKitCore
UIApplicationMain