Closed Bug 1851271 Opened 9 months ago Closed 8 months ago

Ensure the omnijar is shut down in the fork server to prevent memory leaks

Categories

(Core :: IPC, defect)

defect

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox117 --- unaffected
firefox118 --- disabled
firefox119 --- fixed

People

(Reporter: jld, Assigned: jld)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

I just tried pushing to Try with the fork server enabled, and there are a lot of errors like this:

TEST-UNEXPECTED-FAIL | leakcheck | forkserver 5168 bytes leaked (Mutex, nsLocalFile, nsStringBuffer, nsZipArchive, nsZipHandle)

I haven't investigated yet but I'm pretty sure this is from the Omnijar preloading in bug 1840515 — the fork server calls Omnijar::Init, and its child processes might call Omnijar::CleanUp but the fork server itself never does (I'm pretty sure). This is probably a one-line fix.

Set release status flags based on info from the regressing bug 1840515

Is that something we should fix for 118 or should it ride the trains?

Flags: needinfo?(jld)

(In reply to Pascal Chevrel:pascalc (PTO until August 21) from comment #2)

Is that something we should fix for 118 or should it ride the trains?

This is about code that's preffed off (and has other known issues), so it won't need uplift.

Flags: needinfo?(jld)
Type: enhancement → defect
Pushed by jedavis@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d8189cb3ba1a
Avoid leaking the omnijar in the fork server. r=nika
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: