[Bug 1930700] Re: Firefox 89 won't load pages due to many fonts
Launchpad has imported 13 comments from the remote bug at https://bugzilla.mozilla.org/show_bug.cgi?id=1694174. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2021-02-22T15:49:49+00:00 Jfkthame wrote: Currently gfx.e10s.font-list.shared is enabled by default on Nightly/early Beta, but disabled for release. To reduce content-process memory footprint and startup time, we should get this enabled all the way to the Release channel. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/comments/0 On 2021-02-24T20:29:38+00:00 Cpeterson-3 wrote: How much memory does the shared font-list save per content process? Since Fission will have launch many more content processes than e10s, the shared font-list might be nice to have for Fission MVP. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/comments/1 On 2021-03-01T20:08:21+00:00 Cpeterson-3 wrote: @ Jonathan, SearchAllFontsForChar crash bug 1667977 and src:local() bug 1694123 are blocking this bug. I see you already have a patch up to fix bug 1694123. Does bug 1667977 also need to be fixed before we can let the shared font-list ride the trains to late Beta and Release? Fission's current perf measurements are all from Nightly, so already include any perf and memory benefits from the shared font-list. Tracking for Fission M7 Beta milestone because we'd like to have the shared font- list in late Beta and when we ship to Release. kmag estimates the shared font-list might save about 500 KB in each content process. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/comments/2 On 2021-03-02T09:13:58+00:00 Jfkthame wrote: Bug 1667977 currently means that on Windows there's a possibility of content processes crashing if the user installs/removes a bunch of fonts while the browser is running (so we get a flurry of notifications that trigger repeated, overlapping updates to our font list). This is probably not a common situation -- most users aren't installing and removing fonts frequently in the midst of a browser session -- but still, I'd be reluctant to ship something that is known to be crashy in such a scenario. So I'd definitely prefer to have bug 1667977 fixed before it rides to Release. I've been attempting to debug but it's proving difficult to track down the root cause at the moment. (Not having a tool equivalent to rr or pernosco on Windows hurts...) I'll try to spend some more time digging into it this week. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/comments/3 On 2021-03-10T18:28:55+00:00 Cpeterson-3 wrote: (In reply to Jonathan Kew (:jfkthame) from comment #3) > So I'd definitely prefer to have bug 1667977 fixed before it rides to > Release. I've been attempting to debug but it's proving difficult to track > down the root cause at the moment. (Not having a tool equivalent to rr or > pernosco on Windows hurts...) I'll try to spend some more time digging into > it this week. A fix for SearchAllFontsForChar crash bug 1667977 probably won't be ready for 88 Beta, so I will move this bug from Fission milestone M7 to M8. btw, the reporter of bug 1667977 says the crash is also reproducible on Linux, so you may be able to catch the crash in rr on Linux. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/comments/4 On 2021-04-10T11:18:58+00:00 Jfkthame wrote: This has been enabled on Nightly since 82, and also early Beta since 83. Now that a fix for bug 1667977 has landed, I think we should remove the early-beta condition and let this go all the way to release. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/comments/5 On 2021-04-10T11:20:16+00:00 Jfkthame wrote: Created attachment 9214874 Bug 1694174 - Pref-on the shared font-list by default for all channels. r=#layout-reviewers Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/comments/6 On 2021-04-10T22:06:18+00:00 Pulsebot wrote: Pushed by j...@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/622e8fe7e539 Pref-on the shared font-list by default for all channels. r=emilio Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/comments/7
[Bug 1930700] Re: Firefox 89 won't load pages due to many fonts
** Bug watch added: Mozilla Bugzilla #1694174 https://bugzilla.mozilla.org/show_bug.cgi?id=1694174 ** Also affects: firefox via https://bugzilla.mozilla.org/show_bug.cgi?id=1694174 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930700 Title: Firefox 89 won't load pages due to many fonts To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1930700/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1930700] Re: Firefox 89 won't load pages due to many fonts
I can confirm that in 89.0.1, gfx.e10s.font-list.shared is set to false and the bug does not appear. When I set it to true again, it appears. ** Changed in: firefox (Ubuntu) Status: Incomplete => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930700 Title: Firefox 89 won't load pages due to many fonts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1930700] Re: Firefox 89 won't load pages due to many fonts
The workaround from comment #6 has been implemented by default in Firefox 89.0.1. Can you retest and confirm? ** Changed in: firefox (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930700 Title: Firefox 89 won't load pages due to many fonts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1930700] Re: Firefox 89 won't load pages due to many fonts
Setting the Firefox preference `gfx.e10s.font-list.shared` to `false` works around this bug for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930700 Title: Firefox 89 won't load pages due to many fonts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1930700] Re: Firefox 89 won't load pages due to many fonts
I am affected by this bug too, with 18290 fonts. `Web Content` processes segfault as soon as they are spawned. Attached is a log of all the messages when this happens. ** Attachment added: "log.txt" https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/+attachment/5503322/+files/log.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930700 Title: Firefox 89 won't load pages due to many fonts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1930700] Re: Firefox 89 won't load pages due to many fonts
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: firefox (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930700 Title: Firefox 89 won't load pages due to many fonts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1930700] Re: Firefox 89 won't load pages due to many fonts
** Description changed: Upgraded Firefox to 89 and it shows a crash tab every time because I - have 4276 fonts. In safe-mode it works, but refreshed firefox still has - the bug. + have 22000+ fonts. In safe-mode it works, but refreshed firefox still + has the bug. When starting firefox from the terminal it shows messages like: [Parent 42669, Main Thread] WARNING: Too many file descriptors for one message!: file /build/firefox- Sx7Sor/firefox-89.0+build2/ipc/chromium/src/chrome/common/ipc_message_utils.h:414 This only happens since Firefox 89 and not in 88. ProblemType: Bug DistroRelease: Ubuntu 21.04 Package: firefox 89.0+build2-0ubuntu0.21.04.1 ProcVersionSignature: Ubuntu 5.11.0-18.19-generic 5.11.17 Uname: Linux 5.11.0-18-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair AddonCompatCheckDisabled: False ApportVersion: 2.20.11-0ubuntu65.1 Architecture: amd64 AudioDevicesInUse: - USERPID ACCESS COMMAND - /dev/snd/controlC2: shemgp 5850 F pulseaudio - /dev/snd/controlC0: shemgp 5850 F pulseaudio - /dev/snd/controlC1: shemgp 5850 F pulseaudio + USERPID ACCESS COMMAND + /dev/snd/controlC2: shemgp 5850 F pulseaudio + /dev/snd/controlC0: shemgp 5850 F pulseaudio + /dev/snd/controlC1: shemgp 5850 F pulseaudio BuildID: 20210527174632 CasperMD5CheckResult: unknown Channel: Unavailable CurrentDesktop: GNOME Date: Thu Jun 3 19:36:30 2021 EcryptfsInUse: Yes Extensions: extensions.sqlite corrupt or missing ForcedLayersAccel: False IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite) InstallationDate: Installed on 2015-09-28 (2074 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) Locales: extensions.sqlite corrupt or missing PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/firefox/omni.ja:greprefs.js:355 PrefSources: prefs.js Profiles: Profile0 (Default) - LastVersion=89.0/20210527174632 RunningIncompatibleAddons: False SourcePackage: firefox Themes: extensions.sqlite corrupt or missing UpgradeStatus: Upgraded to hirsute on 2021-02-16 (106 days ago) dmi.bios.date: 09/25/2019 dmi.bios.release: 2.75 dmi.bios.vendor: LENOVO dmi.bios.version: GCETB5WW (2.75 ) dmi.board.asset.tag: Not Available dmi.board.name: 34361A0 dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.ec.firmware.release: 1.15 dmi.modalias: dmi:bvnLENOVO:bvrGCETB5WW(2.75):bd09/25/2019:br2.75:efr1.15:svnLENOVO:pn34361A0:pvrThinkPadX220:rvnLENOVO:rn34361A0:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.family: ThinkPad X220 dmi.product.name: 34361A0 dmi.product.sku: LENOVO_MT_3436 dmi.product.version: ThinkPad X220 dmi.sys.vendor: LENOVO -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930700 Title: Firefox 89 won't load pages due to many fonts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1930700] Re: Firefox 89 won't load pages due to many fonts
More info. So I lowered down my fonts to 12881, it was 22k something by removing duplicate fonts in the ~/.fonts/google-fonts folder and Firefox loads now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930700 Title: Firefox 89 won't load pages due to many fonts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1930700] Re: Firefox 89 won't load pages due to many fonts
Just to add: fc-list | awk 'BEGIN{FS=":"}; {print $2}' | sort | uniq | wc -l 4276 fc-list | wc -l 12881 because of snaps that remounts /run/user/1000/doc/3285b9f/.fonts/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1930700 Title: Firefox 89 won't load pages due to many fonts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930700/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs