medallia / digital-ios-sdk

MIT License
5 stars 5 forks source link

Crash on app launch #15

Open mt00chikin opened 2 weeks ago

mt00chikin commented 2 weeks ago

We're experiencing an infrequent crash on app launch. The app is crashing on block_destroy_helper inside MedalliaDigitalSDK on a background thread.

We're seeing this crash on iOS 17 and 18. We're using medallia-ios-sdk v4.5.1.

          Crashed: com.apple.root.default-qos
0  libswiftCore.dylib             0x3d7824 _swift_release_dealloc + 32
1  libswiftCore.dylib             0x3d8950 bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 160
2  MedalliaDigitalSDK             0x8773c block_destroy_helper.20 + 4192
3  MedalliaDigitalSDK             0xcfddc block_destroy_helper.12 + 4504
4  MedalliaDigitalSDK             0xa4a54 block_destroy_helper.86 + 3480
5  MedalliaDigitalSDK             0x1de74 block_destroy_helper + 29472
6  MedalliaDigitalSDK             0x6a904 block_destroy_helper.84 + 173848
7  MedalliaDigitalSDK             0x78bf8 objectdestroy.103Tm + 764
8  MedalliaDigitalSDK             0x9d4b4 block_destroy_helper + 36404
9  MedalliaDigitalSDK             0xa3c48 objectdestroy.48Tm + 76
10 MedalliaDigitalSDK             0x1376d8 block_destroy_helper.12 + 4348
11 libdispatch.dylib              0x2370 _dispatch_call_block_and_release + 32
12 libdispatch.dylib              0x40d0 _dispatch_client_callout + 20
13 libdispatch.dylib              0x7218 _dispatch_queue_override_invoke + 916
14 libdispatch.dylib              0x15d8c _dispatch_root_queue_drain + 392
15 libdispatch.dylib              0x16590 _dispatch_worker_thread2 + 156
16 libsystem_pthread.dylib        0x4c40 _pthread_wqthread + 228
17 libsystem_pthread.dylib        0x1488 start_wqthread + 8
OriMedallia commented 1 week ago

Hi @mt00chikin,

Please contact your Digital Expert with all the information you can share about this. Once the Digital Expert raises a ticket, we'll be able to prioritize it for the team.

Thanks, Ori