Closed
Bug 1277037
Opened 9 years ago
Closed 9 years ago
MOZ_CRASH: Could not start cubeb stream for MSG.
Categories
(Core :: WebRTC: Audio/Video, defect, P1)
Core
WebRTC: Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla53
People
(Reporter: rillian, Assigned: rillian)
References
Details
Attachments
(1 file)
Crash reporter shows a few failures of AudioCallbackDriver::StartStream(). This is only called from the fallible AsyncCubebTask::Run(), so plumbing through a error return seems reasonable.
Assignee | ||
Comment 1•9 years ago
|
||
Avoid crashing in the case that cubeb stream start fails and report
an error instead.
Review commit: https://reviewboard.mozilla.org/r/56660/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/56660/
Attachment #8758435 -
Flags: review?(rjesup)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → giles
Updated•9 years ago
|
Attachment #8758435 -
Flags: review?(rjesup) → review+
Comment 2•9 years ago
|
||
Comment on attachment 8758435 [details]
Bug 1277037 - Make AudioCallbackDriver::StartStream fallible.
https://reviewboard.mozilla.org/r/56660/#review53506
Ok, though I wish I knew which HW/drivers were crashing (can you add a search link to the bug for the reports?, though I doubt they tell us much)
Assignee | ||
Comment 3•9 years ago
|
||
Sorry, a crash report example is https://crash-stats.mozilla.com/report/index/cfffb88d-f60d-41c8-812f-d23302160601 found from the general MOZ_CRASH search from the dev-platform thread. i.e. https://is.gd/9eqQB3
As you might expect the stack trace isn't enlightening. I don't see a way to get audio driver info in the crash reports; it has been off-and-on since firefox 36 at least, and off again since 47.
Try push wasn't green. Investigating whether the timeouts are caused by this patch somehow.
Updated•9 years ago
|
Rank: 15
Priority: -- → P1
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•9 years ago
|
||
mozreview-review |
Comment on attachment 8758435 [details]
Bug 1277037 - Make AudioCallbackDriver::StartStream fallible.
https://reviewboard.mozilla.org/r/56660/#review104668
::: dom/media/GraphDriver.cpp:648
(Diff revision 3)
> if (latencyPref) {
> latency_frames = latencyPref.value();
> } else {
> if (cubeb_get_min_latency(cubebContext, output, &latency_frames) != CUBEB_OK) {
> NS_WARNING("Could not get minimal latency from cubeb.");
> - return;
> + return false;
Oops, looks like I forgot to land this. I still see crashes with FF 50 and 52, so rebased on top of subsequent changes and added another failure return here.
Pushed by rgiles@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/150548e72f33
Make AudioCallbackDriver::StartStream fallible. r=jesup
Comment 8•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•