Vungle / Windows-SDK

Other
21 stars 8 forks source link

Deadlock on UI thread #4

Open umluser opened 8 years ago

umluser commented 8 years ago

Hello! Sometimes Vungle SDK freezes the whole UI thread (seems like async await deadlock inside the Vungle SDK) so the windows phone application becomes frozen (I'm using WP 8.1 SDK). This bug happens a lot when the video is starting. It's not even an unhandled exception which can be ignored. So this SDK can't be integrated into production windows phone applications. Steps to reproduce:

  1. Play video
  2. Check if UI is frozen
  3. If nothing bad happens - Exit video page
  4. Goto (1)

This was reproduced using Vungle account with test video. Sometimes it needs 30 cycles(1,2,3,4) to reproduce this bug, sometimes it fails on 1st or 2nd attempt to play the video. Sometimes the UI thread becomes frozen after the video is played.

There are a lot of async/await usages inside the SDK, so there is a huge possibility that those can cause the deadlock (race condition bug).

wp_ss_20160128_0001.