azure-sdk-for-ios
azure-sdk-for-ios copied to clipboard
[BUG] Crashed AzureCommunicationCalling ACSCallClient
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
And one more crashes
Crashed: com.apple.root.default-qos
0 libc++.1.dylib 0xfe94 std::__1::basic_string<char, std::__1::char_traits
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
This is happen from 'AzureCommunicationCalling', '2.2.0'
@raosanat can you please triage and investigate?
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.