Closed
Bug 1478679
Opened 7 years ago
Closed 7 years ago
Memory leak in LCovRealm/LCovCompartment
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla63
People
(Reporter: ptomato, Assigned: ptomato)
Details
Attachments
(2 files)
1.04 KB,
patch
|
nbp
:
review+
apavel
:
checkin-
|
Details | Diff | Splinter Review |
1.31 KB,
patch
|
nbp
:
review+
RyanVM
:
approval-mozilla-esr60+
|
Details | Diff | Splinter Review |
There's a placement-new without a corresponding destructor call in LCovRealm (LCovCompartment in the esr60 branch) which ASAN and Valgrind complain about if you call js::GetCodeCoverageSummary().
I'll attach a patch, as well as a proposal to backport to esr60.
Assignee | ||
Comment 1•7 years ago
|
||
Patch for trunk
Attachment #8995222 -
Flags: review?(nicolas.b.pierron)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → philip.chimento
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•7 years ago
|
||
ESR60 version of patch
Attachment #8995228 -
Flags: review?(nicolas.b.pierron)
Updated•7 years ago
|
Attachment #8995228 -
Flags: review?(nicolas.b.pierron) → review+
Updated•7 years ago
|
Attachment #8995222 -
Flags: review?(nicolas.b.pierron) → review+
Assignee | ||
Updated•7 years ago
|
Attachment #8995222 -
Flags: checkin?
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/50c5b8fb4e75
Fix memory leak in LCovRealm. r=nbp
Keywords: checkin-needed
Assignee | ||
Comment 4•7 years ago
|
||
Comment on attachment 8995228 [details] [diff] [review]
Fix memory leak in LCovCompartment (ESR60 version)
[Approval Request Comment]
If this is not a sec:{high,crit} bug, please state case for ESR consideration: It's a memory leak.
User impact if declined: Using this API will continue to leak memory (it was a regression somewhere in between 52 and 60.) Although the API is not used in Firefox proper; it's more likely that memory is leaking in Firefox's dev tools.
Fix Landed on Version: 63
Risk to taking this patch (and alternatives if risky): Low risk, the fix is not invasive.
String or UUID changes made by this patch: None
See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Attachment #8995228 -
Flags: approval-mozilla-esr60?
Assignee | ||
Comment 5•7 years ago
|
||
Note that on ESR60 with GCC 8.1.0, strangely only with this patch, I run into the GCC crash reported on bug 1458382. So I'll request uplift for that patch as well.
Comment 6•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Updated•7 years ago
|
Attachment #8995222 -
Flags: checkin? → checkin-
Comment 7•7 years ago
|
||
Comment on attachment 8995228 [details] [diff] [review]
Fix memory leak in LCovCompartment (ESR60 version)
Fixes a memory leak in Spidermonkey 60. Approved for ESR 60.2.
Attachment #8995228 -
Flags: approval-mozilla-esr60? → approval-mozilla-esr60+
Comment 8•7 years ago
|
||
bugherder uplift |
status-firefox-esr60:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•