Closed Bug 1900169 Opened 1 month ago Closed 1 month ago

100% cpu use on boulanger.com site, thousands of errors logged, page stops painting

Categories

(Core :: Layout: Text and Fonts, defect, P2)

defect

Tracking

()

VERIFIED FIXED
128 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox126 --- unaffected
firefox127 --- unaffected
firefox128 + verified

People

(Reporter: pascalc, Assigned: jfkthame)

References

(Regression, )

Details

(Keywords: perf:responsiveness, regression)

Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0 ID:20240531213029

I noticed today that my browser was hanging after visiting https://www.boulanger.com/ref/1158772

Launching it from the terminal in a fresh profile and visiting this page, there is a constant flow of the same error logged:

[GFX1]: invalid offset -1 for gfxSkipChars length 0
[GFX1]: invalid offset 1 for gfxSkipChars length 0
[GFX1]: invalid offset 1 for gfxSkipChars length 0
[GFX1]: invalid offset -1 for gfxSkipChars length 0

The browser becomes unesponsive and I have to kill it.

This is a recent regression in 128 or a regression gated to nightly as I tested in 127.0b9 and it is not affected.

8:33.66 INFO: Last good revision: 9f6888436fe874358b1d565f295ebbaefb280019
8:33.66 INFO: First bad revision: 36fc4e06713de8a11db3cd3180ad24733d6581cb
8:33.66 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=9f6888436fe874358b1d565f295ebbaefb280019&tochange=36fc4e06713de8a11db3cd3180ad24733d6581cb

Flags: needinfo?(jfkthame)
Regressed by: 385615

Ugh - thanks for reporting promptly, will try to investigate.

Component: Graphics → Layout: Text and Fonts
Flags: needinfo?(jfkthame)
Priority: -- → P2

The bug is marked as tracked for firefox128 (nightly). We have limited time to fix this, the soft freeze is in 3 days. However, the bug still isn't assigned.

:fgriffith, could you please find an assignee for this tracked bug? Given that it is a regression and we know the cause, we could also simply backout the regressor. If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit BugBot documentation.

Flags: needinfo?(fgriffith)

Assigning to myself for investigation. Tracking this is definitely the right call; we need to either fix it, or backout bug 385615 for FF128 if we can't fix in time.

Assignee: nobody → jfkthame
Flags: needinfo?(fgriffith)
See Also: → 1899840

Also seems to happen on the front page of https://france.tv, the main website of French public television. Profile: https://share.firefox.dev/4c6AKAL, 100% reproducible on various OSes, synchronously spinning on the main thread. This probably needs a timely fix or backout considering how widespread this is.

Happy to do a pernosco recording if needed.

Flags: needinfo?(jfkthame)

If you could post a pernosco link, that'd be great - thanks.

Yes, given we're seeing this multiple places, I'm thinking we should back out for now (sadly).

Flags: needinfo?(jfkthame)

Given that this was a regression from bug 385615, I think we can call this fixed-by-backout of bug 385615 (merged to central a few hours ago in bug 385615 comment 75).

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Flags: qe-verify+

Reproduced the initial issue using an old Nightly build from 2024-06-01, verified that using latest Nightly 129.0a1 and latest beta build 128.0b9 the browser is still responsive after visiting the problematic websites mentioned in the comments and the CPU does not climb and stay at 100%. I verified across platforms (Windows 11, Ubuntu 22.04 and MacOS 13.6).

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.