[iOS] Random crash at launch



Posted Aug 10, 2023

Hello!

We have random crashes number increased with latest 4.0.1 library, was 3.x.x before but also crashed from time to time.

This version gives us ~200 crashes in just 2 days.

The logic is simple: app launches, loads webview, we got some cookie as signal to update (resetIdentity) Zendesk instance. Then crash.

Any ideas ?

 

 
 
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000

0  ChatProvidersSDK               0xd4e7c specialized __RawDictionaryStorage.find<A>(_:) + 27612 (<compiler-generated>:27612)
1  ChatProvidersSDK               0x1af34 specialized Dictionary.removeValue(forKey:) + 21696
2  ChatProvidersSDK               0x1ac34 specialized closure #2 in Observable.addObserver<A>(_:identifier:eagerObserver:onRemove:_:) + 20928
3  ChatProvidersSDK               0x1b5ec partial apply for specialized closure #2 in Observable.addObserver<A>(_:identifier:eagerObserver:onRemove:_:) + 23416
4  ChatProvidersSDK               0x397ec @objc ObservationToken.__deallocating_deinit + 128 (Observer.swift:128)
5  ChatProvidersSDK               0x7c9c SessionConfigurator.observeVisitorInfo() + 259 (SessionConfigurator.swift:259)
6  ChatProvidersSDK               0x75e4 SessionConfigurator.connect() + 189 (SessionConfigurator.swift:189)
7  ChatProvidersSDK               0x115124 ChatSessionMediator.resetIdentity(_:) + 275 (ChatSessionMediator.swift:275)
8  ChatProvidersSDK               0xa0aac Chat.resetIdentity(_:) + 210 (Chat.swift:210)
9  OurAppName                  0x27de80 ZendeskMessaging.resetIdentity(_:) + 261 (ZendeskMessaging.swift:261)
10 OurAppName                  0x27e954 ZendeskMessaging.handleNotification(_:) + 326 (ZendeskMessaging.swift:326)
11 OurAppName                  0x27ea10 @objc ZendeskMessaging.handleNotification(_:) + 4378962448 (<compiler-generated>:4378962448)
12 CoreFoundation                 0x373b4 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
13 CoreFoundation                 0xde444 ___CFXRegistrationPost_block_invoke + 88
14 CoreFoundation                 0xc16f4 _CFXRegistrationPost + 440

 

 


0

0

0 comments

Sign in to leave a comment.

Didn't find what you're looking for?

New post