WPT leaks in /encrypted-media/
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
People
(Reporter: mccr8, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: memory-leak, Whiteboard: [MemShrink:P2])
Updated•6 years ago
|
Updated•6 years ago
|
Reporter | ||
Comment 1•6 years ago
|
||
I started looking at this. I added logging to the ctor and dtor of SamplesWaitingForKey to figure out which is the 100 tests from this directory are leaking them.
The three tests that leak them are:
./mach wpt encrypted-media/clearkey-mp4-reset-src-after-setmediakeys.https.html
./mach wpt encrypted-media/clearkey-mp4-setmediakeys-again-after-playback.https.html
./mach wpt encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys.https.html
I think there's a second kind of leak, but this is at least some place to start.
Reporter | ||
Comment 2•6 years ago
|
||
With bug 1523013, there's still a leak of a nsSocketTransport and some other networking stuff in the main process, but I'm hoping that's a separate issue, rather than a flaw with my patch for bug 1523013.
Reporter | ||
Comment 3•6 years ago
|
||
I could likely trim down the lsan-allowed list for this directory now, but these tests are disabled entirely in ASan at the moment, so I don't think it is worth the effort right now.
Updated•2 years ago
|
Description
•