Open Bug 1819530 Opened 2 years ago Updated 6 months ago

Firefox crashes on Sway with display scale set to 2 when moving tabs with gfx.webrender.compositor.force-enabled set to true

Categories

(Core :: Graphics: WebRender, defect)

Firefox 112
defect

Tracking

()

UNCONFIRMED

People

(Reporter: flare561, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file firefox.log

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0

Steps to reproduce:

  1. Set display scale to 2 in Sway with "output DP-2 pos 0 0 mode 3840x2160@60Hz scale 2"
  2. Run firefox nightly with gfx.webrender.compositor.force-enabled set to true
  3. Attempt to move a tab with the mouse

Actual results:

Firefox crashes instantly when attempting to move the tab. I have attached a log file with WAYLAND_DEBUG=1 set, but the relevant lines appear to be here

[ 968631.390] wl_display@1.error(wl_surface@230, 2, "Buffer size (1x1) is not divisible by scale (2)")
ExceptionHandler::GenerateDump cloned child ExceptionHandler::WaitForContinueSignal waiting for continue signal...
2894745
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
[ 968690.255] -> wl_surface@87.commit()
[ 968690.276] -> wl_surface@230.commit()
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.

When I disable scaling on the monitor no such crash occurs.

Expected results:

Firefox should not crash.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

The severity field is not set for this bug.
:gw, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(gwatson)
Severity: -- → S3
Flags: needinfo?(gwatson)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: