I have noticed some crashes in Sendbird SDK. The stack trace is like this:
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00005a6fe71ce550
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x1f28 objc_msgSend + 8
1 CoreFoundation 0x17218 -[__NSDictionaryM objectForKeyedSubscript:] + 184
2 SendBirdSDK 0xa874c -[SBDGroupChannel getMember:] + 2095 (SBDGroupChannel.m:2095)
3 SendBirdSDK 0xf9410 -[SBDBaseMessage sender] + 611 (SBDBaseMessage.m:611)
4 App 0x260ba0 sender.get + 28 (ChatMessage.swift:28)
5 App 0xf7ff0 isFromCurrentSender + 253 (ChatDatasource.swift:253)
6 MessageKit 0x35a04 messageBottomLabelAlignment + 240 (MessageSizeCalculator.swift:240)
7 MessageKit 0x32c98 configure + 4328385688 (MessagesCollectionViewLayoutAttributes.swift:4328385688)
8 MessageKit 0x41704 configure + 74 (TextMessageSizeCalculator.swift:74)
9 MessageKit 0x2b850 layoutAttributesForElements + 124 (MessagesCollectionViewFlowLayout.swift:124)
10 MessageKit 0x2bb8c layoutAttributesForElements + 4328356748 (<compiler-generated>:4328356748)
11 UIKitCore 0x19cde4 __45-[UICollectionViewData validateLayoutInRect:]_block_invoke + 148
12 UIKitCore 0x176df4 -[UICollectionViewData validateLayoutInRect:] + 1232
13 UIKitCore 0x179a20 -[UICollectionView layoutSubviews] + 220
14 UIKitCore 0x18bfb4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2592
15 QuartzCore 0x40cd0 CA::Layer::layout_if_needed(CA::Transaction*) + 532
16 QuartzCore 0x33134 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 136
17 QuartzCore 0x47a7c CA::Context::commit_transaction(CA::Transaction*, double, double*) + 452
18 QuartzCore 0x50970 CA::Transaction::commit() + 704
19 QuartzCore 0x3288c CA::Transaction::flush_as_runloop_observer(bool) + 88
20 CoreFoundation 0x410c4 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
21 CoreFoundation 0x10080 __CFRunLoopDoObservers + 592
22 CoreFoundation 0xb13c __CFRunLoopRun + 1052
23 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
24 GraphicsServices 0x1374 GSEventRunModal + 164
25 UIKitCore 0x514648 -[UIApplication _run] + 1100
26 UIKitCore 0x295d90 UIApplicationMain + 364
27 App 0x6168 main + 18 (WebViewController.swift:18)
28 ??? 0x100a15ce4 (Missing)
I am using the SendBirdSDK (3.0.238)
& SendBirdSyncManager (1.1.41)
.
Can you please look into this?