Do not ref-count MediaEventForwarder
Categories
(Core :: WebRTC, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: pehrsons, Assigned: pehrsons)
Details
Attachments
(1 file)
Because of some issue detected by TSan, ref-counting was added to MediaEventForwarder in bug 1654112 (where in a separate patch, MediaEventForwarder was also added to the tree).
MediaEventForwarder should, like its MediaEventSource peers not be ref-counted. This bug is for trying to find another solution.
Assignee | ||
Comment 1•2 years ago
|
||
Michael, you don't happen to remember what the tsan issue was in some more detail do you?
Assignee | ||
Comment 2•2 years ago
|
||
I wonder if the root issue here could have been fixed by bug 1727262. But there was no mutex in MediaEventSource.h prior to that fix so the question remains as to which mutex we ran into problems with.
Assignee | ||
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
(In reply to Andreas Pehrson [:pehrsons] from comment #1)
Michael, you don't happen to remember what the tsan issue was in some more detail do you?
I do not remember that off the top of my head.
Comment 5•2 years ago
|
||
Now having gone back and looked at code, I believe you could be correct on Bug 1727262. If I remember, this was probably a shutdown race. I should have made more notes in the commit log.
Have we seen tsan runs for this change (basically reverting c34ea4d71235)?
Pushed by pehrsons@gmail.com: https://hg.mozilla.org/integration/autoland/rev/8492028369c3 Do not ref-count MediaEventForwarder. r=mjf
Comment 8•2 years ago
|
||
bugherder |
Description
•