Crash Report .. [UITableView (UITableViewInternal) _createPreparedCellForGlobalRow: withIndexPath:]

In my application using testflight, I see a crash below. I do not understand where and how this crash occurs. I have several UITableViewControllers in my application (about 10), so I'm not quite sure which code fragment to insert here. Any help would be really appreciated. I have already studied many questions, but I could not cover up the reason.

0 Anyvan 0x0019052e testflight_backtrace + 382 1 Anyvan 0x0019117c TFSignalHandler + 264 2 libsystem_c.dylib 0x3b1b9e92 _sigtramp + 42 3 UIKit 0x34e6654c -[UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:withIndexPath:] + 412 4 UIKit 0x34e4b312 -[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 1310 5 UIKit 0x34e627ce -[UITableView layoutSubviews] + 206 6 UIKit 0x34e1e802 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 258 7 QuartzCore 0x34bc8d8a -[CALayer layoutSublayers] + 214 8 QuartzCore 0x34bc8928 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 460 9 QuartzCore 0x34bc985c _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 16 10 QuartzCore 0x34bc9242 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 238 11 QuartzCore 0x34bc9050 _ZN2CA11Transaction6commitEv + 316 12 UIKit 0x34e248ea _afterCACommitHandler + 126 13 CoreFoundation 0x32fe86cc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 20 14 CoreFoundation 0x32fe69c0 __CFRunLoopDoObservers + 276 15 CoreFoundation 0x32fe6d16 __CFRunLoopRun + 742 16 CoreFoundation 0x32f59ebc CFRunLoopRunSpecific + 356 17 CoreFoundation 0x32f59d48 CFRunLoopRunInMode + 104 18 GraphicsServices 0x36b322ea GSEventRunModal + 74 19 UIKit 0x34e6f300 UIApplicationMain + 1120 20 Anyvan 0x000e4c14 main (main.m:17) 21 Anyvan 0x000e4bb7 start + 39 
+4
source share
2 answers

Please find this link to understand your problem. Link 1- here

Link 2 - here

Link 3- here

Hope this helps sort out your problem.

+2
source

For me, this happens when I scroll through the table and the dealloc view manager (which has the array data for the table)
We may need the viewcontroller to be alive until the view containing the table disappears.

0
source

Source: https://habr.com/ru/post/1491635/


All Articles