Closed
Bug 842332
Opened 13 years ago
Closed 13 years ago
WebRTC Assertion failure: PR_FALSE == lock->locked, at nsprpub/pr/src/pthreads/ptsynch.c:158
Categories
(Core :: WebRTC, defect, P1)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: posidron, Assigned: ehugg)
References
Details
(Keywords: assertion, testcase, Whiteboard: [qa-])
Attachments
(3 files, 1 obsolete file)
Load the testcase in the Browser.
Tested with m-i changeset: 122171:5e137a87e84f
Reporter | ||
Comment 1•13 years ago
|
||
Whoops. That was the wrong testcase. This one is correct.
Reporter | ||
Updated•13 years ago
|
Attachment #715174 -
Attachment is obsolete: true
Updated•13 years ago
|
Flags: in-testsuite?
Assignee | ||
Comment 2•13 years ago
|
||
bt from gdb on Linux64 with M-I rev listed above. Latest M-C didn't do this.
Assignee | ||
Comment 3•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → ethanhugg
Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 715251 [details] [diff] [review]
Fix 842332 Fix missing unlock in PeerConnectionMedia
This appears to fix it on my build, ran the testcase for a couple times for several minutes each.
Attachment #715251 -
Flags: review?(ekr)
Comment 5•13 years ago
|
||
Comment on attachment 715251 [details] [diff] [review]
Fix 842332 Fix missing unlock in PeerConnectionMedia
Review of attachment 715251 [details] [diff] [review]:
-----------------------------------------------------------------
r+
Why are we using PR_Lock directly and not Mutexes and MutexAutoLocks? They make it much harder to make this mistake.
Attachment #715251 -
Flags: review?(ekr) → review+
Assignee | ||
Comment 6•13 years ago
|
||
Comment on attachment 715251 [details] [diff] [review]
Fix 842332 Fix missing unlock in PeerConnectionMedia
http://hg.mozilla.org/integration/mozilla-inbound/rev/ea99e1b1d574
Assignee | ||
Comment 7•13 years ago
|
||
>Why are we using PR_Lock directly and not Mutexes and MutexAutoLocks? They make it >much harder to make this mistake.
This code probably predates the availability of those. I did a grep of PR_Lock and it only appears here and in Wrapper.h. Should I file a new bug to change these to MutexAutoLock?
Assignee | ||
Updated•13 years ago
|
OS: Mac OS X → All
Priority: -- → P1
Hardware: x86_64 → All
Comment 8•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Updated•13 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•