Non-realtime MediaTrackGraphImpl (OfflineAudioContext) will leak until shutdown due to document-title-changed observer
Categories
(Core :: Audio/Video: MediaStreamGraph, defect)
Tracking
()
People
(Reporter: pehrsons, Assigned: karlt)
References
(Regression)
Details
(Keywords: memory-leak, regression)
Attachments
(1 external file)
The graph adds this observer when adding its first track. The observer is removed when the last track is removed from the graph, iff it's a realtime graph.
This behavior can be observed by gtests in TestAudioInputProcessing.cpp where the graph is not marked as real-time. E.g:
MOZ_LOG=MediaTrackGraph:5,ObserverService:5 GTEST_REPEAT=2 ./mach gtest '*TestAudioInputP*SetSinkId'
Comment 1•1 year ago
|
||
:karlt, since you are the author of the regressor, bug 1860954, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Comment 2•1 year ago
|
||
Set release status flags based on info from the regressing bug 1860954
Updated•1 year ago
|
| Assignee | ||
Updated•10 months ago
|
| Assignee | ||
Updated•10 months ago
|
| Assignee | ||
Comment 3•10 months ago
|
||
Comment 5•10 months ago
|
||
| bugherder | ||
Comment 6•10 months ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
Comment 7•10 months ago
|
||
The patch landed in nightly and beta is affected.
:karlt, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox148towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 8•10 months ago
|
||
The regression has been around for a while, only affects a small number of sites, and the defect is unlikely to break the site.
Updated•9 months ago
|
Description
•