nspluginwrapper icon indicating copy to clipboard operation
nspluginwrapper copied to clipboard

Clicking the next video button on hulu sometimes hangs

Open davidben opened this issue 14 years ago • 2 comments

Not yet sure what's going on, and it's not completely reproducible. There does appear to be a race involved; the viewer is waiting for an SYNC_ACK to begin its event loop, but the wrapper had other work to do and never returns to its event loop for some reason.

davidben avatar Apr 24 '11 20:04 davidben

Actually, the block seems to be that the viewer's requested an NPN_GetProperty as a response to the NPP_NewStream (probably Chromium-level interleaving) and never gets a response. Possibly some sort of deadlock involving changing window.location (the property being accessed) so deep in the stack.

davidben avatar Apr 24 '11 20:04 davidben

Looking at hulu's javascript, it appears they make a synchronous ajax request after calling closeApp. It's possible this call is taking too long or (more likely) deadlocking. Should reproduce this on a Chromium build with debug symbols to figure out what the browser's waiting on.

davidben avatar Apr 24 '11 21:04 davidben