Force Quit Blocks Users from Rejoining the Meeting


Description
Sometimes, if a user forces quit the App while he is in a zoom meeting. The App will crash in the force quit. On the host side, the user is still in the meeting. The user can’t join the meeting after relaunching the App.

Which iOS Meeting SDK version?
Zoom Meeting SDK - iOS - 5.13.10

To Reproduce(If applicable)

  1. Join a zoom meeting as an attendee
  2. Kill the App
  3. Relaunch the App and try to rejoin the same Zoom Meeting

Stack Trace
Crashed: com.apple.main-thread
0 MobileRTC 0x551380 TermSBPTUIModule(Cmm::ICmmMessageQueueClient*) + 2145340
1 MobileRTC 0x111038 (Missing UUID 310fa90b0a0e38df9cef616283dbf53c)
2 MobileRTC 0x34f2f8 TermSBPTUIModule(Cmm::ICmmMessageQueueClient*) + 39860
3 Whova 0x6c534 -[WhovaAppDelegate applicationWillTerminate:] + 543 (WhovaAppDelegate.m:543)
4 UIKitCore 0xc6ac24 -[UIApplication _terminateWithStatus:] + 192
5 UIKitCore 0x270adc -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 108
6 UIKitCore 0x64b9e8 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 160
7 UIKitCore 0xc67364 -[UIApplication workspaceShouldExit:withTransitionContext:] + 172
8 FrontBoardServices 0x3b388 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 + 68
9 FrontBoardServices 0x5f70 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 160
10 FrontBoardServices 0x3b32c __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 96
11 libdispatch.dylib 0x647c8 _dispatch_client_callout + 16
12 libdispatch.dylib 0x3c408 _dispatch_block_invoke_direct$VARIANT$armv81 + 212
13 FrontBoardServices 0xf474 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 44
14 FrontBoardServices 0xf0b0 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 176
15 FrontBoardServices 0x11574 -[FBSSerialQueue _performNextFromRunLoopSource] + 24
16 CoreFoundation 0xcc2b8 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24
17 CoreFoundation 0xd7c18 __CFRunLoopDoSource0 + 172
18 CoreFoundation 0x62000 __CFRunLoopDoSources0 + 320
19 CoreFoundation 0x76fb0 __CFRunLoopRun + 780
20 CoreFoundation 0x7bb7c CFRunLoopRunSpecific + 584
21 GraphicsServices 0x1984 GSEventRunModal + 160
22 UIKitCore 0x3753c8 -[UIApplication _run] + 868
23 UIKitCore 0x375040 UIApplicationMain + 312
24 Whova 0x5b750 main + 16 (main.m:16)
25 ??? 0x1e0bfcdf0 (Missing)

Additional Note
This crash happens in a new release of our App. In this new release, we only upgrades Zoom SDK from 5.11.3 to 5.13.10 and use the MobileRTCWaitingRoomService

Hi @developer-whova
Thanks for reaching out to the Zoom Developer Forum.
Could you please confirm if you are experiencing this behavior with all users or if you have been able to replicate this with another user/meeting?
I will take a closer look into this in the meantime.
Cheers,
Elisa

Hi, I think this crash can occur on all users as we have received crash reports for more than one thousand users on firebase so far. We are also able to reproduce this crash few times.

Hi @developer-whova
I apologize for the late reply, I did not get a notification on this.
Please, let me know if you are having any issues so far, I am happy to help and escalate this if needed.

Hi Elisa, we are still experiencing this crash on the latest version of the Zoom SDK (v5.14.5)

It doesn’t occur for every session but it seems related to the applicationWillTerminate call and happens quite frequently.

- (void)applicationWillTerminate:(UIApplication *)application {
    @try {
        [[MobileRTC sharedRTC] appWillTerminate];
    } @catch (id exception) {
        
    }
}

From the stacktraces, this crashes with EXC_BAD_ACCESS (KERN_INVALID_ADDRESS) when calling [[MobileRTC sharedRTC] appWillTerminate]; in our app’s applicationWillTerminate lifecycle function.

Crashed: com.apple.main-thread
0  MobileRTC                      0x490d04 TermSBPTUIModule(Cmm::ICmmMessageQueueClient*) + 1764492
1  MobileRTC                      0xeddf0 (Missing UUID 8bea98992d293e35bf077865357c76a4)
2  MobileRTC                      0x2ec250 TermSBPTUIModule(Cmm::ICmmMessageQueueClient*) + 41432
3  OurApp                          0x6cc18 -[OurAppDelegate applicationWillTerminate:] + 548 (OurAppDelegate.m:548)
4  UIKitCore                      0xc708bc -[UIApplication _terminateWithStatus:] + 192
5  UIKitCore                      0x271558 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 108
6  UIKitCore                      0x64c278 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 160
7  UIKitCore                      0xc6cfe8 -[UIApplication workspaceShouldExit:withTransitionContext:] + 172
8  FrontBoardServices             0x3c828 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 + 68
9  FrontBoardServices             0x6a14 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 160
10 FrontBoardServices             0x3c7cc __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 96
11 libdispatch.dylib              0x647c8 _dispatch_client_callout + 16
12 libdispatch.dylib              0x3c408 _dispatch_block_invoke_direct$VARIANT$armv81 + 212
13 FrontBoardServices             0xff18 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 44
14 FrontBoardServices             0xfb54 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 176
15 FrontBoardServices             0x12104 -[FBSSerialQueue _performNextFromRunLoopSource] + 24
16 CoreFoundation                 0xcc298 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
17 CoreFoundation                 0xd7bf8 __CFRunLoopDoSource0 + 172
18 CoreFoundation                 0x61f58 __CFRunLoopDoSources0 + 232
19 CoreFoundation                 0x76f84 __CFRunLoopRun + 780
20 CoreFoundation                 0x7bb58 CFRunLoopRunSpecific + 584
21 GraphicsServices               0x1984 GSEventRunModal + 160
22 UIKitCore                      0x375628 -[UIApplication _run] + 868
23 UIKitCore                      0x3752a0 UIApplicationMain + 312
24 OurApp                          0x5c21c main + 16 (main.m:16)
25 ???                            0x1ea325df0 (Missing)

Hi, @elisa.zoom we just wanted to follow up on this issue

@elisa.zoom
Are there any updates for this issue?

@developer-whova ,

Do you have the log captured at the sdk level for this?

It would be easier to troubleshot if we have the encrypted log file

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.