ZendeskSDKMessaging iOS crashes | Community
Skip to main content

ZendeskSDKMessaging iOS crashes

  • April 11, 2022
  • 4 replies
  • 0 views

Dian

Hello, 

I have just released an app that using ZendeskSDKMessaging. Using cocoapods to integrate:

pod 'ZendeskSDKMessaging', '2.2.3'

After few days integration, I could see one crash that effecting our crash free users. The crash report is came from Firebase Crashlytics, and the report as below:

Crashed: com.apple.NSURLSession-delegate
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000

Crashed: com.apple.NSURLSession-delegate
0  libswiftCore.dylib             0x3c97c8 swift_isUniquelyReferenced_nonNull_native + 38
1  ZendeskSDKConversationKit      0x8a018 _hidden#9866_ + 4319223832 (__hidden#447_:4319223832)
2  ZendeskSDKMessaging            0x70120 _hidden#8854_ + 202 (__hidden#7395_:202)
3  ZendeskSDKMessaging            0x702fc _hidden#8855_ + 4320920316 (__hidden#7395_:4320920316)
4  ZendeskSDKMessaging            0x70554 _hidden#8856_ + 4320920916 (__hidden#8918_:4320920916)
5  ZendeskSDKMessaging            0x95cf4 _hidden#11303_ + 4321074420 (__hidden#476_:4321074420)
6  ZendeskSDK                     0x10c58 _hidden#1497_ + 149 (__hidden#1704_:149)
7  ZendeskSDK                     0x14198 _hidden#1545_ + 4318429592 (__hidden#131_:4318429592)
8  ZendeskSDK                     0xba40 _hidden#976_ + 68 (__hidden#1004_:68)
9  ZendeskSDKHTTPClient           0xa9c8 _hidden#480_ + 189 (__hidden#535_:189)
10 ZendeskSDKHTTPClient           0xaadc _hidden#482_ + 225 (__hidden#535_:225)
11 ZendeskSDKHTTPClient           0xac00 _hidden#483_ + 4320275456 (__hidden#66_:4320275456)
12 CFNetwork                      0x22178 CFURLRequestSetMainDocumentURL + 3028
13 CFNetwork                      0x33120 _CFNetworkErrorCopyLocalizedDescriptionWithHostname + 11444
14 libdispatch.dylib              0x2924 _dispatch_call_block_and_release + 32
15 libdispatch.dylib              0x4670 _dispatch_client_callout + 20
16 libdispatch.dylib              0xbdf4 _dispatch_lane_serial_drain + 672
17 libdispatch.dylib              0xc99c _dispatch_lane_invoke + 444
18 libdispatch.dylib              0x171b8 _dispatch_workloop_worker_thread + 656
19 libsystem_pthread.dylib        0x10f4 _pthread_wqthread + 288
20 libsystem_pthread.dylib        0xe94 start_wqthread + 8

4 replies

Roshan
  • March 30, 2023

Facing similar issue. Did you find any fix for this issue? 


Hi Roshan,
 
Are you seeing this with the latest version of the SDK?

Jay46
  • May 5, 2023

Hi Christopher,

My project uses React Native, and while testing upgrading RN from 0.69 to 0.71 I'm seeing the same crash even on the latest version of the SDK. I tried to connect Zendesk with a fresh project with RN 71, but was unable to reproduce it there. 

Thread 9 Crashed::  Dispatch queue: com.apple.NSURLSession-delegate
0   libswiftCore.dylib                       0x18f9b5d8c swift_isUniquelyReferenced_nonNull_native + 0
1   ZendeskSDKConversationKit                0x10834670c 0x1082c0000 + 550668
2   ZendeskSDKConversationKit                0x10835ef2c 0x1082c0000 + 651052
3   ZendeskSDKMessaging                      0x107c003ec 0x107b74000 + 574444
4   ZendeskSDKMessaging                      0x107c00650 0x107b74000 + 575056
5   ZendeskSDKMessaging                      0x107bff240 0x107b74000 + 569920
6   ZendeskSDKMessaging                      0x107c2fce0 0x107b74000 + 769248
7   ZendeskSDK                               0x107b02aac 0x107aec000 + 92844
8   ZendeskSDK                               0x107b06cb8 0x107aec000 + 109752
9   ZendeskSDK                               0x107afbb38 0x107aec000 + 64312
10  ZendeskSDKHTTPClient                     0x107a6673c 0x107a5c000 + 42812
11  ZendeskSDKHTTPClient                     0x107a66f9c 0x107a5c000 + 44956
12  ZendeskSDKHTTPClient                     0x107a670b4 0x107a5c000 + 45236
13  CFNetwork                                0x183c10c3c 0x183c09000 + 31804
14  CFNetwork                                0x183c2c794 0x183c09000 + 145300
15  libdispatch.dylib                        0x18010d244 _dispatch_call_block_and_release + 24
16  libdispatch.dylib                        0x18010ea98 _dispatch_client_callout + 16
17  libdispatch.dylib                        0x180115acc _dispatch_lane_serial_drain + 652
18  libdispatch.dylib                        0x180116680 _dispatch_lane_invoke + 456
19  libdispatch.dylib                        0x180120e10 _dispatch_workloop_worker_thread + 736
20  libsystem_pthread.dylib                  0x1cba8b8fc _pthread_wqthread + 284
21  libsystem_pthread.dylib                  0x1cba8a6c0 start_wqthread + 8


  • October 12, 2023

Hello there, I'm facing the same issue using ZendeskSDKMessaging(2.14.0)

Is there any updates from this issue since the last time it's reported?