Clean up locking in MediaTrackGraph
Categories
(Core :: Audio/Video: MediaStreamGraph, defect)
Tracking
()
People
(Reporter: jesup, Assigned: jesup)
References
(Blocks 1 open bug)
Details
(Keywords: csectype-race, sec-moderate, Whiteboard: [post-critsmash-triage][adv-main97+r])
Attachments
(1 file)
MediaTrackGraph doesn't take locks when accessing some members for debug messages or assertions. Not an issue in the field normally, but good to clean up and lets us do static analysis of locking
Also, one member is accessed for deciding an early return without locking.
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
![]() |
||
Comment 2•3 years ago
|
||
Landed: https://hg.mozilla.org/integration/autoland/rev/68d37cc2dbf3b411bef44d8eaf5a2cb3bc2772d5
Backed out for build bustage in MediaTrackGraph.h:
https://hg.mozilla.org/integration/autoland/rev/94b76fa487b3c0db8ac6aa2048f70b39de7e1c32
Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&selectedTaskRun=To06SJmcT6mdC5f3cuoZEQ.0&resultStatus=retry%2Ctestfailed%2Cbusted%2Cexception%2Cusercancel&revision=68d37cc2dbf3b411bef44d8eaf5a2cb3bc2772d5
Failure log: https://treeherder.mozilla.org/logviewer?job_id=362893778&repo=autoland
[task 2022-01-03T15:16:59.519Z] 15:16:59 ERROR - /builds/worker/workspace/obj-build/dist/include/MediaTrackGraph.h:704:20: error: expected ';' at end of declaration list
[task 2022-01-03T15:16:59.519Z] 15:16:59 INFO - Mutex& GetMutex() RETURN_CAPABILITY(mMutex) { return mMutex; }
[task 2022-01-03T15:16:59.519Z] 15:16:59 INFO - ^
[task 2022-01-03T15:16:59.520Z] 15:16:59 INFO - ;
Updated•3 years ago
|
![]() |
||
Comment 3•3 years ago
|
||
MediaTrackGraph cleanup r=padenot
https://hg.mozilla.org/integration/autoland/rev/669d85b972c357746e9c2d2a04a3e9b6359b753e
https://hg.mozilla.org/mozilla-central/rev/669d85b972c3
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Description
•