Description
Application crash due to the below error, reproduced in a modified version of the demo application.
The Demo application is modified for expediency with a pre-filled auth token and user login.
The error occurs intermittently, on my system is somewhere less than 1 in 15 attempts to get it to reproduce.
Using LoginParam4Email to login.
Am starting a meeting using the following:
StartParam userType=SDK_UT_NORMALUSER
and NormalUserStart = StartParam4NormalUser {isVideoOff =true, isAudioOff = false, isDirectShareDesktop = false}
Error occurs immediately after using the End Meeting For All button.
I have also added the stack track that ends up in Event Viewer.
Which Desktop Client SDK version?
C# Wrapper 5.5.12511.0422
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Rundemo Exe
- Authenticate
- Login
- Start meeting
- Without any other interaction with Zoom Window , End → End Meeting For All.
- Repeat steps 5,6 until application crashes.
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Windows 10 Pro
10.0.19043
Additional context
Error seen from Visual Studio
Managed Debugging Assistant ‘DisconnectedContext’ : ‘Transition into COM context 0x14e7e28 for this RuntimeCallableWrapper failed with the following error: The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED)). This is typically because the COM context 0x14e7e28 where this RuntimeCallableWrapper was created has been disconnected or it is busy doing something else and cannot process the context transition. No proxy will be used to service the request on the COM component and calls will be made to the COM component directly. This may cause corruption or data loss. To avoid this problem, please ensure that all COM contexts/apartments/threads stay alive and are available for context transition, until the application is completely done with the RuntimeCallableWrappers that represents COM components that live inside them.’
Second Error in Event Viewer
Faulting application name: zoom_sdk_demo.exe, version: 1.0.0.0, time stamp: 0x610c66b8
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1151, time stamp: 0x5da51925
Exception code: 0xe0434352
Fault offset: 0x0012b512
Faulting process id: 0x12e5c
Faulting application start time: 0x01d78a499d6f89d2
Faulting application path: C:\Users\User\Downloads\zoom-c-sharp-wrapper-5.5.12511.0422\zoom-c-sharp-wrapper-5.5.12511.0422\bin\zoom_sdk_demo.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: d69559ee-29c8-4488-b0c6-1714a25158f1
Faulting package full name:
Faulting package-relative application ID:
First Error in Event Viewer
Application: zoom_sdk_demo.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidCastException
at System.StubHelpers.InterfaceMarshaler.ConvertToNative(System.Object, IntPtr, IntPtr, Int32)
at MS.Win32.UnsafeNativeMethods+ITfThreadMgr.SetFocus(ITfDocumentMgr)
at System.Windows.Input.InputMethod.EnableOrDisableInputMethod(Boolean)
at System.Windows.Input.TextServicesManager.Focus(System.Windows.DependencyObject)
at System.Windows.Input.KeyboardDevice.ChangeFocus(System.Windows.DependencyObject, Int32)
at System.Windows.Input.KeyboardDevice.TryChangeFocus(System.Windows.DependencyObject, System.Windows.Input.IKeyboardInputProvider, Boolean, Boolean, Boolean)
at System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject, Boolean, Boolean, Boolean)
at System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement)
at System.Windows.Interop.HwndKeyboardInputProvider.OnSetFocus(IntPtr)
at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)