0

I have received the following crash log from Firebase Crashlytics but could not identify the exact reason. It's happing on iOS devices having os version above 15.0. I am using DiffableDataSource for loading collection view and table view.

Crashed: com.apple.main-thread
0  libswiftCore.dylib             0x3da990 swift_getObjectType + 40
1  libswiftUIKit.dylib            0x9674 thunk for @escaping @callee_guaranteed (@guaranteed UITableView, @in_guaranteed IndexPath, @in_guaranteed Any) -> (@owned UITableViewCell?) + 192
2  UIKitCore                      0x3e81c -[__UIDiffableDataSource collectionView:cellForItemAtIndexPath:] + 188
3  libswiftUIKit.dylib            0x2dc8 UICollectionViewDiffableDataSource.collectionView(_:cellForItemAt:) + 80
4  libswiftUIKit.dylib            0x2c0c @objc UICollectionViewDiffableDataSource.collectionView(_:cellForItemAt:) + 224
5  UIKitCore                      0x32b0f4 -[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttributes:isFocused:notify:] + 1148
6  UIKitCore                      0x2255f0 -[UICollectionView _updateVisibleCellsNow:] + 4372
7  UIKitCore                      0x179c4c -[UICollectionView layoutSubviews] + 320
8  UIKitCore                      0x18c17c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2592
9  QuartzCore                     0x407fc CA::Layer::layout_if_needed(CA::Transaction*) + 532
10 QuartzCore                     0x32c60 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 136
11 QuartzCore                     0x475b4 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 452
12 QuartzCore                     0x504a8 CA::Transaction::commit() + 704
13 UIKitCore                      0x165b2c _afterCACommitHandler + 88
14 CoreFoundation                 0x410c4 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
15 CoreFoundation                 0x10080 __CFRunLoopDoObservers + 592
16 CoreFoundation                 0xb13c __CFRunLoopRun + 1052
17 CoreFoundation                 0x1ebc8 CFRunLoopRunSpecific + 600
18 GraphicsServices               0x1374 GSEventRunModal + 164
19 UIKitCore                      0x514b58 -[UIApplication _run] + 1100
20 UIKitCore                      0x296090 UIApplicationMain + 364
21 libswiftUIKit.dylib            0x30ecc UIApplicationMain(_:_:_:_:) + 104
22 AppName                      0xd640 main + 4295185984 (TagListView.swift:4295185984)
23 ???                            0x10513dda4 (Missing)

Can anyone describe what this crash is?

  • Address 0 means a null pointer exception. Can't say more than that because you posted no code or other details. – JeremyP Nov 21 '22 at 09:59

0 Answers0