MediaSource causes shutdown hang ("Media State" thread)

RESOLVED FIXED in mozilla35

Status

()

Core
Audio/Video
--
critical
RESOLVED FIXED
4 years ago
3 years ago

People

(Reporter: Jesse Ruderman, Assigned: kinetik)

Tracking

(Blocks: 2 bugs, {hang, testcase})

Trunk
mozilla35
x86_64
Mac OS X
hang, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

4 years ago
Created attachment 822783 [details]
testcase

With:
  user_pref("media.mediasource.enabled", true);

this testcase causes a shutdown hang with 100% CPU use.

Looking at the sample, I guess the "Media State" thread can never shut down because there are always more events for it?
(Reporter)

Comment 1

4 years ago
Created attachment 822784 [details]
hang sample

I used Activity Monitor to get a sample of Firefox Nightly during the hang.
(Reporter)

Updated

4 years ago
Summary: MediaSource causes shutdown hang → MediaSource causes shutdown hang ("Media State" thread)
(Reporter)

Comment 2

4 years ago
The testcase in bug 975782 is a superset of this testcase.
(Assignee)

Updated

4 years ago
Blocks: 778617
(Reporter)

Updated

3 years ago
Blocks: 1059045
(Assignee)

Comment 3

3 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/e3bf97aef43d
(Assignee)

Comment 4

3 years ago
No longer hangs.  Unsure which bug fixed this as there have been many changes since the bug was filed.  Added the testcase to crashtests to catch future occurrences.
Assignee: nobody → kinetik
Status: NEW → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/e3bf97aef43d
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.