azure-sdk-for-ios icon indicating copy to clipboard operation
azure-sdk-for-ios copied to clipboard

[BUG] Crashed AzureCommunicationCalling ACSCallClient

Open InnaBlack opened this issue 2 years ago • 3 comments
trafficstars

Describe the bug Crashed: com.apple.root.default-qos 0 AzureCommunicationCalling 0x99520 sam_initialization_options::StdoutLogging() const + 6 1 AzureCommunicationCalling 0x72588 sam_call_client::CreateCallAgentInternal(IFactory&, sam_internal_token_provider*, rt::IntrusivePtr<sam_initialization_options>, sam_call_agent_options*, sam_call_agent**, bool) + 620 2 AzureCommunicationCalling 0x71ce0 sam_call_client_create_call_agent_common(sam_call_client*, sam_internal_token_provider*, sam_call_agent_options*, unsigned char, sam_call_agent**) + 308 3 AzureCommunicationCalling 0x17550 __117-[ACSCallClient createCallAgentWithCallKitWithTokenProvider:callAgentOptions:isCallKitEnabled:withCompletionHandler:]_block_invoke + 96 4 libdispatch.dylib 0x2460 _dispatch_call_block_and_release + 32 5 libdispatch.dylib 0x3f88 _dispatch_client_callout + 20 6 libdispatch.dylib 0x7074 _dispatch_queue_override_invoke + 788 7 libdispatch.dylib 0x15a6c _dispatch_root_queue_drain + 396 8 libdispatch.dylib 0x16284 _dispatch_worker_thread2 + 164 9 libsystem_pthread.dylib 0xdbc _pthread_wqthread + 228 10 libsystem_pthread.dylib 0xb98 start_wqthread + 8

InnaBlack avatar Apr 05 '23 17:04 InnaBlack

And one more crashes

Crashed: com.apple.root.default-qos 0 libc++.1.dylib 0xfe94 std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >::basic_string(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) + 16 1 AzureCommunicationCalling 0x93f08 Factory::GetSkyLib() + 220 2 AzureCommunicationCalling 0x94580 Factory::CreateDefaultTelemetryProvider() + 148 3 AzureCommunicationCalling 0x729f0 sam_call_client::CreateCallAgentInternal(IFactory&, sam_internal_token_provider*, rt::IntrusivePtr<sam_initialization_options>, sam_call_agent_options*, sam_call_agent**, bool) + 1748 4 AzureCommunicationCalling 0x71c58 sam_call_client_create_call_agent_common(sam_call_client*, sam_internal_token_provider*, sam_call_agent_options*, unsigned char, sam_call_agent**) + 172 5 AzureCommunicationCalling 0x17550 __117-[ACSCallClient createCallAgentWithCallKitWithTokenProvider:callAgentOptions:isCallKitEnabled:withCompletionHandler:]_block_invoke + 96 6 libdispatch.dylib 0x63094 _dispatch_call_block_and_release + 24 7 libdispatch.dylib 0x64094 _dispatch_client_callout + 16 8 libdispatch.dylib 0x6858 _dispatch_queue_override_invoke + 720 9 libdispatch.dylib 0x13b94 _dispatch_root_queue_drain + 340 10 libdispatch.dylib 0x1439c _dispatch_worker_thread2 + 172 11 libsystem_pthread.dylib 0x1dd4 _pthread_wqthread + 224 12 libsystem_pthread.dylib 0x193c start_wqthread + 8


Crashed: Thread 0 libsystem_platform.dylib 0xae8 _platform_memmove + 536 1 AzureCommunicationCalling 0x1d8698 rtcavpal::AudioCaptureDeviceHelper::lockBuffer(_RtcPalDeviceAudioBufferInfo_t&) + 644 2 AzureCommunicationCalling 0x7159e8 RtcAudio::AudioCaptureDeviceImpl::ProcessFrame(RtcAudio::IAudioFrame*) + 192 3 AzureCommunicationCalling 0x737fe8 RtcAudio::AudioCapturePipelineImpl::ProcessOneTime() + 340 4 AzureCommunicationCalling 0x741c3c RtcAudio::AudioProcessThread::AudioProcessThreadProc() + 120 5 AzureCommunicationCalling 0x741bb8 RtcAudio::AudioProcessThread::AudioProcessThreadProc(void*) + 16 6 AzureCommunicationCalling 0x1faec0 RtcPalThread::ThreadFunc(void*) + 60 7 libsystem_pthread.dylib 0x16cc _pthread_start + 148 8 libsystem_pthread.dylib 0xba4 thread_start + 8

InnaBlack avatar Apr 05 '23 17:04 InnaBlack

This is happen from 'AzureCommunicationCalling', '2.2.0'

InnaBlack avatar Apr 05 '23 17:04 InnaBlack

@raosanat can you please triage and investigate?

tjprescott avatar Apr 05 '23 18:04 tjprescott

We are looking into these old bugs and closing, can you please try with latest (2.10) version and if still reproducible, feel free to reopen.

lucianopa-msft avatar May 21 '24 19:05 lucianopa-msft