Closed or-else closed 4 years ago
Crash in MessageViewController. Previous view TopicInfoViewController.
Crashed: com.apple.main-thread 0 Tinodios 0x1048aeb64 MessageViewController.collectionView(_:fillAttributes:) + 4345064292 (<compiler-generated>:4345064292) 1 Tinodios 0x104889754 MessageViewLayout.prepare() + 60 (MessageViewLayout.swift:60) 2 Tinodios 0x104889a24 @objc MessageViewLayout.prepare() + 4344912420 (<compiler-generated>:4344912420) 3 UIKitCore 0x1b57957bc -[UICollectionViewData _prepareToLoadData] + 228 4 UIKitCore 0x1b5796050 -[UICollectionViewData validateLayoutInRect:] + 104 5 UIKitCore 0x1b5798f04 -[UICollectionViewData _layoutAttributesForElementsInRect:] + 228 6 UIKitCore 0x1b5798e04 -[UICollectionViewData layoutAttributesForElementsInRect:] + 132 7 UIKitCore 0x1b5761d38 -[UICollectionView _updateVisibleCellsNow:] + 624 8 UIKitCore 0x1b5773760 -[UICollectionView _setupCellAnimations] + 32 9 UIKitCore 0x1b5772be4 -[UICollectionView _updateSections:updateAction:] + 136 10 UIKitCore 0x1b5772ea8 -[UICollectionView reloadSections:] + 64 11 Tinodios 0x1048a9368 MessageViewController.displayChatMessages(messages:) + 489 (MessageViewController.swift:489) 12 Tinodios 0x104889134 partial apply for closure #1 in MessagePresenter.presentMessages(messages:) + 4344910132 (<compiler-generated>:4344910132) 13 Tinodios 0x10488ca30 thunk for @escaping @callee_guaranteed () -> () + 4344924720 (<compiler-generated>:4344924720) 14 libdispatch.dylib 0x1b1b52610 _dispatch_call_block_and_release + 24 15 libdispatch.dylib 0x1b1b53184 _dispatch_client_callout + 16 16 libdispatch.dylib 0x1b1b05190 _dispatch_main_queue_callback_4CF$VARIANT$mp + 1044 17 CoreFoundation 0x1b1e045e4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12 18 CoreFoundation 0x1b1dff5d8 __CFRunLoopRun + 2004 19 CoreFoundation 0x1b1dfeadc CFRunLoopRunSpecific + 464 20 GraphicsServices 0x1bbd84328 GSEventRunModal + 104 21 UIKitCore 0x1b5ef9ae0 UIApplicationMain + 1936 22 Tinodios 0x1048103c0 main + 15 (AttributedStringFormatter.swift:15) 23 libdyld.dylib 0x1b1c88360 start + 4
Device Model: iPhone 7 Orientation: Unknown RAM free: 18.28 MB Disk free: 3.44 GB
Operating System Version: 13.3.0 (17C54) Orientation: Portrait Jailbroken: No
Crash Date: Jan 24, 2020, 12:43:00 PM App version: 1.0.1 (1032)
Nothing seems obvious in the code. https://github.com/tinode/ios/commit/32a50540a111ed487225036e133921b834df26ae may help with it.
This crash has not been observed in a while. Let's assume it's fixed.
Crash in MessageViewController. Previous view TopicInfoViewController.
Device Model: iPhone 7 Orientation: Unknown RAM free: 18.28 MB Disk free: 3.44 GB
Operating System Version: 13.3.0 (17C54) Orientation: Portrait Jailbroken: No
Crash Date: Jan 24, 2020, 12:43:00 PM App version: 1.0.1 (1032)