Closed
Bug 476176
Opened 15 years ago
Closed 15 years ago
###!!! ASSERTION: Potential deadlock between media.decoderMonitor@2aaabc33eb40 and Lock@2aaabcf2a300: 'Error', file nsAutoLock.cpp, line 318
Categories
(Core :: Audio/Video, defect, P2)
Tracking
()
RESOLVED
FIXED
People
(Reporter: smaug, Assigned: roc)
Details
(Keywords: fixed1.9.1)
Attachments
(2 files)
828 bytes,
text/plain
|
Details | |
3.59 KB,
patch
|
cajbir
:
review+
|
Details | Diff | Splinter Review |
I get that assertion few times when running mochitest. The assertion is something quite new.
Comment 1•15 years ago
|
||
I hit this while fuzz-testing or something.
Assignee | ||
Updated•15 years ago
|
Flags: blocking1.9.1+
Priority: -- → P2
Assignee | ||
Comment 2•15 years ago
|
||
This particular stack will be fixed by my patch in bug 455654. But it seems that across the board we should never be holding both locks at the same time.
Comment 3•15 years ago
|
||
With bug 455654, I hit this when a video resumes after a stall in sending data... http://dolske.net/mozilla/tests/video/slowsend.php?rate=100&stallat=1000000&stallfor=15 This plays for a few seconds, pauses for ~15 seconds, and when it starts getting data again I get a few of these asserts. But it seems to keep working.
Assignee | ||
Comment 4•15 years ago
|
||
This fixes at least one set of these assertions. We shouldn't call Available() on the stream while holding the decoder lock; we're actually trying to never hold the stream lock at the same time as the decoder lock. We can avoid calling Available altogether by using mDownloadPosition instead, which is protected by the decoder lock.
Assignee: nobody → roc
Attachment #361235 -
Flags: review?(chris.double)
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs review]
Updated•15 years ago
|
Attachment #361235 -
Flags: review?(chris.double) → review+
Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs review] → [needs landing]
Assignee | ||
Comment 5•15 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/784122b49e33 I'm marking this fixed since we fixed a real bug here. If we hit this assertion again, please file a new bug.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [needs landing] → [needs 191 landing]
Assignee | ||
Comment 6•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/5201bf6ecd27
Keywords: fixed1.9.1
Whiteboard: [needs 191 landing]
You need to log in
before you can comment on or make changes to this bug.
Description
•