Closed Bug 1914602 Opened 3 months ago Closed 3 months ago

Stop preloading Mozilla DLLs for WMF software encoding in content process

Categories

(External Software Affecting Firefox :: Other, defect)

defect

Tracking

(firefox-esr115 unaffected, firefox-esr128 unaffected, firefox129 unaffected, firefox130+ fixed, firefox131 fixed)

RESOLVED FIXED
131 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox129 --- unaffected
firefox130 + fixed
firefox131 --- fixed

People

(Reporter: yannis, Assigned: yannis)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

We currently preload these DLLs in all content processes, which presumably has some performance impact. We did this in bug 1910861 to mitigate the crashes with ESET from bug 1905690 - but ESET has since then pushed new changes that perhaps will fix the crashes. If not, we want to mitigate the crashes in another way that does not involve preloading the DLLs in all content processes.

We currently preload these DLLs in all content processes, which
presumably has some performance impact. We did this in bug 1910861 to
mitigate the crashes with ESET from bug 1905690 - but ESET has since
then pushed new changes that perhaps will fix the crashes. If not, we
want to mitigate the crashes in another way that does not involve
preloading the DLLs in all content processes.

Assignee: nobody → yjuglaret
Status: NEW → ASSIGNED
Attachment #9420520 - Attachment description: Bug 1914602 - Only preload Mozilla DLLs for WMF software encoding in content process when sandbox requires it. r=bobowen → Bug 1914602 - Stop preloading Mozilla DLLs for WMF software encoding in content process. r=bobowen

As explained by :bobowen in the code review, we already allow access to the bin directory so we can actually just completely stop preloading.

Summary: Only preload Mozilla DLLs for WMF software encoding in content process when sandbox requires it → Stop preloading Mozilla DLLs for WMF software encoding in content process

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

Pushed by yjuglaret@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/15521da2b145 Stop preloading Mozilla DLLs for WMF software encoding in content process. r=bobowen

From https://bugzilla.mozilla.org/show_bug.cgi?id=1905690#c31 it sounds like you may want to request uplift to beta, but the last beta build for 130 is happening today. So if this is something you think should be in 130 beta/release, please talk with :ryanvm. It may be something to keep an eye on for the RC build or a dot release later.

Flags: needinfo?(yjuglaret)

We currently preload these DLLs in all content processes, which
presumably has some performance impact. We did this in bug 1910861 to
mitigate the crashes with ESET from bug 1905690 - but ESET has since
then pushed new changes that perhaps will fix the crashes. If not, we
want to mitigate the crashes in another way that does not involve
preloading the DLLs in all content processes. Preloading is not required
even with sandbox level 8, because we already allow access to the bin
dir anyway.

Original Revision: https://phabricator.services.mozilla.com/D219961

Attachment #9420592 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: Potential performance impact at each content process startup
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: -
  • Risk associated with taking this patch: Low
  • Explanation of risk level: The patch restores the behavior found in versions 129 and below.
  • String changes made/needed: No
  • Is Android affected?: no

Thanks :lizzard, I'll see with :RyanVM.

Flags: needinfo?(yjuglaret)
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
Attachment #9420592 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: