Closed
Bug 1248543
Opened 8 years ago
Closed 8 years ago
Need to release decoder resources for dom/media/test/crashtests
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
Details
Attachments
(1 file)
Run |./mach crashtest dom/media/test/crashtests/ --run-until-failure --repeat 10000| and soon you will see the following error messages: [26928] WARNING: AudioStream::OpenCubeb() 7f631b9fad40 failed to init cubeb [26928] WARNING: Decoder=7f6301aef400 Decode error, changed state to ERROR This is because too many cubeb streams are opened and not released when tests finish. 495794-1.html times out because of failing to open a cubeb stream to start playback. This is also responsible for the OOM in bug 1242774 comment 27.
Assignee | ||
Comment 1•8 years ago
|
||
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=9f97d06da2e0
Assignee | ||
Comment 2•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/35095/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/35095/
Attachment #8719762 -
Flags: review?(kinetik)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jwwang
Comment 3•8 years ago
|
||
Comment on attachment 8719762 [details] MozReview Request: Bug 1248543 - release decoder resources when finishing tests to avoid OOM and failing to open cubeb streams. r=kinetik. https://reviewboard.mozilla.org/r/35095/#review31787 Please add a comment explaining what resetting src does, so anyone creating or copying a test keeps that behaviour, and to make it easier to clean up the tests once we have better audio stream resource management.
Attachment #8719762 -
Flags: review?(kinetik) → review+
Assignee | ||
Comment 4•8 years ago
|
||
Thanks for the review! I will add comments to explain the purpose of resetting 'src'.
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0d9af8eaf17f
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•