[GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(296,34620)
Categories
(Core :: Graphics, defect)
Tracking
()
People
(Reporter: pmenzel+bugzilla.mozilla.org, Unassigned)
References
Details
(Keywords: nightly-community, reproducible, Whiteboard: [closeme 2024-08-20])
Steps to reproduce:
Use Debian sid/unstable with GNOME Shell 41.4 under X.Org session and firefox-esr 91.7.0esr-1.
Actual results:
Looking at the (systemd) (user) journal, the firefox-esr process logs
firefox-esr.desktop[165027]: [GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(296,34620)
several thousand times:
$ journalctl -b | grep firefox-esr | grep -c GFX1
9102
Expected results:
No failure message should be present.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•4 years ago
•
|
||
Reclassifying under Graphics.
Is this a persistent problem, or did it just happen on that one day?
(I think this sort of error logging is somewhat expected for certain classes of web content. It's Firefox telling you that something is requesting that we create a 34,620px tall graphical surface, and we're failing to allocate a surface of that size, and apparently falling back gracefully (and probably failing to paint something, though maybe it didn't end up being noticeable).
Comment 3•4 years ago
|
||
What were you doing at the time the error was triggered? If possible, can you supply the website you were on, etc.?
Comment 4•3 years ago
|
||
I can reproduce this on Nightly111.0a1 Windows10.
STR:
- The failure appears when open https://bugzilla.mozilla.org/attachment.cgi?id=9312575 and a couple of zoom in.
Actual results:
Failure Log
(#0) CP+[GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(25130,25130)
(#1) CP+[GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(25130,25130)
(#2) CP+[GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(25130,25130)
(#3) CP+[GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(25130,25130)
(#4) CP+[GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(27405,27405)
(#5) CP+[GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(30137,30137)
(#6) CP+[GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(33473,33474)
(#7) CP+[GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(37644,37645)
(#8) CP+[GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(37644,37645)
(#9) CP+[GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(37644,37645)
Updated•3 years ago
|
| Reporter | ||
Comment 5•3 years ago
|
||
On Debian sid/unstable with gnome-shell 43.3-1 and Wayland, and firefox 109.0-1:
Mar 01 13:43:59 dellxps139370 firefox.desktop[71316]: [GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(249,36537)
Mar 01 13:43:59 dellxps139370 firefox.desktop[71316]: [GFX1-]: Failed to allocate a surface due to invalid size (DTD) Size(249,36537)
Comment 6•3 years ago
•
|
||
Thanks for the update. Per comment 3, could you clarify what website and/or actions seem to trigger this issue?
(We do have one testcase in comment 4, with a somewhat-pathological testcase, using a 9999px-sized box-shadow, which we probably gracefully decline to paint per my last paragraph of comment 2. It would be useful to know what real-world web content is triggering the issue for the reporter here, though, if you can determine that.)
| Reporter | ||
Comment 8•2 years ago
|
||
I checked my user log files that go back to May 24th, 2024. I haven’t seen this in there. I am currently using gnome-shell 47beta-1 and firefox-nightly 131.0a120240808214725.
Comment 9•2 years ago
|
||
Thanks!
Description
•