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)

defect

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: posidron, Assigned: ehugg)

References

Details

(Keywords: assertion, testcase, Whiteboard: [qa-])

Attachments

(3 files, 1 obsolete file)

Attached file testcase (obsolete) —
Load the testcase in the Browser. Tested with m-i changeset: 122171:5e137a87e84f
Attached file testcase
Whoops. That was the wrong testcase. This one is correct.
Attachment #715174 - Attachment is obsolete: true
Flags: in-testsuite?
Attached file Stacktrace from Linux
bt from gdb on Linux64 with M-I rev listed above. Latest M-C didn't do this.
Assignee: nobody → ethanhugg
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 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+
>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?
OS: Mac OS X → All
Priority: -- → P1
Hardware: x86_64 → All
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: