New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 619098 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Media Mojo App running on browser process can't create IO thread without setting SetIOAllowed(true)

Project Member Reported by erickung@chromium.org, Jun 10 2016

Issue description

What steps will reproduce the problem?
(1) Running mojo media application from browser process
(2) Create its own IO thread for IO work

What is the expected output?
Be able to use IO thread to run its own mojo media app, start/stop

What do you see instead?
Because the original thread is not IO, it will hit asserts on ThreadRestrictions::AssertIOAllowed() when the IO thread stops.
Set mojo app to use its own thread and create IO thread later on has same assert.

I need to set the thread that running mojo_media_application to SetIOAllowed(true)
Not sure if this is by design
 

Comment 1 by alokp@chromium.org, Jun 10 2016

Cc: roc...@chromium.org
Status: Available (was: Untriaged)
Do you have a link to the patch that demonstrates this behavior?
Components: Internals>Mojo

Comment 3 by roc...@chromium.org, May 29 2017

Components: -Internals>Mojo
Not a Mojo bug, removing component. Also not sure if this is even really a bug or WAI.
Owner: erickung@chromium.org
Status: Assigned (was: Available)
It isn't clear what component this is supposed to goto. Assigning to reporter to clarify issue and set component appropriately.
Cc: -roc...@chromium.org rockot@google.com

Sign in to add a comment