Closed
Bug 979928
Opened 11 years ago
Closed 3 years ago
[meta] WebRTC leaks detected by Leak Sanitizer
Categories
(Core :: WebRTC, defect)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
People
(Reporter: mccr8, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: memory-leak, meta, Whiteboard: [lsan])
Attachments
(2 files)
I'd say about 95% of the leaks that LSAN finds on crash tests are from WebRTC. It would be good to investigate some of that.
To do an LSAN run, make an ASAN build, then run with ASAN_OPTIONS="detect_leaks=1".
Note that there are some existing known leaks in an LSAN suppression file:
https://code.google.com/p/webrtc/source/browse/trunk/tools/lsan/suppressions.txt
The log that was produced from crash tests is:
https://bug976414.bugzilla.mozilla.org/attachment.cgi?id=8386177
Comment 1•11 years ago
|
||
Major leak is of VoiceEngineImpls due to missing Release() calls in MediaEngineWebRTC.
Fixing those locally has exposed that we don't reliably release MediaEngineWebRTCAudioSource objects (sometimes yes, sometimes no).
Losing the VoiceEngineImpl has a huge cascade effect
Opt builds may expose an issue with a race condition in shutdown; not verified yet (pure virtual crash dereferencing clock_)
Assignee: nobody → rjesup
Keywords: mlk
Updated•11 years ago
|
Whiteboard: [lsan][MemShrink] → [lsan]
Reporter | ||
Updated•10 years ago
|
Summary: Do something about WebRTC leaks detected by Leak Sanitizer → WebRTC leaks detected by Leak Sanitizer
Reporter | ||
Comment 2•10 years ago
|
||
Reporter | ||
Comment 3•10 years ago
|
||
Updated•9 years ago
|
Keywords: meta
Summary: WebRTC leaks detected by Leak Sanitizer → [meta] WebRTC leaks detected by Leak Sanitizer
Updated•4 years ago
|
Assignee: rjesup → nobody
Comment 4•3 years ago
|
||
not used anymore, closing
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•