Communication
Communication copied to clipboard
[iOS]CallingSDK crash with ACSException `Attempting to get event handler for a cookie which was never added.'
Describe the bug when a Calling SDK user being kicked out from Teams meeting, the SDK could randomly crash because of `Attempting to get event handler for a cookie which was never added.'
To Reproduce Steps to reproduce the behavior:
- Join a Team's meeting through CallingSDK
- Grant permission to this CallingSDK user of joining the meeting
- Kick out the CallingSDK user when some participants are speaking
- The CallingSDK user would get a crash. See the attached screen
Expected behavior CallingSDK shouldn't crash.
Screenshots
Smartphone (please complete the following information):
- Device: iphone se
- OS: 14.8.1
- Version 2.0.1-beta.1
Additional context Add any other context about the problem here.
Just happened to me to on iOS sdk 2.1.0-beta.1. The only time it happened was when disposing some objects RIGHT AFTER/DURING call initialization.
0x0000000108a0c000 + 91424
SIGABRT: Attempting to get event handler for a cookie which was never added.
LAST EXCEPTION BACKTRACE
CoreFoundation
__exceptionPreprocess
libobjc.A.dylib
objc_exception_throw
CoreFoundation
+[NSException raise:format:]
AzureCommunicationCalling
0x0000000108a0c000 + 91424
AzureCommunicationCalling
0x0000000108a0c000 + 87192
AzureCommunicationCalling
0x0000000108a0c000 + 89696
AzureCommunicationCalling
0x0000000108a0c000 + 48536
AzureCommunicationCalling
0x0000000108a0c000 + 365188
AzureCommunicationCalling
0x0000000108a0c000 + 355740
AzureCommunicationCalling
0x0000000108a0c000 + 381472
AzureCommunicationCalling
0x0000000108a0c000 + 20548828
AzureCommunicationCalling
0x0000000108a0c000 + 20533452
AzureCommunicationCalling
0x0000000108a0c000 + 20533060
libdispatch.dylib
_dispatch_call_block_and_release
libdispatch.dylib
_dispatch_client_callout
libdispatch.dylib
_dispatch_root_queue_drain
libdispatch.dylib
_dispatch_worker_thread2
libsystem_pthread.dylib
_pthread_wqthread
libsystem_pthread.dylib
start_wqthread