# SDK Windows 5.5.1 freezes after join

**URL:** <https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217>\
**Category:** Windows\
**Created:** [April 4, 2021, 3:24pm UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217 "2021-04-04T15:24:43Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![arthur](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@arthur](https://devforum.zoom.us/u/arthur)\
**Post date:** [April 4, 2021, 3:24pm UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/1 "2021-04-04T15:24:44Z")

</div>

After join a meeting, the client freezes and closes, tried the demo included in sdk and can´t pass througth the JWT init. My JWT tokens generateds at marketplace just close the demo app.

SDK 5.5.1 (latest version until now)

\*To reproduce this, just try to init the SDK with key and secret.

EDIT: The client freezes at the moment he try to show the dialog to choose connect the audio

Get this exception when debugging:

System.AccessViolationException  
HResult=0x80004003  
Message=Tentativa de leitura ou gravação em memória protegida. Normalmente, isso é uma indicação de que outra memória está danificada.  
Source=zoom\_sdk\_dotnet\_wrap  
StackTrace:  
em ZOOMSDK.IMeetingVideoControllerWrap.onActiveVideoUserChanged(IMeetingVideoControllerWrap\* , UInt32 userid)  
em MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)  
em System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)  
em System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)  
em System.Windows.Application.RunDispatcher(Object ignore)  
em System.Windows.Application.RunInternal(Window window)  
em System.Windows.Application.Run(Window window)  
em System.Windows.Application.Run()  
em RaiseHandApp.App.Main()

Windows 10 Pro 64 bits

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [April 5, 2021, 9:38pm UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/2 "2021-04-05T21:38:31Z")

</div>

Hey @arthur,

Thanks for using the dev forum!

The JWT that is generated in the Zoom Marketplace is for the RESTful API and not the SDK. To auth the SDK you have to use the SDK key and Secret found in the SDK tile of the Zoom Marketplace to create a new JWT. The payload for creating the JWT can be found here: [https://marketplace.zoom.us/docs/sdk/native-sdks/auth](https://marketplace.zoom.us/docs/sdk/native-sdks/auth)

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![arthur](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@arthur](https://devforum.zoom.us/u/arthur)\
**Post date:** [April 6, 2021, 12:20am UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/3 "2021-04-06T00:20:24Z")

</div>

Thanks Michael!

Success with JWT generation and Join the Meeting. Still crashing. I’ll investigate tomorrow. Thanks!

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [April 6, 2021, 11:55pm UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/4 "2021-04-06T23:55:25Z")

</div>

Hey @arthur,

Sounds good. Let me know if you are still running into issues.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![arthur](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@arthur](https://devforum.zoom.us/u/arthur)\
**Post date:** [April 7, 2021, 2:37pm UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/5 "2021-04-07T14:37:59Z")

</div>

Hi Michael, still having trouble, tried with the Zoom C# demo included in SDK.

After join the meeting, and Join with Video and admited to the meeting by host. This happens and closes the app and the zoom sdk client.

System.AccessViolationException  
HResult=0x80004003  
Message=Tentativa de leitura ou gravação em memória protegida. Normalmente, isso é uma indicação de que outra memória está danificada.  
Source=zoom\_sdk\_dotnet\_wrap  
StackTrace:  
em ZOOMSDK.IMeetingVideoControllerWrap.onActiveVideoUserChanged(IMeetingVideoControllerWrap\* , UInt32 userid)  
em MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)  
em System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)  
em System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)  
em System.Windows.Application.RunDispatcher(Object ignore)  
em System.Windows.Application.RunInternal(Window window)  
em System.Windows.Application.Run(Window window)  
em System.Windows.Application.Run()  
em zoom\_sdk\_demo.App.Main()

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [April 8, 2021, 7:22pm UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/6 "2021-04-08T19:22:13Z")

</div>

Hey @arthur,

I just ran the latest version of the C# wrapper demo, and am having trouble re-producing. Have you modified the demo, or the wrapper itself, at all?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![arthur](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@arthur](https://devforum.zoom.us/u/arthur)\
**Post date:** [April 9, 2021, 10:54pm UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/7 "2021-04-09T22:54:14Z")

</div>

Hi @Michael_Condon actually not, but I will find and delete all files from demo and etc. Try again and feedback, thanks

---

<div class="post-metadata">

**Author:** ![arthur](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@arthur](https://devforum.zoom.us/u/arthur)\
**Post date:** [April 9, 2021, 11:20pm UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/8 "2021-04-09T23:20:47Z")

</div>

@Michael_Condon just deleted all files from computer to try out the demo again compiling from the scratch.

Same error, When open the camera video to use the webcam it closes.  
There are changes of Windows SDK or something in VS2019 that is needed to change or something like that?

---

<div class="post-metadata">

**Author:** ![arthur](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@arthur](https://devforum.zoom.us/u/arthur)\
**Post date:** [April 10, 2021, 12:34pm UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/9 "2021-04-10T12:34:46Z")

</div>

@Michael_Condon I´ve found another situation, if I join a meeting with a lot of people with camera video on, crashes too. It´s seems something about creating the video render element

OBS: I don´t use the Custom UI

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [April 12, 2021, 9:06pm UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/10 "2021-04-12T21:06:58Z")

</div>

Hey @arthur,

You said you are initializing with SDK key/secret and not a JWT correct?  
If so, can you provide your code for init/auth?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![arthur](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@arthur](https://devforum.zoom.us/u/arthur)\
**Post date:** [April 13, 2021, 11:13am UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/11 "2021-04-13T11:13:45Z")

</div>

Already changed to JWT with success. But same problem. If there any vídeo câmera active. Crashes. The code is the demo provided in C# sdk wrapper with no changes

---

<div class="post-metadata">

**Author:** ![arthur](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@arthur](https://devforum.zoom.us/u/arthur)\
**Post date:** [April 13, 2021, 5:08pm UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/12 "2021-04-13T17:08:24Z")

</div>

@Michael_Condon I just clean all my PC, found a zoom\_sdk\_dotnet\_wrap.dll out of date. And somehow pointed and loaded. Deleted and recompiled. Now working. Sorry for all time spended.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [April 13, 2021, 9:45pm UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/13 "2021-04-13T21:45:42Z")

</div>

Hey @arthur,

Oh awesome! I am super happy to hear! 🙂  
No need to apologize! We are here to help.

Please let me know if you run into any other issues.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 14, 2021, 7:46am UTC](https://devforum.zoom.us/t/sdk-windows-5-5-1-freezes-after-join/47217/14 "2021-05-14T07:46:29Z")

</div>

Closed on May 14, 2021, 7:46am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
