Skip to main content

Hey Intercom Team,

We are experiencing this warning in Xcode 14.2 including 2 type of crashes on Firebase with Intercom SDK version 14.0.6 ntried with latest 14.1.0 version as well but still getting debugger warning].

We hope you guys take a look this issues and give us possible solution.

Thanks.

 

Firebase crash 1:

Crashed: com.apple.NSURLSession-delegate
0  CoreFoundation                 0x30f4 - __NSCFString isEqualToString:] + 176
1  Intercom                       0x122a60 shouldRenderOnNewLine + 315932

2  Intercom                       0xb7f6c IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 259656
3  Intercom                       0xb7e6c IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 259400
4  Intercom                       0xb009c IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 227192
5  Intercom                       0xaa4e0 IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 203708
6  Intercom                       0xd3be0 IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 373436
7  Intercom                       0xd3760 IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 372284
8  FirebasePerformance            0x19be4 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke_2 + 307 (FPRNSURLSessionInstrument.m:307)
9  FirebasePerformance            0x19be4 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke_2 + 307 (FPRNSURLSessionInstrument.m:307)
10 CFNetwork                      0x1f97c CFURLRequestSetMainDocumentURL + 2972
11 CFNetwork                      0x2f664 _CFNetworkErrorCopyLocalizedDescriptionWithHostname + 13648
12 libdispatch.dylib              0x2320 _dispatch_call_block_and_release + 32
13 libdispatch.dylib              0x3eac _dispatch_client_callout + 20
14 libdispatch.dylib              0xb534 _dispatch_lane_serial_drain + 668
15 libdispatch.dylib              0xc0d8 _dispatch_lane_invoke + 436
16 libdispatch.dylib              0x16cdc _dispatch_workloop_worker_thread + 648
17 libsystem_pthread.dylib        0xddc _pthread_wqthread + 288
18 libsystem_pthread.dylib        0xb7c start_wqthread + 8

 

Firebase crash 1:

Crashed: com.apple.NSURLSession-delegate
0  libobjc.A.dylib                0x4174 objc_release + 16
1  libobjc.A.dylib                0x4174 objc_release_x0 + 16
2  Intercom                       0x122d94 shouldRenderOnNewLine + 316752

3  Intercom                       0xb7f6c IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 259656
4  Intercom                       0xb7e6c IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 259400
5  Intercom                       0xb009c IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 227192
6  Intercom                       0xaa4e0 IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 203708
7  Intercom                       0xd3be0 IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 373436
8  Intercom                       0xd3760 IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 372284
9  FirebasePerformance            0x19be4 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke_2 + 307 (FPRNSURLSessionInstrument.m:307)
10 FirebasePerformance            0x19be4 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke_2 + 307 (FPRNSURLSessionInstrument.m:307)
11 CFNetwork                      0x1f97c CFURLRequestSetMainDocumentURL + 2972
12 CFNetwork                      0x2f664 _CFNetworkErrorCopyLocalizedDescriptionWithHostname + 13648
13 libdispatch.dylib              0x2320 _dispatch_call_block_and_release + 32
14 libdispatch.dylib              0x3eac _dispatch_client_callout + 20
15 libdispatch.dylib              0xb534 _dispatch_lane_serial_drain + 668
16 libdispatch.dylib              0xc0d8 _dispatch_lane_invoke + 436
17 libdispatch.dylib              0x16cdc _dispatch_workloop_worker_thread + 648
18 libsystem_pthread.dylib        0xddc _pthread_wqthread + 288
19 libsystem_pthread.dylib        0xb7c start_wqthread + 8

 

Debugger warning:

Thread Performance Checker: Thread running at QOS_CLASS_USER_INITIATED waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions
PID: 23927, TID: 5029197
Backtrace
=================================================================
3   Intercom                            0x000000010bc3eda0 IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 70348
4   Intercom                            0x000000010bc3ebb0 IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 69852
5   libdispatch.dylib                   0x000000010b315ff0 _dispatch_client_callout + 20
6   libdispatch.dylib                   0x000000010b317b60 _dispatch_once_callout + 136
7   Intercom                            0x000000010bc3eb60 IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 69772
8   Intercom                            0x000000010bc3b3f0 IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 55580
9   Intercom                            0x000000010bc3a2e4 IntercomSDK_PINRemoteImageManagerSubclassOverridesSelector + 51216
10  Intercom                            0x000000010bc13868 IntercomSDK_MethodSwizzle + 15788
11  Intercom                            0x000000010bc137a8 IntercomSDK_MethodSwizzle + 15596
12  Intercom                            0x000000010bc11440 IntercomSDK_MethodSwizzle + 6532
13  Intercom                            0x000000010bc0fde4 IntercomSDK_MethodSwizzle + 808
14  Intercom                            0x000000010bc966bc shouldRenderOnNewLine + 41536
15  Intercom                            0x000000010bc9635c shouldRenderOnNewLine + 40672
16  libdispatch.dylib                   0x000000010b31453c _dispatch_call_block_and_release + 32
17  libdispatch.dylib                   0x000000010b315ff0 _dispatch_client_callout + 20
18  libdispatch.dylib                   0x000000010b32a69c _dispatch_root_queue_drain + 972
19  libdispatch.dylib                   0x000000010b32ae64 _dispatch_worker_thread2 + 196
20  libsystem_pthread.dylib             0x0000000202eb8dbc _pthread_wqthread + 228
21  libsystem_pthread.dylib             0x0000000202eb8b98 start_wqthread + 8

Hey @Nick! Daniel from Customer Support Engineering here 🔧 

 

Thanks for flagging this with us. Can you please try this on the newest version of the SDK to see if it still persists? To be transparent, there are some Xcode warnings that are thrown that we haven’t been able to surpress just yet, but are thrown in error, and are not to be concerned about. Let us know if the newest version works, and if not, we can escalate the case. Please also let us know where in your app this crash occurs.


Hey @Daniel M15 

 

Yes, we are experiencing it with the latest SDK version 14.1.0 as well and this crash is the most occurred crash in Firebase which happens on third-party libraries we depend on. So it would be better if you guys take this issue seriously and escalate its priority on your side.

 

Thanks for your reply and willingness to help!


Hey @Daniel M15 ,

 

Do you have any update regarding the above issue? It is the most occurred crash in our analytics right now. Does Intercom Dev Team has plan to fix it in upcoming releases?

 

Thank you for attention in advance.


Reply