Closed Bug 1290625 Opened 8 years ago Closed 8 years ago

Assertion failed: (r == 0 && "Deadlock") on OSX when getting microphone with getUserMedia

Categories

(Core :: Audio/Video: cubeb, defect)

Unspecified
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox47 --- unaffected
firefox48 --- unaffected
firefox49 --- unaffected
firefox50 --- fixed

People

(Reporter: jib, Assigned: jib)

References

Details

(Keywords: regression)

Attachments

(1 file)

The landing of bug 1290425 apparently causes a deadlock (or at least a deadlock assert) on OSX: Assertion failed: (r == 0 && "Deadlock"), function enter, file /Users/Jan/moz/mozilla-inbound/media/libcubeb/src/cubeb_utils_unix.h, line 58. This happens from this call: https://dxr.mozilla.org/mozilla-central/rev/2ea3d51ba1bb9f5c3b6921c43ea63f70b4fdf5d2/dom/media/GraphDriver.cpp#1057
Attachment #8776205 - Flags: review?(achronop) → review+
Comment on attachment 8776205 [details] Bug 1290625 - Make libcubeb mutex recurse again, to avoid deadlock when getting microphone. https://reviewboard.mozilla.org/r/68114/#review65226 Looks good thanks!
Pushed by jbruaroey@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f60ec9e34d4d Make libcubeb mutex recurse again, to avoid deadlock when getting microphone. r=achronop
sorry had to back this out from autoland since this caused a merge conflict with m-c in warning: conflicts while merging media/libcubeb/src/cubeb_utils_unix.h! (edit, then use 'hg resolve --mark')
Flags: needinfo?(jib)
Backout by cbook@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2ba03ba34ece Backed out changeset f60ec9e34d4d for causing merge conflict with m-c
I'm confused, can we not autoland follow-on patches built on mozilla-inbound locally before code we're fixing has merged to m-c? This patch was supposed to go on top of Bug 1290425 comment 5, on inbound at that time (which I see it only merged to m-c this morning at 10am). This patch was supposed to be a one-liner, instead I see it pushed the whole file (comment 3). Does autoland have its own staging server now separate from inbound? At this point I can just rebease and re-push?
Flags: needinfo?(jib) → needinfo?(cbook)
Comment on attachment 8776205 [details] Bug 1290625 - Make libcubeb mutex recurse again, to avoid deadlock when getting microphone. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/68114/diff/1-2/
Pushed by jbruaroey@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c761bfb5fd83 Make libcubeb mutex recurse again, to avoid deadlock when getting microphone. r=achronop
Flags: needinfo?(cbook)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: