# Deadlock calling VideoRenderElement Subscribe

**URL:** <https://devforum.zoom.us/t/deadlock-calling-videorenderelement-subscribe/58291>\
**Category:** Windows\
**Created:** [October 2, 2021, 2:19am UTC](https://devforum.zoom.us/t/deadlock-calling-videorenderelement-subscribe/58291 "2021-10-02T02:19:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brook.ballard](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/brook.ballard/32/27140_2.png) [@brook.ballard](https://devforum.zoom.us/u/brook.ballard)\
**Post date:** [October 2, 2021, 2:19am UTC](https://devforum.zoom.us/t/deadlock-calling-videorenderelement-subscribe/58291/1 "2021-10-02T02:19:28Z")

</div>

Windows SDK (5.7) and native zoom just upgraded to latest-

Suddenly getting seemingly random deadlocks when calling Subscribe(userId).

Tested on a stable version of our code from a production release a month ago and can reproduce the issue there as well. The subscribe call works for awhile during the meeting but at some point randomly deadlocks. We have added targeted logging and can demonstrate that the code reaches the subscribe call but never returns. No error either, just locked. The call is made from the main UI thread as suggested and as a result hangs the entire app.

---

<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:** [October 7, 2021, 9:49pm UTC](https://devforum.zoom.us/t/deadlock-calling-videorenderelement-subscribe/58291/2 "2021-10-07T21:49:17Z")

</div>

Hey @brook.ballard,

Thanks for using the dev forum!

Can you forward me your SDK logs and reproduction steps?

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:** [November 7, 2021, 7:49am UTC](https://devforum.zoom.us/t/deadlock-calling-videorenderelement-subscribe/58291/3 "2021-11-07T07:49:26Z")

</div>

Closed on November 7, 2021, 7:49am UTC

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