Issue metadata
Sign in to add a comment
|
[Fuchsia] renderer process hangs after closing an audio stream. |
||||||||||||||||||||||
Issue description1. open youtube in webrunner on Fuchsia 2. Play a video Observes that the page hangs after some time (usually just several seconds). It stops playing video and stops responding to input.
,
Jul 31
,
Jul 31
The problem is that after base::SyncSocket::Shutdown() doesn't work for SyncSocket handles that are passed from one process to another. It looks like the problem is in FDIO: it unwraps FDs created with socketpair() as PA_FDIO_PIPE. As result fdio_create_fd() handles it as a pipe and shutdown() is not supported for pipes.
,
Jul 31
Another problem is that media::AudioDeviceThread ignores errors from Shutdown().
,
Sep 5
Landed https://fuchsia-review.googlesource.com/c/zircon/+/179804 to address this, so we should verify that shutdown() works as expected in Chromium, once that rolls into the SDK tomorrow.
,
Sep 6
The NextAction date has arrived: 2018-09-06
,
Sep 11
With the current build of fuchsia and webrunner renderer no longer hangs, but it also fails to play audio frequently. Particularly on youtube audio plays on pre-roll add, but not for video itself. I'm not sure if that's related to the FDIO bug.
,
Sep 11
Re #7: OK; sounds like something else has regressed. Closing this out as Fixed, let's file a separate bug for the new issue (or re-open this one if it does look to be related to socketpair() shutdown()). |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by sergeyu@chromium.org
, Jul 31Status: Started (was: Assigned)