Description
Hi, there. I’ve downloaded the latest version of ZoomVideoSDK 1.3.3. When I’m trying to get one of Zoom’s callbacks I tend to get an error instead:
“Thread 1: EXC_BAD_ACCESS (code=1, address=0x3da7ad330)” at main
This error is 100% reproducible when one of the users leaves session. I don’t get onUserLeave callback, but I do get an error. As a workaround I reverted SDK to the previous version and it works fine.
Which iOS Video SDK version?
1.3.3. The previous version (1.3.2) is stable
trigger a crash on user 1 (call fatalError() for example - or stop execution in Xcode) - the SDK callbacks are not called for user 1 - so user 2 in 3 are still seeing user 1 being part of the session
after ~30sec both user 2 and 3 will experience the crash above - the SDK timed out user 1 and tries to remove it casing the crash to happen
@rokgregoric
Thank you for reporting this issue.
It seems your app crashed when you receive the error of Errors_Session_Disconncting(2008), right?
We test with SDK demo app, can’t reproduce the issue of crash, it must have some different operation between your code and SDK Demo code.
Would you mind to give us a call stack of this crash issue or some sample code?
Thanks
@rokgregoric
Sorry, one more information needed.
Which SDK version was used of this crash call stack?
And, please give us the full crash call stack, that will be useful for tracking.
Hi @rokgregoric and @veerlorden ,
I am waiting for your crash call stacks and SDK version for debug this issue.
Would you kindle send us this two informations.
Thanks.
Hi @rokgregoric ,
The call stack you paste is not enough to analyzing.
If the crash happened when you developing, please input the command “bt” and “image all” and copy the output to us.
If the crash not happened in developing. Please check the device log by Xcode. There have the full crash call stack.
Thanks again for report this issue.
I replicated this simply by running the app from Xcode and after the session has started, re-run the same app without quitting it - Xcode kills it.
When the app restart there is a fantom/zombie user (the old one) still in the session. After around 30sec - when the zombie user times out - it gets disconnected - causing the crash to occur.
Hi @rokgregoric ,
After Engineer analyzing, the SDK you used is 1.3.3.1231 and the SDK is for x86_64 simulator.
Would you please have a try with device SDK of 1.3.3.1231?
And get the “bt” and “image list” output for us.
I tried the way you mention above, but still can’t reproduce, even I used the simulator SDK same as you.
Sorry to bothering you again. We need the log from you app launched to crash happened.
You can normally reproduce the issue.
After crash, you can get the log from Xcode → window → devices and simulators → select device → download containers → and zip the “tmp” folder in the sandbox → send the zip file to us.
Thanks again