Closed Bug 758583 Opened 12 years ago Closed 12 years ago

"ERROR: Potential deadlock detected" with mozCaptureStreamUntilEnded

Categories

(Core :: Audio/Video, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: jruderman, Assigned: roc)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

1. Save the testcase.
2. Fix the path to point at your tree.
3. Load [your copy of the testcase] in a debug build of Firefox.
4. Quit Firefox with Cmd+Q.

Result: Deadlock assertions.


###!!! ERROR: Potential deadlock detected:
$ @@@ ###!!! ERROR: Potential deadlock detected:
=== Cyclical dependency starts at
--- Mutex : mozilla::media::SourceMediaStream calling context
stacks_disabled+0[stacks_disabled +0x0]

--- Next dependency:
--- Mutex : MediaStreamGraphImpl (currently acquired)
 calling context
stacks_disabled+0[stacks_disabled +0x0]

=== Cycle completed at
--- Mutex : mozilla::media::SourceMediaStream calling context
stacks_disabled+0[stacks_disabled +0x0]

Deadlock may happen for some other execution

###!!! ASSERTION: Potential deadlock detected:
$ @@@ ###!!! ASSERTION: Potential deadlock detected:
Cyclical dependency starts at
Mutex : mozilla::media::SourceMediaStream
Next dependency:
Mutex : MediaStreamGraphImpl (currently acquired)
Cycle completed at
Mutex : mozilla::media::SourceMediaStream
Deadlock may happen for some other execution

: 'Error', file BlockingResourceBase.cpp, line 128
Attached patch fixSplinter Review
Not sure how to test this since it requires shutting down Firefox...
Assignee: nobody → roc
Attachment #627840 - Flags: review?(rjesup)
Attachment #627840 - Flags: review?(rjesup) → review+
https://hg.mozilla.org/mozilla-central/rev/cfd001299d34
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: