Closed Bug 1138072 Opened 9 years ago Closed 9 years ago

Media cache read can block indefinitely if a younger stream with the same resource id is closed but not removed

Categories

(Core :: Audio/Video, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: bholley, Assigned: bholley)

References

Details

Attachments

(1 file)

This was the source of that pesky 10.6-only test_clone_media_element.html hang that's been blocking bug 1135785 from landing.

Try confirms the fix: https://treeherder.mozilla.org/#/jobs?repo=try&revision=7fd09a1d9acb

Given the raciness involved, the patch is quite simple and understandable. Uploading and flagging for review.
Other streams in the list bail out of the servicing loop if they're closed, so
we can wait indefinitely.
Attachment #8570929 - Flags: review?(roc)
https://hg.mozilla.org/mozilla-central/rev/264f97c43552
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: