Closed
Bug 1072775
Opened 10 years ago
Closed 10 years ago
Improve thread-safety assertions for MediaStreamGraph/GraphDriver
Categories
(Core :: WebRTC: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla35
Tracking | Status | |
---|---|---|
firefox32 | --- | unaffected |
firefox33 | --- | unaffected |
firefox34 | --- | fixed |
firefox35 | --- | fixed |
b2g-v2.1 | --- | fixed |
b2g-v2.2 | --- | fixed |
People
(Reporter: jesup, Assigned: jesup)
References
Details
Attachments
(1 file, 1 obsolete file)
9.49 KB,
patch
|
roc
:
review+
lmandel
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
MSG has a lot of requirements about data access and states, but these are largely un-asserted. Adding explicit assertions for all the major cases would greatly speed modifications to MSG by catching things before they become racy-hard-to-debug-oranges.
This is likely to be an on-going effort.
Assignee | ||
Comment 1•10 years ago
|
||
WIP
Assignee | ||
Comment 2•10 years ago
|
||
Added OfflineClock shutdown fixes
Assignee | ||
Updated•10 years ago
|
Attachment #8495043 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Attachment #8495056 -
Flags: review?(roc)
Attachment #8495056 -
Flags: review?(roc) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Target Milestone: --- → mozilla35
Comment 4•10 years ago
|
||
Backed out:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0c8faa128dff
for fatal assertion failures in Linux64 tests like:
Assertion failure: lock->locked && pthread_equal(lock->owner, pthread_self()), at /builds/slave/m-in-l64-d-0000000000000000000/build/nsprpub/pr/src/pthreads/ptsynch.c:226
e.g.
https://tbpl.mozilla.org/php/getParsedLog.php?id=49067104&tree=Mozilla-Inbound
Assignee | ||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/32eacf8f2efe
https://hg.mozilla.org/mozilla-central/rev/509e62e4bc1a
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8495056 [details] [diff] [review]
Additional assertions for MediaStreamGraph/GraphDriver
This needs to land with bug 1072780; see also the duplicate aurora request there: (pasted here)
Approval Request Comment
[Feature/regressing bug #]: bug 848954
[User impact if declined]: crashes, test oranges, possible sec issues
[Describe test coverage new/current, TBPL]: some known oranges are likely due to this. Adds considerable thread-safety assertions, which caught a bug immediately on landing (which someone had been working and had a fix for, but took them far longer to find after it caused an odd crash)
[Risks and why]: fairly low. Cleans up locking around a number of pointers; of course in theory it may have missed something, but it added asserts about safety/locking. Main risk would be missing a case where the assert is too draconian (had one of those on the initial landing) and causing an intermittent orange.
[String/UUID change made/needed]: none.
Attachment #8495056 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 8•10 years ago
|
||
Note: should land with the regression patch in bug 1074048
Updated•10 years ago
|
status-firefox32:
--- → unaffected
status-firefox33:
--- → unaffected
status-firefox34:
--- → affected
status-firefox35:
--- → fixed
Comment 9•10 years ago
|
||
Comment on attachment 8495056 [details] [diff] [review]
Additional assertions for MediaStreamGraph/GraphDriver
Aurora+
Attachment #8495056 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 10•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•