aws-samples / amazon-chime-react-native-demo

A React Native demo application for Android and iOS using the Amazon Chime SDK.
MIT No Attribution
100 stars 24 forks source link

React-Native IOS app crashing when turn on camera #174

Closed ashirkhan94 closed 1 year ago

ashirkhan94 commented 1 year ago

Describe the bug React-native ios app crashing when turn on camera

To Reproduce Steps to reproduce the behavior:

  1. Start meeting
  2. Turn on self camera
  3. app getting crashed

Expected behavior app should work with out crash

Test environment Info (please complete the following information):

Additional context no crash issue in ios version 16.2 and ios version 15.7.3 only issue in ios version 16.1.1

ashirkhan94 commented 1 year ago

crash log:

Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region: 00000000
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   100ff4000-100fff000 [   32K] r-x/r-x SM=COW  ...iteLiveMobile
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [15743]

Triggered by Thread:  0

Kernel Triage:
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage

Thread 0 name:
Thread 0 Crashed:
0   libswiftCore.dylib              0x0000000ffffff swift_getObjectType + 40 (Private.h:187)
1   AmazonChimeSDK                  0x000000010142ef2c 0x1013e4000 + 306988
2   AmazonChimeSDK                  0x000000010142f320 0x1013e4000 + 308000
3   DemoApp             0x0000000100bcc954 __46-[NativeMobileSDKBridge bindVideoView:tileId:]_block_invoke + 188 (NativeMobileSDKBridge.m:287)
4   libdispatch.dylib               0x00000001ca9c44b4 _dispatch_call_block_and_release + 32 (init.c:1518)
5   libdispatch.dylib               0x00000001ca9c5fdc _dispatch_client_callout + 20 (object.m:560)
6   libdispatch.dylib               0x00000001ca9d47f4 _dispatch_main_queue_drain + 928 (inline_internal.h:2632)
7   libdispatch.dylib               0x00000001ca9d4444 _dispatch_main_queue_callback_4CF + 44 (queue.c:7887)
8   CoreFoundation                  0x00000001c34866f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1780)
9   CoreFoundation                  0x00000001c3468058 __CFRunLoopRun + 2036 (CFRunLoop.c:3147)
10  CoreFoundation                  0x00000001c346ced4 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
11  GraphicsServices                0x00000001fc76a368 GSEventRunModal + 164 (GSEvent.c:2196)
12  UIKitCore                       0x00000001c594b3d0 -[UIApplication _run] + 888 (UIApplication.m:3745)
13  UIKitCore                       0x00000001c594b034 UIApplicationMain + 340 (UIApplication.m:5335)
14  DemoApp             0x0000000100bcfb9c main + 88 (main.m:7)
15  dyld                            0x00000001e1ad4960 start + 2528 (dyldMain.cpp:1170)

Thread 1 name:
Thread 1:
0   libsystem_kernel.dylib          0x00000001fffe9b48 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001ffffc008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001ffffc248 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001fffea08c mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                  0x00000001c3466af0 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                  0x00000001c3467d34 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                  0x00000001c346ced4 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   Foundation                      0x00000001bd80e334 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   Foundation                      0x00000001bd80e21c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9   UIKitCore                       0x00000001c5a8033c -[UIEventFetcher threadMain] + 436 (UIEventFetcher.m:1377)
10  Foundation                      0x00000001bd827808 __NSThread__start__ + 716 (NSThread.m:963)
11  libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
12  libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 2:
0   libsystem_pthread.dylib         0x000000021044bb90 start_wqthread + 0 (:-1)

Thread 3 name:
Thread 3:
0   libsystem_kernel.dylib          0x00000001fffe9b48 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001ffffc008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001ffffc248 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001fffea08c mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                  0x00000001c3466af0 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                  0x00000001c3467d34 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                  0x00000001c346ced4 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   DemoApp             0x0000000100cdc04c +[RCTCxxBridge runRunLoop] + 264 (RCTCxxBridge.mm:367)
8   Foundation                      0x00000001bd827808 __NSThread__start__ + 716 (NSThread.m:963)
9   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
10  libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 4 name:
Thread 4:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x00000001d6a8a324 scavenger_thread_main + 1164 (pas_scavenger.c:145)
3   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
4   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 5 name:
Thread 5:
0   libsystem_kernel.dylib          0x00000001fffe9b48 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001ffffc008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001ffffc248 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001fffea08c mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                  0x00000001c3466af0 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                  0x00000001c3467d34 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                  0x00000001c346ced4 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   CFNetwork                       0x00000001c47c45a8 +[__CFN_CoreSchedulingSetRunnable _run:] + 392 (CoreSchedulingSet.mm:1372)
8   Foundation                      0x00000001bd827808 __NSThread__start__ + 716 (NSThread.m:963)
9   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
10  libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 6 name:
Thread 6:
0   libsystem_kernel.dylib          0x00000001fffe9b48 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001ffffc008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001ffffc248 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001fffea08c mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                  0x00000001c3466af0 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                  0x00000001c3467d34 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                  0x00000001c346ced4 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   AudioToolbox                    0x00000001ddf25240 CADeprecated::GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:95)
8   libAudioToolboxUtility.dylib    0x00000001e34a1354 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92 (CAPThread.cpp:324)
9   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
10  libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 7 name:
Thread 7:
0   libsystem_kernel.dylib          0x00000001fffe9b48 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001ffffc008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001ffffc248 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001fffea08c mach_msg + 24 (mach_msg.c:323)
4   VideoToolbox                    0x00000001d228d098 VTCompressionSessionRemoteClient_Create + 216 (VTCompressionSession_RemoteInterfaceUser.c:404)
5   VideoToolbox                    0x00000001d20d100c __VTCompressionSessionRemote_Create_block_invoke + 264 (VTCompressionSession_Remote.c:746)
6   CoreMedia                       0x00000001ce6234b0 FigRPCCreateServerConnectionForObject + 668 (FigRPCRemoteClient.c:275)
7   VideoToolbox                    0x00000001d20d0c7c VTCompressionSessionRemote_Create + 476 (VTCompressionSession_Remote.c:769)
8   VideoToolbox                    0x00000001d1ece534 VTCompressionSessionCreateWithOptions + 648 (VTCompressionSession.c:2051)
9   VideoToolbox                    0x00000001d1eca3b8 VTCompressionSessionCreate + 32 (VTCompressionSession.c:2337)
10  AmazonChimeSDKMedia             0x0000000102873b70 0x1024c8000 + 3849072
11  AmazonChimeSDKMedia             0x0000000102872b84 0x1024c8000 + 3844996
12  AmazonChimeSDKMedia             0x00000001028527e0 0x1024c8000 + 3712992
13  AmazonChimeSDKMedia             0x0000000102adea54 0x1024c8000 + 6384212
14  AmazonChimeSDKMedia             0x0000000102a23d88 0x1024c8000 + 5619080
15  AmazonChimeSDKMedia             0x0000000102a25a14 0x1024c8000 + 5626388
16  AmazonChimeSDKMedia             0x0000000102a253d8 0x1024c8000 + 5624792
17  AmazonChimeSDKMedia             0x0000000102a1e244 0x1024c8000 + 5595716
18  AmazonChimeSDKMedia             0x00000001028e73e4 0x1024c8000 + 4322276
19  libdispatch.dylib               0x00000001ca9c5fdc _dispatch_client_callout + 20 (object.m:560)
20  libdispatch.dylib               0x00000001ca9cd694 _dispatch_lane_serial_drain + 672 (inline_internal.h:2632)
21  libdispatch.dylib               0x00000001ca9ce1e0 _dispatch_lane_invoke + 384 (queue.c:3940)
22  libdispatch.dylib               0x00000001ca9d8e10 _dispatch_workloop_worker_thread + 652 (queue.c:6846)
23  libsystem_pthread.dylib         0x000000021044bdf8 _pthread_wqthread + 288 (pthread.c:2618)
24  libsystem_pthread.dylib         0x000000021044bb98 start_wqthread + 8 (:-1)

Thread 8 name:
Thread 8:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x00000001d69e06a4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x00000001d69a10fc bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x00000001d69a1578 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x00000001d6a02e5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x00000001d6a050e4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 9 name:
Thread 9:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x00000001d69e06a4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x00000001d69a10fc bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x00000001d69a1578 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x00000001d6a02e5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x00000001d6a050e4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 10 name:
Thread 10:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x00000001d69e06a4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x00000001d69a10fc bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x00000001d69a1578 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x00000001d6a02e5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x00000001d6a050e4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 11 name:
Thread 11:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x00000001d69e06a4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x00000001d69a10fc bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x00000001d69a1578 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x00000001d6a02e5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x00000001d6a050e4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 12 name:
Thread 12:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x00000001d69e06a4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x00000001d69a10fc bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x00000001d69a1578 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x00000001d6a02e5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x00000001d6a050e4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 13 name:
Thread 13:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x00000001d69e06a4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x00000001d69a10fc bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x00000001d69a1578 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x00000001d6a02e5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x00000001d6a050e4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 14:
0   libsystem_pthread.dylib         0x000000021044bb90 start_wqthread + 0 (:-1)

Thread 15:
0   libsystem_pthread.dylib         0x000000021044bb90 start_wqthread + 0 (:-1)

Thread 16 name:
Thread 16:
0   libsystem_kernel.dylib          0x00000001fffe9ac4 semaphore_wait_trap + 8 (:-1)
1   libdispatch.dylib               0x00000001ca9c6578 _dispatch_sema4_wait + 28 (lock.c:139)
2   libdispatch.dylib               0x00000001ca9c6c2c _dispatch_semaphore_wait_slow + 132 (semaphore.c:132)
3   CFNetwork                       0x00000001c45d86a4 CFURLConnectionSendSynchronousRequest + 356 (CFURLConnection_Synchronous.c:209)
4   CFNetwork                       0x00000001c4676030 +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 296 (NSURLConnection.mm:497)
5   Foundation                      0x00000001bd81b844 -[NSData(NSData) initWithContentsOfURL:] + 208 (NSData.m:908)
6   Foundation                      0x00000001bd81b69c +[NSData(NSData) dataWithContentsOfURL:] + 32 (NSData.m:748)
7   DemoApp             0x0000000100cc6958 -[RNSound prepare:withKey:withOptions:withCallback:] + 216 (RNSound.m:205)
8   CoreFoundation                  0x00000001c3460704 __invoking___ + 148 (:-1)
9   CoreFoundation                  0x00000001c340cb6c -[NSInvocation invoke] + 428 (NSForwarding.m:3377)
10  CoreFoundation                  0x00000001c340c584 -[NSInvocation invokeWithTarget:] + 64 (NSForwarding.m:3474)
11  DemoApp             0x0000000100cfb0c4 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 460 (RCTModuleMethod.mm:584)
12  DemoApp             0x0000000100cfd6c8 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 540 (RCTNativeModule.mm:183)
13  DemoApp             0x0000000100cfd2f8 operator() + 68 (RCTNativeModule.mm:104)
14  DemoApp             0x0000000100cfd2f8 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 112 (RCTNativeModule.mm:95)
15  libdispatch.dylib               0x00000001ca9c44b4 _dispatch_call_block_and_release + 32 (init.c:1518)
16  libdispatch.dylib               0x00000001ca9c5fdc _dispatch_client_callout + 20 (object.m:560)
17  libdispatch.dylib               0x00000001ca9cd694 _dispatch_lane_serial_drain + 672 (inline_internal.h:2632)
18  libdispatch.dylib               0x00000001ca9ce1e0 _dispatch_lane_invoke + 384 (queue.c:3940)
19  libdispatch.dylib               0x00000001ca9d8e10 _dispatch_workloop_worker_thread + 652 (queue.c:6846)
20  libsystem_pthread.dylib         0x000000021044bdf8 _pthread_wqthread + 288 (pthread.c:2618)
21  libsystem_pthread.dylib         0x000000021044bb98 start_wqthread + 8 (:-1)

Thread 17 name:
Thread 17:
0   libsystem_kernel.dylib          0x00000001fffe9b48 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001ffffc008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001ffffc248 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001fffea08c mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                  0x00000001c3466af0 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                  0x00000001c3467d34 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                  0x00000001c346ced4 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   Foundation                      0x00000001bd80e334 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   DemoApp             0x0000000100d1709c -[_RCTSRRunLoopThread main] + 300 (RCTSRWebSocket.m:1620)
9   Foundation                      0x00000001bd827808 __NSThread__start__ + 716 (NSThread.m:963)
10  libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
11  libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 18:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   AmazonChimeSDKMedia             0x0000000102521cc0 0x1024c8000 + 367808
3   AmazonChimeSDKMedia             0x000000010250fd94 0x1024c8000 + 294292
4   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
5   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 19:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   AmazonChimeSDKMedia             0x0000000102521cc0 0x1024c8000 + 367808
3   AmazonChimeSDKMedia             0x00000001025100fc 0x1024c8000 + 295164
4   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
5   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 20 name:
Thread 20:
0   libsystem_kernel.dylib          0x00000001fffea6ac select$DARWIN_EXTSN + 8 (:-1)
1   CoreFoundation                  0x00000001c34b76c4 __CFSocketManager + 636 (CFSocket.c:1340)
2   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
3   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 21:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   AmazonChimeSDKMedia             0x0000000102510f34 0x1024c8000 + 298804
3   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
4   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 22:
0   libsystem_kernel.dylib          0x00000001fffea6ac select$DARWIN_EXTSN + 8 (:-1)
1   AmazonChimeSDKMedia             0x000000010252c664 0x1024c8000 + 411236
2   AmazonChimeSDKMedia             0x00000001024dcfac 0x1024c8000 + 85932
3   AmazonChimeSDKMedia             0x00000001025181ec 0x1024c8000 + 328172
4   AmazonChimeSDKMedia             0x000000010250caa0 0x1024c8000 + 281248
5   AmazonChimeSDKMedia             0x00000001025185cc 0x1024c8000 + 329164
6   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
7   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 23 name:
Thread 23:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   AmazonChimeSDKMedia             0x000000010287f8d0 0x1024c8000 + 3897552
3   AmazonChimeSDKMedia             0x000000010287f7bc 0x1024c8000 + 3897276
4   AmazonChimeSDKMedia             0x00000001028a0194 0x1024c8000 + 4030868
5   AmazonChimeSDKMedia             0x00000001028a5648 0x1024c8000 + 4052552
6   AmazonChimeSDKMedia             0x00000001028a4b98 0x1024c8000 + 4049816
7   AmazonChimeSDKMedia             0x00000001028a60d8 0x1024c8000 + 4055256
8   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
9   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 24 name:
Thread 24:
0   libsystem_kernel.dylib          0x00000001fffea6ac select$DARWIN_EXTSN + 8 (:-1)
1   AmazonChimeSDKMedia             0x00000001028a2dfc 0x1024c8000 + 4042236
2   AmazonChimeSDKMedia             0x00000001028a2b84 0x1024c8000 + 4041604
3   AmazonChimeSDKMedia             0x00000001028a5648 0x1024c8000 + 4052552
4   AmazonChimeSDKMedia             0x00000001028a4b98 0x1024c8000 + 4049816
5   AmazonChimeSDKMedia             0x00000001028a60d8 0x1024c8000 + 4055256
6   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
7   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 25 name:
Thread 25:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   AmazonChimeSDKMedia             0x000000010287f8d0 0x1024c8000 + 3897552
3   AmazonChimeSDKMedia             0x000000010287f7bc 0x1024c8000 + 3897276
4   AmazonChimeSDKMedia             0x00000001028a0194 0x1024c8000 + 4030868
5   AmazonChimeSDKMedia             0x00000001028a5648 0x1024c8000 + 4052552
6   AmazonChimeSDKMedia             0x00000001028a4b98 0x1024c8000 + 4049816
7   AmazonChimeSDKMedia             0x00000001028a60d8 0x1024c8000 + 4055256
8   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
9   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 26:
0   libsystem_kernel.dylib          0x00000001fffed22c poll + 8 (:-1)
1   AmazonChimeSDKMedia             0x00000001025a6338 0x1024c8000 + 910136
2   AmazonChimeSDKMedia             0x000000010259eed4 0x1024c8000 + 880340
3   AmazonChimeSDKMedia             0x00000001024fe424 0x1024c8000 + 222244
4   AmazonChimeSDKMedia             0x0000000102c95a00 0x1024c8000 + 8182272
5   AmazonChimeSDKMedia             0x00000001027307f8 0x1024c8000 + 2525176
6   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
7   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 27 name:
Thread 27:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x00000001d69e06a4 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x00000001d69a10fc bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x00000001d69a1578 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x00000001d6a02e5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x00000001d6a050e4 WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 28 name:
Thread 28:
0   libsystem_kernel.dylib          0x00000001fffea41c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x000000021045306c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   AmazonChimeSDKMedia             0x000000010287f8d0 0x1024c8000 + 3897552
3   AmazonChimeSDKMedia             0x000000010287f7bc 0x1024c8000 + 3897276
4   AmazonChimeSDKMedia             0x00000001028bcbe8 0x1024c8000 + 4148200
5   AmazonChimeSDKMedia             0x00000001028bd05c 0x1024c8000 + 4149340
6   AmazonChimeSDKMedia             0x000000010287f468 0x1024c8000 + 3896424
7   AmazonChimeSDKMedia             0x000000010287f290 0x1024c8000 + 3895952
8   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
9   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 29:
0   libsystem_pthread.dylib         0x000000021044bb90 start_wqthread + 0 (:-1)

Thread 30:
0   libsystem_pthread.dylib         0x000000021044bb90 start_wqthread + 0 (:-1)

Thread 31:
0   libsystem_pthread.dylib         0x000000021044bb90 start_wqthread + 0 (:-1)

Thread 32:
0   libsystem_pthread.dylib         0x000000021044bb90 start_wqthread + 0 (:-1)

Thread 33 name:
Thread 33:
0   libsystem_kernel.dylib          0x00000001fffe9b48 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001ffffc008 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001ffffc248 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001fffea08c mach_msg + 24 (mach_msg.c:323)
4   libEmbeddedSystemAUs.dylib      0x000000022a0912ac void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, AURemoteIO::IOThread::IOThread(AURemoteIO&, caulk::thread::attributes const&, caulk::mach::os_workgroup_managed const&)::'lambda... + 556 (AURemoteIO.cpp:2051)
5   libsystem_pthread.dylib         0x000000021044c6cc _pthread_start + 148 (pthread.c:893)
6   libsystem_pthread.dylib         0x000000021044bba4 thread_start + 8 (:-1)

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0xffffffffffffffd0   x3: 0x00000002817c4290
    x4: 0x00000002817c4300   x5: 0x0000000000000001   x6: 0x0000000004410123   x7: 0x0000000000000001
    x8: 0x00000000000000cc   x9: 0x00000000000000cb  x10: 0x0000000000000280  x11: 0x00000000000007fb
   x12: 0x00000000b641080c  x13: 0x00000000000007fd  x14: 0x00000000b6611009  x15: 0x00000000b641080c
   x16: 0x00000001bd64ecac  x17: 0x0000000036600000  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x00000002817c4280  x21: 0x0000000282e80240  x22: 0xe000000000000000  x23: 0xd00000000000001a
   x24: 0x00000002834e3aa0  x25: 0x00000002817c4280  x26: 0x0000000000000000  x27: 0x0000000000000008
   x28: 0x0000000000000000   fp: 0x000000016f23a580   lr: 0x132f9d010142ef2c
    sp: 0x000000016f23a570   pc: 0x00000001bd64ecd4 cpsr: 0x60001000
   esr: 0x92000006 (Data Abort) byte read Translation fault
ashirkhan94 commented 1 year ago

We updated the SDK version from 0.22.5 to 0.22.7 and it also crashing when turn on video ( ios version 16.2 and 16.1.1), but not crashing in ios version 15.7.3

ashirkhan94 commented 1 year ago

Hi, Why this issue happening only on IOS version 16 and above?

dylonChime commented 1 year ago

Hi @ashirkhan94,

Thanks for reporting this. Can you attach the full crash logs? This is usually in the form of a .ips or .crash file. This has crash metadata and a "Binary Images" section. More info: https://developer.apple.com/documentation/xcode/acquiring-crash-reports-and-diagnostic-logs

Can you try reproducing using the demo app on your device?

Have you tried upgrading your React Native version from 0.69.1 to 0.70.0?

ashirkhan94 commented 1 year ago

Hi @dylonChime Thanks for your response crashlog.crash file given below

Incident Identifier: 9DD08A81-771B-4EAC-A345-ED083A0A021B
Hardware Model:      iPhone14,3
Process:             MeetingApp [3529]
Path:                /private/var/containers/Bundle/Application/2579E1E0-F2F6-4D78-9FED-04C87633F9C6/MeetingApp.app/MeetingApp
Identifier:          null
Version:             1.4.0 (135)
AppStoreTools:       14C17
AppVariant:          1:iPhone14,3:16
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:          null

Date/Time:           2023-02-01 12:29:06.0496 +0000
Launch Time:         2023-02-01 12:28:42.3043 +0000
OS Version:          iPhone OS 16.2 (20C65)
Release Type:        User
Baseband Version:    2.21.00
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region: 4306403328
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   100ae8000-100af0000 [   32K] r-x/r-x SM=COW  ...iteLiveMobile
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [3529]

Triggered by Thread:  0

Kernel Triage:
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage

Thread 0 name:
Thread 0 Crashed:
0   libswiftCore.dylib              0x0000000185f32cd4 swift_getObjectType + 40 (Private.h:187)
1   AmazonChimeSDK                  0x00000001013b2cec 0x101368000 + 306412
2   AmazonChimeSDK                  0x00000001013b30e0 0x101368000 + 307424
3   MeetingApp          0x0000000100af1410 __46-[NativeMobileSDKBridge bindVideoView:tileId:]_block_invoke + 140 (NativeMobileSDKBridge.m:287)
4   libdispatch.dylib               0x000000019334f4b4 _dispatch_call_block_and_release + 32 (init.c:1518)
5   libdispatch.dylib               0x0000000193350fdc _dispatch_client_callout + 20 (object.m:560)
6   libdispatch.dylib               0x000000019335f7f4 _dispatch_main_queue_drain + 928 (inline_internal.h:2632)
7   libdispatch.dylib               0x000000019335f444 _dispatch_main_queue_callback_4CF + 44 (queue.c:7887)
8   CoreFoundation                  0x000000018bdce6d8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1780)
9   CoreFoundation                  0x000000018bdb003c __CFRunLoopRun + 2036 (CFRunLoop.c:3147)
10  CoreFoundation                  0x000000018bdb4ec0 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
11  GraphicsServices                0x00000001c5e0b368 GSEventRunModal + 164 (GSEvent.c:2196)
12  UIKitCore                       0x000000018e2aa86c -[UIApplication _run] + 888 (UIApplication.m:3754)
13  UIKitCore                       0x000000018e2aa4d0 UIApplicationMain + 340 (UIApplication.m:5344)
14  MeetingApp          0x0000000100af3e98 main + 80 (main.m:7)
15  dyld                            0x00000001aa5d6960 start + 2528 (dyldMain.cpp:1170)

Thread 1:
0   libsystem_pthread.dylib         0x00000001d9dc5b90 start_wqthread + 0 (:-1)

Thread 2 name:
Thread 2:
0   libsystem_kernel.dylib          0x00000001c96a8a24 semaphore_wait_trap + 8 (:-1)
1   libdispatch.dylib               0x0000000193351578 _dispatch_sema4_wait + 28 (lock.c:139)
2   libdispatch.dylib               0x0000000193351c2c _dispatch_semaphore_wait_slow + 132 (semaphore.c:132)
3   CFNetwork                       0x000000018cf331d8 CFURLConnectionSendSynchronousRequest + 356 (CFURLConnection_Synchronous.c:209)
4   CFNetwork                       0x000000018cfd0c94 +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 296 (NSURLConnection.mm:497)
5   Foundation                      0x00000001861005e4 -[NSData(NSData) initWithContentsOfURL:] + 208 (NSData.m:908)
6   Foundation                      0x000000018610043c +[NSData(NSData) dataWithContentsOfURL:] + 32 (NSData.m:748)
7   MeetingApp          0x0000000100bc71e0 -[RNSound prepare:withKey:withOptions:withCallback:] + 180 (RNSound.m:205)
8   CoreFoundation                  0x000000018bda86c4 __invoking___ + 148 (:-1)
9   CoreFoundation                  0x000000018bd54b2c -[NSInvocation invoke] + 428 (NSForwarding.m:3377)
10  CoreFoundation                  0x000000018bd54544 -[NSInvocation invokeWithTarget:] + 64 (NSForwarding.m:3474)
11  MeetingApp          0x0000000100c041fc -[RCTModuleMethod invokeWithBridge:module:arguments:] + 388 (RCTModuleMethod.mm:584)
12  MeetingApp          0x0000000100c06374 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 452 (RCTNativeModule.mm:183)
13  MeetingApp          0x0000000100c05ffc facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const + 68 (RCTNativeModule.mm:104)
14  MeetingApp          0x0000000100c05ffc invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 112 (RCTNativeModule.mm:95)
15  libdispatch.dylib               0x000000019334f4b4 _dispatch_call_block_and_release + 32 (init.c:1518)
16  libdispatch.dylib               0x0000000193350fdc _dispatch_client_callout + 20 (object.m:560)
17  libdispatch.dylib               0x0000000193358694 _dispatch_lane_serial_drain + 672 (inline_internal.h:2632)
18  libdispatch.dylib               0x00000001933591e0 _dispatch_lane_invoke + 384 (queue.c:3940)
19  libdispatch.dylib               0x0000000193363e10 _dispatch_workloop_worker_thread + 652 (queue.c:6846)
20  libsystem_pthread.dylib         0x00000001d9dc5df8 _pthread_wqthread + 288 (pthread.c:2618)
21  libsystem_pthread.dylib         0x00000001d9dc5b98 start_wqthread + 8 (:-1)

Thread 3:
0   libsystem_pthread.dylib         0x00000001d9dc5b90 start_wqthread + 0 (:-1)

Thread 4:
0   libsystem_pthread.dylib         0x00000001d9dc5b90 start_wqthread + 0 (:-1)

Thread 5 name:
Thread 5:
0   libsystem_kernel.dylib          0x00000001c96a8aa8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001c96bafc4 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001c96bb204 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001c96a8fec mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                  0x000000018bdaead4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                  0x000000018bdafd18 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                  0x000000018bdb4ec0 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   Foundation                      0x00000001860f30d4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   Foundation                      0x00000001860f2fbc -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9   UIKitCore                       0x000000018e3df72c -[UIEventFetcher threadMain] + 436 (UIEventFetcher.m:1385)
10  Foundation                      0x000000018610c5a8 __NSThread__start__ + 716 (NSThread.m:963)
11  libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
12  libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 6:
0   libsystem_pthread.dylib         0x00000001d9dc5b90 start_wqthread + 0 (:-1)

Thread 7:
0   libsystem_pthread.dylib         0x00000001d9dc5b90 start_wqthread + 0 (:-1)

Thread 8 name:
Thread 8:
0   libsystem_kernel.dylib          0x00000001c96a8aa8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001c96bafc4 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001c96bb204 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001c96a8fec mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                  0x000000018bdaead4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                  0x000000018bdafd18 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                  0x000000018bdb4ec0 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   MeetingApp          0x0000000100be7f0c +[RCTCxxBridge runRunLoop] + 212 (RCTCxxBridge.mm:335)
8   Foundation                      0x000000018610c5a8 __NSThread__start__ + 716 (NSThread.m:963)
9   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
10  libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 9 name:
Thread 9:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000019f4ce43c scavenger_thread_main + 1164 (pas_scavenger.c:145)
3   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
4   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 10 name:
Thread 10:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000019f42465c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x000000019f3e508c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000019f3e5508 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x000000019f446e14 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x000000019f44909c WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 11 name:
Thread 11:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000019f42465c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x000000019f3e508c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000019f3e5508 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x000000019f446e14 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x000000019f44909c WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 12 name:
Thread 12:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000019f42465c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x000000019f3e508c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000019f3e5508 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x000000019f446e14 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x000000019f44909c WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 13 name:
Thread 13:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000019f42465c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x000000019f3e508c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000019f3e5508 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x000000019f446e14 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x000000019f44909c WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 14 name:
Thread 14:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000019f42465c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x000000019f3e508c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000019f3e5508 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x000000019f446e14 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x000000019f44909c WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 15 name:
Thread 15:
0   libsystem_kernel.dylib          0x00000001c96a8aa8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001c96bafc4 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001c96bb204 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001c96a8fec mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                  0x000000018bdaead4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                  0x000000018bdafd18 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                  0x000000018bdb4ec0 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   CFNetwork                       0x000000018d120078 +[__CFN_CoreSchedulingSetRunnable _run:] + 392 (CoreSchedulingSet.mm:1372)
8   Foundation                      0x000000018610c5a8 __NSThread__start__ + 716 (NSThread.m:963)
9   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
10  libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 16 name:
Thread 16:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000019f42465c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x000000019f3e508c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000019f3e5508 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x000000019f446e14 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x000000019f44909c WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 17:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   AmazonChimeSDKMedia             0x0000000102011c68 0x101fb8000 + 367720
3   AmazonChimeSDKMedia             0x0000000101fffd20 0x101fb8000 + 294176
4   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
5   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 18:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   AmazonChimeSDKMedia             0x0000000102011c68 0x101fb8000 + 367720
3   AmazonChimeSDKMedia             0x0000000102000088 0x101fb8000 + 295048
4   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
5   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 19:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   AmazonChimeSDKMedia             0x0000000102000ec0 0x101fb8000 + 298688
3   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
4   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 20:
0   libsystem_kernel.dylib          0x00000001c96a960c select$DARWIN_EXTSN + 8 (:-1)
1   AmazonChimeSDKMedia             0x000000010201bee4 0x101fb8000 + 409316
2   AmazonChimeSDKMedia             0x0000000101fccb0c 0x101fb8000 + 84748
3   AmazonChimeSDKMedia             0x0000000102008198 0x101fb8000 + 328088
4   AmazonChimeSDKMedia             0x0000000101ffca28 0x101fb8000 + 281128
5   AmazonChimeSDKMedia             0x0000000102008578 0x101fb8000 + 329080
6   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
7   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 21 name:
Thread 21:
0   libsystem_kernel.dylib          0x00000001c96a8aa8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001c96bafc4 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001c96bb204 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001c96a8fec mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                  0x000000018bdaead4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                  0x000000018bdafd18 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                  0x000000018bdb4ec0 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   Foundation                      0x00000001860f30d4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8   MeetingApp          0x0000000100c1cf34 -[_RCTSRRunLoopThread main] + 244 (RCTSRWebSocket.m:1624)
9   Foundation                      0x000000018610c5a8 __NSThread__start__ + 716 (NSThread.m:963)
10  libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
11  libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 22 name:
Thread 22:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   AmazonChimeSDKMedia             0x0000000102364374 0x101fb8000 + 3851124
3   AmazonChimeSDKMedia             0x0000000102364260 0x101fb8000 + 3850848
4   AmazonChimeSDKMedia             0x0000000102384978 0x101fb8000 + 3983736
5   AmazonChimeSDKMedia             0x000000010238a2b4 0x101fb8000 + 4006580
6   AmazonChimeSDKMedia             0x0000000102389804 0x101fb8000 + 4003844
7   AmazonChimeSDKMedia             0x000000010238ad44 0x101fb8000 + 4009284
8   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
9   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 23 name:
Thread 23:
0   libswiftCore.dylib              0x0000000185f33ab0 swift_bridgeObjectRelease + 32 (SwiftObject.mm:635)
1   libswiftCore.dylib              0x0000000185d2dcd4 _StringGuts.appendInPlace(_:isASCII:) + 208 (<compiler-generated>:0)
2   AmazonChimeSDK                  0x0000000101373594 0x101368000 + 46484
3   AmazonChimeSDK                  0x0000000101373378 0x101368000 + 45944
4   AmazonChimeSDK                  0x00000001013a32dc 0x101368000 + 242396
5   AmazonChimeSDK                  0x00000001013a3358 0x101368000 + 242520
6   AmazonChimeSDKMedia             0x00000001021f4e8c 0x101fb8000 + 2346636
7   AmazonChimeSDKMedia             0x0000000102361938 0x101fb8000 + 3840312
8   AmazonChimeSDKMedia             0x0000000102361e3c 0x101fb8000 + 3841596
9   AmazonChimeSDKMedia             0x0000000102247578 0x101fb8000 + 2684280
10  AmazonChimeSDKMedia             0x0000000102251b68 0x101fb8000 + 2726760
11  AmazonChimeSDKMedia             0x0000000102252204 0x101fb8000 + 2728452
12  AmazonChimeSDKMedia             0x0000000102254050 0x101fb8000 + 2736208
13  AmazonChimeSDKMedia             0x000000010238b148 0x101fb8000 + 4010312
14  AmazonChimeSDKMedia             0x000000010238a888 0x101fb8000 + 4008072
15  AmazonChimeSDKMedia             0x0000000102389814 0x101fb8000 + 4003860
16  AmazonChimeSDKMedia             0x000000010238ad44 0x101fb8000 + 4009284
17  libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
18  libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 24 name:
Thread 24:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   AmazonChimeSDKMedia             0x0000000102364374 0x101fb8000 + 3851124
3   AmazonChimeSDKMedia             0x0000000102364260 0x101fb8000 + 3850848
4   AmazonChimeSDKMedia             0x0000000102384978 0x101fb8000 + 3983736
5   AmazonChimeSDKMedia             0x000000010238a2b4 0x101fb8000 + 4006580
6   AmazonChimeSDKMedia             0x0000000102389804 0x101fb8000 + 4003844
7   AmazonChimeSDKMedia             0x000000010238ad44 0x101fb8000 + 4009284
8   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
9   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 25 name:
Thread 25:
0   libsystem_kernel.dylib          0x00000001c96a960c select$DARWIN_EXTSN + 8 (:-1)
1   CoreFoundation                  0x000000018bdff6a4 __CFSocketManager + 636 (CFSocket.c:1340)
2   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
3   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 26:
0   libsystem_kernel.dylib          0x00000001c96ac18c poll + 8 (:-1)
1   AmazonChimeSDKMedia             0x0000000102095cf0 0x101fb8000 + 908528
2   AmazonChimeSDKMedia             0x000000010208e84c 0x101fb8000 + 878668
3   AmazonChimeSDKMedia             0x0000000101fee080 0x101fb8000 + 221312
4   AmazonChimeSDKMedia             0x00000001027c8248 0x101fb8000 + 8454728
5   AmazonChimeSDKMedia             0x000000010221ffdc 0x101fb8000 + 2523100
6   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
7   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 27:
0   libsystem_pthread.dylib         0x00000001d9dc5b90 start_wqthread + 0 (:-1)

Thread 28:
0   libsystem_pthread.dylib         0x00000001d9dc5b90 start_wqthread + 0 (:-1)

Thread 29 name:
Thread 29:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   AmazonChimeSDKMedia             0x0000000102364374 0x101fb8000 + 3851124
3   AmazonChimeSDKMedia             0x0000000102364260 0x101fb8000 + 3850848
4   AmazonChimeSDKMedia             0x00000001023a1640 0x101fb8000 + 4101696
5   AmazonChimeSDKMedia             0x00000001023a1ab4 0x101fb8000 + 4102836
6   AmazonChimeSDKMedia             0x0000000102363f0c 0x101fb8000 + 3849996
7   AmazonChimeSDKMedia             0x0000000102363d34 0x101fb8000 + 3849524
8   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
9   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 30 name:
Thread 30:
0   libsystem_kernel.dylib          0x00000001c96a937c __psynch_cvwait + 8 (:-1)
1   libsystem_pthread.dylib         0x00000001d9dcd06c _pthread_cond_wait + 1232 (pthread_cond.c:636)
2   JavaScriptCore                  0x000000019f42465c WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 1808 (ThreadingPOSIX.cpp:626)
3   JavaScriptCore                  0x000000019f3e508c bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 304 (ParkingLot.h:82)
4   JavaScriptCore                  0x000000019f3e5508 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 248 (Condition.h:77)
5   JavaScriptCore                  0x000000019f446e14 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352 (Function.h:82)
6   JavaScriptCore                  0x000000019f44909c WTF::wtfThreadEntryPoint(void*) + 16 (ThreadingPOSIX.cpp:242)
7   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
8   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 31 name:
Thread 31:
0   libsystem_kernel.dylib          0x00000001c96a8aa8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001c96bafc4 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001c96bb204 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001c96a8fec mach_msg + 24 (mach_msg.c:323)
4   CoreFoundation                  0x000000018bdaead4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5   CoreFoundation                  0x000000018bdafd18 __CFRunLoopRun + 1232 (CFRunLoop.c:3005)
6   CoreFoundation                  0x000000018bdb4ec0 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7   AudioToolbox                    0x00000001a69ca050 CADeprecated::GenericRunLoopThread::Entry(void*) + 164 (GenericRunLoopThread.h:95)
8   libAudioToolboxUtility.dylib    0x00000001ac021354 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92 (CAPThread.cpp:324)
9   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
10  libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 32 name:
Thread 32:
0   libsystem_kernel.dylib          0x00000001c96a8aa8 mach_msg2_trap + 8 (:-1)
1   libsystem_kernel.dylib          0x00000001c96bafc4 mach_msg2_internal + 80 (mach_msg.c:201)
2   libsystem_kernel.dylib          0x00000001c96bb204 mach_msg_overwrite + 388 (mach_msg.c:0)
3   libsystem_kernel.dylib          0x00000001c96a8fec mach_msg + 24 (mach_msg.c:323)
4   libEmbeddedSystemAUs.dylib      0x00000001f3aa024c void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, AURemoteIO::IOThread::IOThread(AURemoteIO&, caulk::thread::attributes const&, caulk::mach::os_workgroup_managed const&)::'lambda... + 556 (AURemoteIO.cpp:2051)
5   libsystem_pthread.dylib         0x00000001d9dc66cc _pthread_start + 148 (pthread.c:893)
6   libsystem_pthread.dylib         0x00000001d9dc5ba4 thread_start + 8 (:-1)

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0xffffffffffffffc0   x3: 0x0000000283383080
    x4: 0x0000000283383100   x5: 0x0000000000000001   x6: 0x0000000004410123   x7: 0x0000000000000001
    x8: 0x00000000000000cc   x9: 0x00000000000000cb  x10: 0x0000000000003070  x11: 0x00000000000007fb
   x12: 0x00000000cb23508d  x13: 0x00000000000007fd  x14: 0x00000000cb43589c  x15: 0x00000000cb23508d
   x16: 0x0000000185f32cac  x17: 0x000000004b400000  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x0000000283383070  x21: 0x0000000280529140  x22: 0xe000000000000000  x23: 0xd00000000000001a
   x24: 0x00000002810b0c00  x25: 0x0000000283383070  x26: 0x0000000000000000  x27: 0x0000000000000008
   x28: 0x0000000000000000   fp: 0x000000016f3165a0   lr: 0xa9698001013b2cec
    sp: 0x000000016f316590   pc: 0x0000000185f32cd4 cpsr: 0x60001000
   esr: 0x92000006 (Data Abort) byte read Translation fault

Binary Images:
0x100ae8000 - 0x100ed7fff MeetingApp arm64  <b9d90630b0843ef68dcb8db1e99ed935> /private/var/containers/Bundle/Application/2579E1E0-F2F6-4D78-9FED-04C87633F9C6/MeetingApp.app/MeetingApp
0x101368000 - 0x10140bfff AmazonChimeSDK arm64  <ca665c065a0a3043a3e67b6be2b6cf62> /private/var/containers/Bundle/Application/2579E1E0-F2F6-4D78-9FED-04C87633F9C6/MeetingApp.app/Frameworks/AmazonChimeSDK.framework/AmazonChimeSDK
0x101fb8000 - 0x102bf7fff AmazonChimeSDKMedia arm64  <6059d0071ebe36b7b0fa254429c7053e> /private/var/containers/Bundle/Application/2579E1E0-F2F6-4D78-9FED-04C87633F9C6/MeetingApp.app/Frameworks/AmazonChimeSDKMedia.framework/AmazonChimeSDKMedia
0x185b15000 - 0x18607dfff libswiftCore.dylib arm64e  <88c0376c20c2344d8286d3a8f619ab97> /usr/lib/swift/libswiftCore.dylib
0x1860b1000 - 0x1869fafff Foundation arm64e  <07a92f05d8ec327eab3341db9f77ba16> /System/Library/Frameworks/Foundation.framework/Foundation
0x18bd34000 - 0x18c119fff CoreFoundation arm64e  <725e49f4653b39bf9a7a8a3250911ecb> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x18cec8000 - 0x18d291fff CFNetwork arm64e  <8a75357d7e213fb38b1e4c0f63e8dc02> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x18df09000 - 0x18f6f4fff UIKitCore arm64e  <59cbc9b530ae396ea269a986640001bc> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x19334d000 - 0x193393fff libdispatch.dylib arm64e  <24db930d870b31ceac69534d7896b4a8> /usr/lib/system/libdispatch.dylib
0x19f3d8000 - 0x1a0893fff JavaScriptCore arm64e  <8c4289de9d14382386c8c749af87c8da> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
0x1a67f4000 - 0x1a6a95fff AudioToolbox arm64e  <bd81d976a5193840a8f7bd8196d73b36> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x1aa5c1000 - 0x1aa64408f dyld arm64e  <7b63c57361613b33a3a29944ba59722f> /usr/lib/dyld
0x1ac00d000 - 0x1ac041fff libAudioToolboxUtility.dylib arm64e  <3609735483d934e7af05868da7bc497a> /usr/lib/libAudioToolboxUtility.dylib
0x1c5e0a000 - 0x1c5e12fff GraphicsServices arm64e  <5adda888f38735f787a7e01fcb9bb928> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1c96a4000 - 0x1c96defe3 libsystem_kernel.dylib arm64e  <9daa5c2993e03768a3e1e139995dc4af> /usr/lib/system/libsystem_kernel.dylib
0x1d9dc5000 - 0x1d9dd0fff libsystem_pthread.dylib arm64e  <f2ba7ec0f75a3345b4f6f7da4979b902> /usr/lib/system/libsystem_pthread.dylib
0x1f39f8000 - 0x1f3b03ff3 libEmbeddedSystemAUs.dylib arm64e  <5c8b236dd6da3409b96eda8f4f10d31d> /System/Library/Frameworks/AudioToolbox.framework/libEmbeddedSystemAUs.dylib

EOF

Will test the demo app and update you and the ios version 16.2 is crashing in AmazonChimeSDK-0.22.5 after toggle the camera more than 7 times, but no issue in ios version 15.7.3

ashirkhan94 commented 1 year ago

Hi @dylonChime Any update

ashirkhan94 commented 1 year ago

Hi @dylonChime we already added the active speaker observer in bridge file is it cause the crash?

below added the code in MeetingObservers.h file


- (void)activeSpeakerDidDetectWithAttendeeInfo:(NSArray<AttendeeInfo *> * _Nonnull)attendeeInfo {
  for (id currentAttendeeInfo in attendeeInfo)
  {

    NSLog(@"calculateScoreWithAttendeeInfo--------attendee info= %@ ", [currentAttendeeInfo attendeeId]);
    if(attendeeInfo.count>0){
       for (id currentAttendeeInfo in attendeeInfo)
       {
         [_bridge sendEventWithName:kEventOnActiveSpeakerDidDetect body:@{@"attendeeId":[currentAttendeeInfo attendeeId], @"externalUserId":[currentAttendeeInfo externalUserId]}];

       }
     }
  }
}

-(void)activeSpeakerScoreDidChangeWithScores:(NSDictionary<AttendeeInfo *,NSNumber *> *)scores{

  NSMutableArray *personsArray = [[NSMutableArray alloc] initWithCapacity:40];
  for (id currentAttendeeInfo in scores) {

    [personsArray addObject:@{@"attendeeId":[currentAttendeeInfo attendeeId], @"externalUserId":[currentAttendeeInfo externalUserId], @"score":scores[currentAttendeeInfo]}];

   }
  [_bridge sendEventWithName:KEventsOnActiveSpeakerScoreDidChangeWithScore body:personsArray];
  NSLog(@"calculateScoreWithAttendeeInfo--------score= %@ ", personsArray);
}
- (NSInteger)scoresCallbackIntervalMs {
    return 1000;
}

- (double)calculateScoreWithAttendeeInfo:(AttendeeInfo * _Nonnull)attendeeInfo volume:(enum VolumeLevel)volume {
  NSLog(@"calculateScoreWithAttendeeInfo--------");
  return volume
  }

- (BOOL)prioritizeVideoSendBandwidthForActiveSpeaker {
  NSLog(@"prioritizeVideoSendBandwidthForActiveSpeaker--------");
  return true;
}

@synthesize observerId;
ashirkhan94 commented 1 year ago

@dylonChime we got error (Crash on testFlight build) when toggling video multipleTime, and it happening in all ios versions which we tested (ios 15.7.3, 16.2, 16.1.1).

Attach the error below

Exception '*** -[AVCaptureSession startRunning] startRunning may not be called between calls to beginConfiguration and commitConfiguration' was thrown while invoking setCameraOn on target NativeMobileSDKBridge with params (
    1
)
callstack: (
    0   CoreFoundation                      0x0000000180a47c94 55C76F8E-BCC9-3A4C-9F62-16EAC0BA8AB8 + 601236
    1   libobjc.A.dylib                     0x000000019826cee4 objc_exception_throw + 56
    2   AVFCapture                          0x00000001a40314f0 1508F726-E460-36CC-9910-DEC7AADA1606 + 206064
    3   AmazonChimeSDK                      0x0000000108c81804 _swift_stdlib_malloc_size + 4508
    4   AmazonChimeSDK                      0x0000000108c56604 __swift_memcpy48_8 + 15620
    5   AmazonChimeSDK                      0x0000000108c56674 __swift_memcpy48_8 + 15732
    6   AmazonChimeSDK                      0x0000000108c5648c __swift_memcpy48_8 + 15244
    7   AmazonChimeSDK                      0x0000000108c56518 __swift_memcpy48_8 + 15384
    8   AmazonChimeSDK                      0x0000000108c3cfd0 block_destroy_helper.57 + 5952
    9   AmazonChimeSDK                      0x0000000108c3d058 block_destroy_helper.57 + 6088
    10  AmazonChimeSDK                      0x0000000108c3f124 block_destroy_helper + 3136
    11  AmazonChimeSDK                      0x0000000108c3f1a4 block_destroy_helper + 3264
    12  DemoApp               0x0000000104df4288 -[NativeMobileSDKBridge startVideo] + 304
    13  DemoApp               0x0000000104df3c4c -[NativeMobileSDKBridge setCameraOn:] + 56
    14  CoreFoundation                      0x00000001809d5d10 55C76F8E-BCC9-3A4C-9F62-16EAC0BA8AB8 + 134416
    15  CoreFoundation                      0x00000001809f1df8 55C76F8E-BCC9-3A4C-9F62-16EAC0BA8AB8 + 249336
    16  CoreFoundation                      0x0000000180a2622c 55C76F8E-BCC9-3A4C-9F62-16EAC0BA8AB8 + 463404
    17  DemoApp               0x00000001054c58c4 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 1744
    18  DemoApp               0x00000001054c91dc _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicEiN12_GLOBAL__N_117SchedulingContextE + 1108
    19  DemoApp               0x00000001054c8bac _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 144
    20  DemoApp               0x00000001054c8b10 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 28
    21  libdispatch.dylib                   0x0000000108a20700 _dispatch_call_block_and_release + 24
    22  libdispatch.dylib                   0x0000000108a21fc8 _dispatch_client_callout + 16
    23  libdispatch.dylib                   0x0000000108a29150 _dispatch_lane_serial_drain + 684
    24  libdispatch.dylib                   0x0000000108a29ddc _dispatch_lane_invoke + 432
    25  libdispatch.dylib                   0x0000000108a3563c _dispatch_workloop_worker_thread + 852
    26  libsystem_pthread.dylib             0x00000001dbda4e10 _pthread_wqthread + 284
    27  libsystem_pthread.dylib             0x00000001dbda493c start_wqthread + 8
)
RCTFatal
facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext)
facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const
invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_lane_serial_drain
_dispatch_lane_invoke
_dispatch_workloop_worker_thread
_pthread_wqthread
start_wqthread
georgezy-amzn commented 1 year ago

Hi @ashirkhan94,

According to the logs above, looks like it's causing by a race condition. In order to identify the cause, I need some information:

ashirkhan94 commented 1 year ago

Hi @georgezy-amzn, I got the above issue (https://github.com/aws-samples/amazon-chime-react-native-demo/issues/174#issuecomment-1427978687) when toggle very fast, and no issues while toggling slowly

But some times app getting crashed at first toggle with below error

[AVCaptureSession startRunning] startRunning may not be called between calls to beginConfiguration and commitConfiguration' "
georgezy-amzn commented 1 year ago

Are you using startRunning in your own project? beside Chime SDK.

georgezy-amzn commented 1 year ago

@ashirkhan94 updates?

ashirkhan94 commented 1 year ago

Hi @georgezy-amzn, Sorry for the late reply. We are not using startRunning in our project

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

georgezy-amzn commented 1 year ago

Hi @ashirkhan94,

I'm able to reproduce and fix the original crash, the root cause is the video view is null when binding, please refer to this commit for the fix. I'm resolving the issue, feel free to reopen if the issue still exists.

ashirkhan94 commented 1 year ago

Hi @georgezy-amzn Why the video view is null when binding? Any reason?

AbhishekSri979 commented 4 months ago

I am also getting same error, please check below screenshot. How to fix this error ?

Screenshot 2024-03-11 at 11 06 29 AM