Closed tuneerclixlogix closed 3 years ago
Would you mind providing details on
?
yes @hokyungh , Device: [iPhone7, iPhone X] OS: [iOS 14.3] Version AmazonChimeSDK: [0.13.1] Version AmazonChimeSDKMedia: [0.9.0]
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.
@hokyungh have you found something on this ? this rarely happens but happened yesterday too and the app crashed when the other user joined and tried to bind the view.
Hi @tuneerclixlogix,
I'm not able to reproduce this with our RN demo app on iOS. When the crash is happening for you, can you verify if the view
object is an instance of DefaultVideoRenderView
? I'm suspecting the casting from UIView*
to DefaultVideoRenderView*
failed and resulted in a nil pointer.
@zhinang-amazon this issue is happening rarely mostly with my client's side, so its difficult to track the instance of DefaultVideoRenderView, i am attaching the link to the crashlog file that i received from the testflight https://workdrive.zoho.com/file/7awqs93d1a61dea4e4ec18d5746484232e387 and the device details are as "deviceModel" : "iPhone13,3", "osVersion" : "14.3", "locale" : "de-DE", "carrier" : null, "timezone" : "Europe/Berlin", "architecture" : "arm64e", "connectionStatus" : "WI_FI", "availableDiskBytes" : 43023605760, "totalDiskBytes" : 127881465856, "networkType" : null, "batteryPercentage" : 69, "screenWidth" : 390, "screenHeight" : 844, I think it might be happening because of slow internet connection sometimes Can you find out something from the above logs ?
I'm not able to access the crashlog. Can you attach it directly here?
@zhinang-amazon Sure, Incident Identifier: C36673DD-73CB-41E0-A358-D9E235CD81E1 Hardware Model: iPhone13,3 Process: Eldertech [12440] Path: /private/var/containers/Bundle/Application/C892F0EF-4B7C-48E8-94FA-744D11DE8356/Eldertech.app/Eldertech Identifier: com.eldertech Version: 3.5 (1.0) AppStoreTools: 12D4d AppVariant: 1:iPhone13,3:14 Beta: YES Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.eldertech [1345]
Date/Time: 2021-02-22 08:52:43.2298 +0100 Launch Time: 2021-02-22 08:51:03.6730 +0100 OS Version: iPhone OS 14.3 (18C66) Release Type: User Baseband Version: 1.31.03-5 Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4298686464
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 10038c000-100394000 [ 32K] r-x/r-x SM=COW ...app/Eldertech
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [12440] Triggered by Thread: 0
Thread 0 name: Thread 0 Crashed: 0 libswiftCore.dylib 0x000000018a57c6e4 swift_getObjectType + 40 (Private.h:171) 1 AmazonChimeSDK 0x000000010087a40c 0x10083c000 + 254988 2 AmazonChimeSDK 0x000000010087a40c 0x10083c000 + 254988 3 AmazonChimeSDK 0x000000010087aa14 0x10083c000 + 256532 4 Eldertech 0x000000010039434c __46-[NativeMobileSDKBridge bindVideoView:tileId:]_block_invoke_2 + 260 5 libdispatch.dylib 0x00000001861c024c _dispatch_call_block_and_release + 32 (init.c:1454) 6 libdispatch.dylib 0x00000001861c1db0 _dispatch_client_callout + 20 (object.m:559) 7 libdispatch.dylib 0x00000001861cf7ac _dispatch_main_queue_callback_4CF + 836 (inline_internal.h:2548) 8 CoreFoundation 0x000000018654911c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 (CFRunLoop.c:1790) 9 CoreFoundation 0x0000000186543120 __CFRunLoopRun + 2508 (CFRunLoop.c:3118) 10 CoreFoundation 0x000000018654221c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242) 11 GraphicsServices 0x000000019e046784 GSEventRunModal + 164 (GSEvent.c:2259) 12 UIKitCore 0x0000000188f80fe0 -[UIApplication _run] + 1072 (UIApplication.m:3253) 13 UIKitCore 0x0000000188f86854 UIApplicationMain + 168 (UIApplication.m:4707) 14 Eldertech 0x0000000100396310 main + 112 15 libdyld.dylib 0x00000001862026b0 start + 4
Thread 1 name: Thread 1: 0 libsystem_kernel.dylib 0x00000001b43202d0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001b431f660 mach_msg + 76 (mach_msg.c:103) 2 CoreFoundation 0x0000000186548c30 CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641) 3 CoreFoundation 0x0000000186542c14 CFRunLoopRun + 1216 (CFRunLoop.c:2974) 4 CoreFoundation 0x000000018654221c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242) 5 Foundation 0x00000001877f1df0 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 232 (NSRunLoop.m:374) 6 Foundation 0x00000001877f1cbc -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:421) 7 UIKitCore 0x0000000189034d48 -[UIEventFetcher threadMain] + 516 (UIEventFetcher.m:838) 8 Foundation 0x0000000187963a34 NSThreadstart__ + 864 (NSThread.m:724) 9 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 10 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 2: 0 libsystem_pthread.dylib 0x00000001d1da6754 start_wqthread + 0
Thread 3 name: Thread 3: 0 libsystem_kernel.dylib 0x00000001b43202d0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001b431f660 mach_msg + 76 (mach_msg.c:103) 2 CoreFoundation 0x0000000186548c30 CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641) 3 CoreFoundation 0x0000000186542c14 CFRunLoopRun + 1216 (CFRunLoop.c:2974) 4 CoreFoundation 0x000000018654221c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242) 5 Eldertech 0x00000001004fa1bc +[RCTCxxBridge runRunLoop] + 264 6 Foundation 0x0000000187963a34 NSThreadstart__ + 864 (NSThread.m:724) 7 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 8 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 4 name:
Thread 4:
0 libsystem_kernel.dylib 0x00000001b43441ac psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636)
2 libc++.1.dylib 0x000000019b5dd328 std::1::condition_variable::wait(std::1::unique_lock
Thread 5 name: Thread 5: 0 libsystem_kernel.dylib 0x00000001b43202d0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001b431f660 mach_msg + 76 (mach_msg.c:103) 2 CoreFoundation 0x0000000186548c30 CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641) 3 CoreFoundation 0x0000000186542c14 CFRunLoopRun + 1216 (CFRunLoop.c:2974) 4 CoreFoundation 0x000000018654221c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242) 5 CFNetwork 0x0000000186e182c0 +[CFN_CoreSchedulingSetRunnable _run:] + 572 (CoreSchedulingSet.mm:1374) 6 Foundation 0x0000000187963a34 NSThreadstart + 864 (NSThread.m:724) 7 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 8 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 6 name: Thread 6: 0 libsystem_kernel.dylib 0x00000001b43202d0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001b431f660 mach_msg + 76 (mach_msg.c:103) 2 CoreFoundation 0x0000000186548c30 CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641) 3 CoreFoundation 0x0000000186542c14 CFRunLoopRun + 1216 (CFRunLoop.c:2974) 4 CoreFoundation 0x000000018654221c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242) 5 AudioSession 0x000000018dffc0c4 GenericRunLoopThread::Entry(void) + 164 (GenericRunLoopThread.h:91) 6 AudioSession 0x000000018dffe25c CAPThread::Entry(CAPThread) + 92 (CAPThread.cpp:321) 7 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 8 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 7: 0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636) 2 AmazonChimeSDKMedia 0x0000000100d7096c 0x100b74000 + 2083180 3 AmazonChimeSDKMedia 0x0000000100bad778 0x100b74000 + 235384 4 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 5 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 8: 0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636) 2 AmazonChimeSDKMedia 0x0000000100d7096c 0x100b74000 + 2083180 3 AmazonChimeSDKMedia 0x0000000100badadc 0x100b74000 + 236252 4 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 5 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 9: 0 libsystem_kernel.dylib 0x00000001b432030c semaphore_wait_trap + 8 1 caulk 0x00000001ccf8e900 caulk::mach::semaphore::wait_or_error() + 28 (mach_semaphore.cpp:131) 2 caulk 0x00000001ccf830ac caulk::semaphore::timed_wait(double) + 168 (semaphore.cpp:85) 3 caulk 0x00000001ccf88398 caulk::concurrent::details::worker_thread::run() + 44 (semaphore.h:82) 4 caulk 0x00000001ccf8857c void caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuple<caulk::concurrent::details::worker_thread> > >(void) + 96 (type_traits:3493) 5 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 6 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 10 name: Thread 10: 0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636) 2 AmazonChimeSDKMedia 0x0000000100f185f0 0x100b74000 + 3818992 3 AmazonChimeSDKMedia 0x0000000100f184bc 0x100b74000 + 3818684 4 AmazonChimeSDKMedia 0x0000000100eb58e4 0x100b74000 + 3414244 5 AmazonChimeSDKMedia 0x0000000100ec3bc8 0x100b74000 + 3472328 6 AmazonChimeSDKMedia 0x0000000100ec31c4 0x100b74000 + 3469764 7 AmazonChimeSDKMedia 0x0000000100ec4650 0x100b74000 + 3475024 8 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 9 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 11 name: Thread 11: 0 libsystem_kernel.dylib 0x00000001b434470c select$DARWIN_EXTSN + 8 1 AmazonChimeSDKMedia 0x0000000100ebc99c 0x100b74000 + 3443100 2 AmazonChimeSDKMedia 0x0000000100ec3bc8 0x100b74000 + 3472328 3 AmazonChimeSDKMedia 0x0000000100ec31c4 0x100b74000 + 3469764 4 AmazonChimeSDKMedia 0x0000000100ec4650 0x100b74000 + 3475024 5 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 6 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 12 name: Thread 12: 0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636) 2 AmazonChimeSDKMedia 0x0000000100f185f0 0x100b74000 + 3818992 3 AmazonChimeSDKMedia 0x0000000100f184bc 0x100b74000 + 3818684 4 AmazonChimeSDKMedia 0x0000000100eb58e4 0x100b74000 + 3414244 5 AmazonChimeSDKMedia 0x0000000100ec3bc8 0x100b74000 + 3472328 6 AmazonChimeSDKMedia 0x0000000100ec31c4 0x100b74000 + 3469764 7 AmazonChimeSDKMedia 0x0000000100ec4650 0x100b74000 + 3475024 8 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 9 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 13: 0 libsystem_pthread.dylib 0x00000001d1da6754 start_wqthread + 0
Thread 14 name: Thread 14: 0 libsystem_kernel.dylib 0x00000001b43202d0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001b431f660 mach_msg + 76 (mach_msg.c:103) 2 CoreFoundation 0x0000000186548c30 CFRunLoopServiceMachPort + 380 (CFRunLoop.c:2641) 3 CoreFoundation 0x0000000186542c14 CFRunLoopRun + 1216 (CFRunLoop.c:2974) 4 CoreFoundation 0x000000018654221c CFRunLoopRunSpecific + 600 (CFRunLoop.c:3242) 5 AudioToolbox 0x000000018f6569fc GenericRunLoopThread::Entry(void) + 164 (GenericRunLoopThread.h:91) 6 libAudioToolboxUtility.dylib 0x000000019bcc9144 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread) + 92 (CAPThread.cpp:324) 7 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 8 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 15: 0 libsystem_pthread.dylib 0x00000001d1da6754 start_wqthread + 0
Thread 16: 0 libsystem_pthread.dylib 0x00000001d1da6754 start_wqthread + 0
Thread 17 name:
Thread 17:
0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636)
2 JavaScriptCore 0x0000000190817d20 WTF::ParkingLot::parkConditionallyImpl(void const, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2780 (ThreadingPOSIX.cpp:546)
3 JavaScriptCore 0x00000001900d94a4 bool WTF::Condition::waitUntil
Thread 18 name:
Thread 18:
0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636)
2 JavaScriptCore 0x0000000190817d20 WTF::ParkingLot::parkConditionallyImpl(void const, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2780 (ThreadingPOSIX.cpp:546)
3 JavaScriptCore 0x00000001900d94a4 bool WTF::Condition::waitUntil
Thread 19 name:
Thread 19:
0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636)
2 JavaScriptCore 0x0000000190817d20 WTF::ParkingLot::parkConditionallyImpl(void const, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2780 (ThreadingPOSIX.cpp:546)
3 JavaScriptCore 0x00000001900d94a4 bool WTF::Condition::waitUntil
Thread 20 name:
Thread 20:
0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636)
2 JavaScriptCore 0x0000000190817d20 WTF::ParkingLot::parkConditionallyImpl(void const, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2780 (ThreadingPOSIX.cpp:546)
3 JavaScriptCore 0x00000001900d94a4 bool WTF::Condition::waitUntil
Thread 21 name:
Thread 21:
0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636)
2 JavaScriptCore 0x0000000190817d20 WTF::ParkingLot::parkConditionallyImpl(void const, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2780 (ThreadingPOSIX.cpp:546)
3 JavaScriptCore 0x00000001900d94a4 bool WTF::Condition::waitUntil
Thread 22 name:
Thread 22:
0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636)
2 JavaScriptCore 0x0000000190817d20 WTF::ParkingLot::parkConditionallyImpl(void const, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2780 (ThreadingPOSIX.cpp:546)
3 JavaScriptCore 0x00000001900d94a4 bool WTF::Condition::waitUntil
Thread 23 name: Thread 23: 0 libobjc.A.dylib 0x000000019b538190 objc_msgSend + 176 1 Eldertech 0x0000000100541d58 -[RCTUIManager manageChildren:moveFromIndices:moveToIndices:addChildReactTags:addAtIndices:removeAtIndices:registry:] + 1152 2 Eldertech 0x000000010054171c -[RCTUIManager manageChildren:moveFromIndices:moveToIndices:addChildReactTags:addAtIndices:removeAtIndices:] + 176 3 CoreFoundation 0x00000001865d28f4 invoking + 148 4 CoreFoundation 0x00000001864a9df8 -[NSInvocation invoke] + 448 (NSForwarding.m:3389) 5 CoreFoundation 0x00000001864aa3cc -[NSInvocation invokeWithTarget:] + 80 (NSForwarding.m:3495) 6 Eldertech 0x0000000100518d84 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 460 7 Eldertech 0x000000010051af18 facebook::react::invokeInner(RCTBridge, RCTModuleData, unsigned int, folly::dynamic const&) + 244 8 Eldertech 0x000000010051ac7c facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const + 44 9 Eldertech 0x000000010051ac7c invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 88 10 libdispatch.dylib 0x00000001861c024c _dispatch_call_block_and_release + 32 (init.c:1454) 11 libdispatch.dylib 0x00000001861c1db0 _dispatch_client_callout + 20 (object.m:559) 12 libdispatch.dylib 0x00000001861c910c _dispatch_lane_serial_drain + 580 (inline_internal.h:2548) 13 libdispatch.dylib 0x00000001861c9c5c _dispatch_lane_invoke + 408 (queue.c:3862) 14 libdispatch.dylib 0x00000001861d3d78 _dispatch_workloop_worker_thread + 708 (queue.c:6601) 15 libsystem_pthread.dylib 0x00000001d1d9f804 _pthread_wqthread + 276 (pthread.c:2207) 16 libsystem_pthread.dylib 0x00000001d1da675c start_wqthread + 8
Thread 24: 0 libsystem_pthread.dylib 0x00000001d1da6754 start_wqthread + 0
Thread 25: 0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636) 2 AmazonChimeSDKMedia 0x0000000100bae768 0x100b74000 + 239464 3 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 4 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 26: 0 libsystem_kernel.dylib 0x00000001b434470c select$DARWIN_EXTSN + 8 1 AmazonChimeSDKMedia 0x0000000100bd0b50 0x100b74000 + 379728 2 AmazonChimeSDKMedia 0x0000000100b7ba88 0x100b74000 + 31368 3 AmazonChimeSDKMedia 0x0000000100bb2f90 0x100b74000 + 257936 4 AmazonChimeSDKMedia 0x0000000100baa454 0x100b74000 + 222292 5 AmazonChimeSDKMedia 0x0000000100bb3514 0x100b74000 + 259348 6 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 7 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 27 name: Thread 27: 0 libsystem_kernel.dylib 0x00000001b43202d0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x00000001b431f660 mach_msg + 76 (mach_msg.c:103) 2 libEmbeddedSystemAUs.dylib 0x00000001b84fc628 caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, AURemoteIO::IOThread::IOThread(AURemoteIO&, caulk::thread::attributes const&, caulk::mach::os_workgroup const&)::'lambda'(), std::__1:... + 576 (AURemoteIO.cpp:1928) 3 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 4 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 28 name: Thread 28: 0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636) 2 AmazonChimeSDKMedia 0x0000000100f185e0 0x100b74000 + 3818976 3 AmazonChimeSDKMedia 0x0000000100f184bc 0x100b74000 + 3818684 4 AmazonChimeSDKMedia 0x0000000100eb58e4 0x100b74000 + 3414244 5 AmazonChimeSDKMedia 0x0000000100ec3bc8 0x100b74000 + 3472328 6 AmazonChimeSDKMedia 0x0000000100ec31c4 0x100b74000 + 3469764 7 AmazonChimeSDKMedia 0x0000000100ec4650 0x100b74000 + 3475024 8 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 9 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 29 name: Thread 29: 0 libsystem_kernel.dylib 0x00000001b434470c select$DARWIN_EXTSN + 8 1 AmazonChimeSDKMedia 0x0000000100ebc99c 0x100b74000 + 3443100 2 AmazonChimeSDKMedia 0x0000000100ec3bc8 0x100b74000 + 3472328 3 AmazonChimeSDKMedia 0x0000000100ec31c4 0x100b74000 + 3469764 4 AmazonChimeSDKMedia 0x0000000100ec4650 0x100b74000 + 3475024 5 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 6 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 30 name: Thread 30: 0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636) 2 AmazonChimeSDKMedia 0x0000000100f185f0 0x100b74000 + 3818992 3 AmazonChimeSDKMedia 0x0000000100f184bc 0x100b74000 + 3818684 4 AmazonChimeSDKMedia 0x0000000100eb58e4 0x100b74000 + 3414244 5 AmazonChimeSDKMedia 0x0000000100ec3bc8 0x100b74000 + 3472328 6 AmazonChimeSDKMedia 0x0000000100ec31c4 0x100b74000 + 3469764 7 AmazonChimeSDKMedia 0x0000000100ec4650 0x100b74000 + 3475024 8 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 9 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 31: 0 libsystem_kernel.dylib 0x00000001b4346a9c poll + 8 1 AmazonChimeSDKMedia 0x0000000100be2438 0x100b74000 + 451640 2 AmazonChimeSDKMedia 0x0000000100bdb11c 0x100b74000 + 422172 3 AmazonChimeSDKMedia 0x0000000100b9c7bc 0x100b74000 + 165820 4 AmazonChimeSDKMedia 0x0000000100dca650 0x100b74000 + 2451024 5 AmazonChimeSDKMedia 0x0000000100dc97a4 0x100b74000 + 2447268 6 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 7 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 32: 0 libsystem_pthread.dylib 0x00000001d1da6754 start_wqthread + 0
Thread 33 name: Thread 33: 0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636) 2 AmazonChimeSDKMedia 0x0000000100f185e0 0x100b74000 + 3818976 3 AmazonChimeSDKMedia 0x0000000100f184bc 0x100b74000 + 3818684 4 AmazonChimeSDKMedia 0x0000000100f6120c 0x100b74000 + 4117004 5 AmazonChimeSDKMedia 0x0000000100f60b9c 0x100b74000 + 4115356 6 AmazonChimeSDKMedia 0x0000000100f17fa8 0x100b74000 + 3817384 7 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 8 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 34: 0 libsystem_pthread.dylib 0x00000001d1da6754 start_wqthread + 0
Thread 35: 0 libsystem_pthread.dylib 0x00000001d1da6754 start_wqthread + 0
Thread 36: 0 libsystem_pthread.dylib 0x00000001d1da6754 start_wqthread + 0
Thread 37 name: Thread 37: 0 libsystem_kernel.dylib 0x00000001b43441ac __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x00000001d1da1458 _pthread_cond_wait + 1192 (pthread_cond.c:636) 2 AmazonChimeSDKMedia 0x0000000100f185e0 0x100b74000 + 3818976 3 AmazonChimeSDKMedia 0x0000000100f184bc 0x100b74000 + 3818684 4 AmazonChimeSDKMedia 0x0000000100f6120c 0x100b74000 + 4117004 5 AmazonChimeSDKMedia 0x0000000100f60b9c 0x100b74000 + 4115356 6 AmazonChimeSDKMedia 0x0000000100f17fa8 0x100b74000 + 3817384 7 libsystem_pthread.dylib 0x00000001d1d9db40 _pthread_start + 320 (pthread.c:881) 8 libsystem_pthread.dylib 0x00000001d1da6768 thread_start + 8
Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000280d82df0 x2: 0x0000000000000004 x3: 0x00000000000036c8 x4: 0x000000000000000e x5: 0x0000000000000000 x6: 0x0000000004410123 x7: 0x0000000000000001 x8: 0x00000000000000cb x9: 0x0000000000000094 x10: 0x00000000000007fb x11: 0x00000000000007fd x12: 0x0000000000000001 x13: 0x00000000da80e8ca x14: 0x00000000daa0f000 x15: 0x000000000000001e x16: 0x000000018a57c6bc x17: 0x000000005aa00000 x18: 0x0000000104170050 x19: 0x0000000000000000 x20: 0x0000000280d82df0 x21: 0x0000000282e2e820 x22: 0x0000000283b94300 x23: 0x00000001008c5000 x24: 0x0000000002ffffff x25: 0xe000000000000000 x26: 0x00000001e91178e8 x27: 0x0000000000000114 x28: 0x0000000000000000 fp: 0x000000016fa728d0 lr: 0xf05c22010087a40c sp: 0x000000016fa728c0 pc: 0x000000018a57c6e4 cpsr: 0x60000000 esr: 0x92000006 (Data Abort) byte read Translation fault
Binary Images:
0x10038c000 - 0x1006a3fff Eldertech arm64
EOF
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.
I was able to symbolicate the crash.
Thread 0 name:
Thread 0 Crashed:
0 libswiftCore.dylib 0x000000018a57c6e4 swift_getObjectType + 40 (Private.h:171)
1 AmazonChimeSDK 0x000000010087a40c DefaultVideoTileController.bindVideoView(videoView:tileId:) + 254988 (DefaultVideoTileController.swift:89)
2 AmazonChimeSDK 0x000000010087a40c DefaultVideoTileController.bindVideoView(videoView:tileId:) + 254988 (DefaultVideoTileController.swift:89)
3 AmazonChimeSDK 0x000000010087aa14 @objc DefaultVideoTileController.bindVideoView(videoView:tileId:) + 256532 (<compiler-generated>:0)
4 0x000000010039434c __46-[NativeMobileSDKBridge bindVideoView:tileId:]_block_invoke_2 + 260
This seems to magically either wrong type of videoView or tileId got passed. We'll try to reproduce this and update more information.
It seems that you were passing null videoView. Is there way to check if you are trying to bind unmounted view?
Feel free to re-open if this is still an issue.
@hokyungh I have the same issue and I make sure that's not a null values and it's only in release version sometimes most of the times works fine
componentDidMount() {
// we need to delay the bind video
// Because "componentDidMount" will be called "immediately after the initial rendering occurs"
// This is *before* RCTUIManager add this view to register (so that viewForReactTag() can return a view)
// So we need to dispatch bindVideoView after this function complete
setTimeout(() => {
const viewId = findNodeHandle(this);
if (viewId && viewId !== null) {
Crashlytics().log(
`bindVideoView with viewId:${viewId} and tileId ${this.props.tileId}`,
);
NativeFunction.bindVideoView(
viewId,
this.props.tileId && this.props.tileId !== null
? this.props.tileId
: 0,
);
}
});
}
any idea how can I overcome this issue?
hello, i have the same problem at the moment, any solution about this?
In iOS when binding the video tile i receive this error and the app crashes It happens rarely maybe 1 times out of 10 Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) on line 133 NativeMobileSDKBridge.m [meetingSession.audioVideo bindVideoViewWithVideoView:(DefaultVideoRenderView*)view tileId:[tileId integerValue]];