App Crash MobileRTC (TermSBPTUIModule)

Description
Sometimes there are crashes of the application immediately after launch
Happens only on the app store version

Which iOS Meeting SDK version?
Zoom SDK v5.10.3.3244 and earlier

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Open app
  2. Crash (a few seconds before start app)

Smartphone (please complete the following information):

  • iPhone 11 (N104AP)
  • OS: iOS 15.3.1

Additional context
CrashLog

OS Version: iOS 15.3 (19D50)
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: BUS_NOOP
Crashed Thread: 15

Application Specific Information:
[C11.1.1:2] > ECNO > zoom.us >
Attempted to dereference null pointer.

Thread 15 Crashed:
0   libsystem_pthread.dylib         0x3e354588c         pthread_rwlock_rdlock
1   MobileRTC                       0x104bdb8d4         TermSBPTUIModule
2   MobileRTC                       0x104b8f178         TermSBPTUIModule
3   MobileRTC                       0x1063095d8         TermSBPTUIModule
4   MobileRTC                       0x10630a55c         TermSBPTUIModule
5   MobileRTC                       0x1062f3b88         TermSBPTUIModule
6   MobileRTC                       0x10632479c         TermSBPTUIModule
7   MobileRTC                       0x10630fb20         TermSBPTUIModule
8   MobileRTC                       0x10630f610         TermSBPTUIModule
9   MobileRTC                       0x104ca9930         TermSBPTUIModule
10  MobileRTC                       0x105280960         TermSBPTUIModule
11  MobileRTC                       0x104cbb334         TermSBPTUIModule
12  libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 0
0   libsystem_malloc.dylib          0x325a07534         nanov2_free_to_block
1   MobileRTC                       0x104ba8b78         [inlined] TermSBPTUIModule
2   MobileRTC                       0x104ba8b78         TermSBPTUIModule
3   MobileRTC                       0x104b8e77c         TermSBPTUIModule
4   MobileRTC                       0x104ba6edc         TermSBPTUIModule
5   libsystem_c.dylib               0x317d9e8d0         __cxa_finalize_ranges
6   libsystem_c.dylib               0x317d99224         exit
7   UIKitCore                       0x30779b204         -[UIApplication _terminateWithStatus:]
8   UIKitCore                       0x306e8207c         -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]
9   UIKitCore                       0x307076fc4         -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:]
10  UIKitCore                       0x307797534         -[UIApplication workspaceShouldExit:withTransitionContext:]
11  FrontBoardServices              0x3258e977c         __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2
12  FrontBoardServices              0x3258a4068         -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]
13  FrontBoardServices              0x3258e9714         __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke
14  libdispatch.dylib               0x30190666c         _dispatch_client_callout
15  libdispatch.dylib               0x30190a124         _dispatch_block_invoke_direct
16  FrontBoardServices              0x3258a59c0         __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
17  FrontBoardServices              0x3258a4d88         -[FBSSerialQueue _targetQueue_performNextIfPossible]
18  FrontBoardServices              0x3258a9410         -[FBSSerialQueue _performNextFromRunLoopSource]
19  CoreFoundation                  0x301faf0cc         __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
20  CoreFoundation                  0x301fbfd8c         __CFRunLoopDoSource0
21  CoreFoundation                  0x301efa094         __CFRunLoopDoSources0
22  CoreFoundation                  0x301eff8a0         __CFRunLoopRun
23  CoreFoundation                  0x301f13464         CFRunLoopRunSpecific
24  GraphicsServices                0x339671388         GSEventRunModal
25  UIKitCore                       0x306d5f5cc         -[UIApplication _run]
26  UIKitCore                       0x306addf70         UIApplicationMain
27  ev                                         0x200a2d15c         main (main.m:15)
28  <unknown>                       0x1020edaa4         <redacted>

Thread 1
0   libsystem_kernel.dylib          0x370ad3544         fsync
1   Foundation                      0x304f7ac0c         _NSWriteDataToFileWithExtendedAttributes
2   Sentry                          0x103a62090         -[SentryFileManager storeData:toPath:] (SentryFileManager.m:374)
3   Sentry                          0x103a60f20         -[SentryFileManager storeEnvelope:] (SentryFileManager.m:194)
4   Sentry                          0x103a644c0         __36-[SentryHttpTransport sendEnvelope:]_block_invoke (SentryHttpTransport.m:94)
5   Sentry                          0x103a5b6f4         __53-[SentryDispatchQueueWrapper dispatchAsyncWithBlock:]_block_invoke (SentryDispatchQueueWrapper.m:36)
6   libdispatch.dylib               0x301904920         _dispatch_call_block_and_release
7   libdispatch.dylib               0x30190666c         _dispatch_client_callout
8   libdispatch.dylib               0x30190ddf0         _dispatch_lane_serial_drain
9   libdispatch.dylib               0x30190e964         _dispatch_lane_invoke
10  libdispatch.dylib               0x3019191b4         _dispatch_workloop_worker_thread
11  libsystem_pthread.dylib         0x3e35410f0         _pthread_wqthread

Thread 2
0   libsystem_kernel.dylib          0x370ad1b2c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3e354113c         _pthread_wqthread

Thread 3
0   libsystem_kernel.dylib          0x370ad1b2c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3e354113c         _pthread_wqthread

Thread 4
0   libsystem_kernel.dylib          0x370ad1b2c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3e354113c         _pthread_wqthread

Thread 5 name: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib          0x370ad1504         mach_msg_trap
1   libsystem_kernel.dylib          0x370ad1b98         mach_msg
2   CoreFoundation                  0x301efb734         __CFRunLoopServiceMachPort
3   CoreFoundation                  0x301effa28         __CFRunLoopRun
4   CoreFoundation                  0x301f13464         CFRunLoopRunSpecific
5   Foundation                      0x304f56c90         -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6   Foundation                      0x304f97dc4         -[NSRunLoop(NSRunLoop) runUntilDate:]
7   UIKitCore                       0x306cd8748         -[UIEventFetcher threadMain]
8   Foundation                      0x304fa6408         __NSThread__start__
9   libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 6
0   libsystem_kernel.dylib          0x370ad1b2c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3e354113c         _pthread_wqthread

Thread 7
0   libsystem_kernel.dylib          0x370ad1b2c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3e354113c         _pthread_wqthread

Thread 8
0   libsystem_kernel.dylib          0x370ad1b2c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3e354113c         _pthread_wqthread

Thread 9
0   libsystem_kernel.dylib          0x370ad4b44         poll
1   MobileRTC                       0x1056b38d0         TermSBPTUIModule
2   MobileRTC                       0x1056b8518         TermSBPTUIModule
3   libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 10
0   libsystem_kernel.dylib          0x370ad4b44         poll
1   MobileRTC                       0x1056b38d0         TermSBPTUIModule
2   MobileRTC                       0x1056b8518         TermSBPTUIModule
3   libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 11
0   libsystem_kernel.dylib          0x370ad1ae4         __semwait_signal
1   libsystem_c.dylib               0x317d82efc         nanosleep
2   libsystem_c.dylib               0x317d83c1c         usleep
3   MobileRTC                       0x104cb09b0         TermSBPTUIModule
4   MobileRTC                       0x104cbb334         TermSBPTUIModule
5   libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 12
0   libsystem_kernel.dylib          0x370ad1ae4         __semwait_signal
1   libsystem_c.dylib               0x317d82efc         nanosleep
2   libsystem_c.dylib               0x317d83c1c         usleep
3   MobileRTC                       0x1056531ac         TermSBPTUIModule
4   MobileRTC                       0x104cbb334         TermSBPTUIModule
5   libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 13
0   libsystem_kernel.dylib          0x370ad1ae4         __semwait_signal
1   libsystem_c.dylib               0x317d82efc         nanosleep
2   libsystem_c.dylib               0x317d83c1c         usleep
3   MobileRTC                       0x104cb9608         TermSBPTUIModule
4   MobileRTC                       0x104cbb334         TermSBPTUIModule
5   libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 14 name: com.apple.CoreMotion.MotionThread
0   libsystem_kernel.dylib          0x370ad1504         mach_msg_trap
1   libsystem_kernel.dylib          0x370ad1b98         mach_msg
2   CoreFoundation                  0x301efb734         __CFRunLoopServiceMachPort
3   CoreFoundation                  0x301effa28         __CFRunLoopRun
4   CoreFoundation                  0x301f13464         CFRunLoopRunSpecific
5   CoreFoundation                  0x301f93b24         CFRunLoopRun
6   CoreMotion                      0x31c086bc0         CLMotionActivity::isTypeInVehicle
7   libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 15 Crashed:
0   libsystem_pthread.dylib         0x3e354588c         pthread_rwlock_rdlock
1   MobileRTC                       0x104bdb8d4         TermSBPTUIModule
2   MobileRTC                       0x104b8f178         TermSBPTUIModule
3   MobileRTC                       0x1063095d8         TermSBPTUIModule
4   MobileRTC                       0x10630a55c         TermSBPTUIModule
5   MobileRTC                       0x1062f3b88         TermSBPTUIModule
6   MobileRTC                       0x10632479c         TermSBPTUIModule
7   MobileRTC                       0x10630fb20         TermSBPTUIModule
8   MobileRTC                       0x10630f610         TermSBPTUIModule
9   MobileRTC                       0x104ca9930         TermSBPTUIModule
10  MobileRTC                       0x105280960         TermSBPTUIModule
11  MobileRTC                       0x104cbb334         TermSBPTUIModule
12  libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 16
0   libsystem_kernel.dylib          0x370ad1ae4         __semwait_signal
1   libsystem_c.dylib               0x317d82efc         nanosleep
2   libsystem_c.dylib               0x317d96f38         sleep
3   Sentry                          0x103a39ffc         monitorCachedData (SentryCrashCachedData.c:144)
4   libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 17 name: SentryCrash Exception Handler (Secondary)
0   libsystem_kernel.dylib          0x370ad1504         mach_msg_trap
1   libsystem_kernel.dylib          0x370ad1b98         mach_msg
2   Sentry                          0x103a47190         handleExceptions (SentryCrashMonitor_MachException.c:266)
3   libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 19 name: AVAudioSession Notify Thread
0   libsystem_kernel.dylib          0x370ad1504         mach_msg_trap
1   libsystem_kernel.dylib          0x370ad1b98         mach_msg
2   CoreFoundation                  0x301efb734         __CFRunLoopServiceMachPort
3   CoreFoundation                  0x301effa28         __CFRunLoopRun
4   CoreFoundation                  0x301f13464         CFRunLoopRunSpecific
5   AudioSession                    0x314762304         CADeprecated::GenericRunLoopThread::Entry
6   AudioSession                    0x31476bd60         CADeprecated::CAPThread::Entry
7   libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 20
0   libsystem_kernel.dylib          0x370ad1b2c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3e354113c         _pthread_wqthread

Thread 21 name: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib          0x370ad1504         mach_msg_trap
1   libsystem_kernel.dylib          0x370ad1b98         mach_msg
2   CoreFoundation                  0x301efb734         __CFRunLoopServiceMachPort
3   CoreFoundation                  0x301effa28         __CFRunLoopRun
4   CoreFoundation                  0x301f13464         CFRunLoopRunSpecific
5   CFNetwork                       0x3031a450c         _CFURLStorageSessionCopyIdentifier
6   Foundation                      0x304fa6408         __NSThread__start__
7   libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 22
0   libsystem_kernel.dylib          0x370ad1f90         __psynch_cvwait
1   libsystem_pthread.dylib         0x3e3548250         _pthread_cond_wait
2   MobileRTC                       0x1062b2d44         TermSBPTUIModule
3   MobileRTC                       0x1063631c0         TermSBPTUIModule
4   MobileRTC                       0x1062b3670         TermSBPTUIModule
5   MobileRTC                       0x1062b3578         TermSBPTUIModule
6   libsystem_pthread.dylib         0x3e35419a0         _pthread_start

Thread 23
0   libsystem_kernel.dylib          0x370ad1b2c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3e354113c         _pthread_wqthread