Closed Bug 1899494 Opened 2 years ago Closed 2 years ago

Firefox crashes in Gnome when tiled in a screen bordering another screen

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 126
x86_64
Linux
defect

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: dmlvianna, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached image Display layout

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36

Steps to reproduce:

Please refer to my display layout: https://imgur.com/a/RIQGeUF

  1. Log into Gnome 46 (Fedora 40, Wayland)
  2. Start Firefox
  3. Use super + arrow to tile Firefox to the right side of display 1
  4. Press super to turn to activities overview (Firefox crashes)

Same happens if you substitute step 3 with

  • tile Firefox to the left side of display 2;
  • tile Firefox to the left side of display 3.

Firefox as a free-floating window, maximised, or tiled to a side not bordering another display does not crash.

Actual results:

Firefox crashes

Expected results:

Firefox does not crash

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

I ran Firefox from a terminal, this is what I got

I ran Firefox from a terminal, this is what I got

❯ firefox
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Wayland protocol error: wl_surface@67: error 2: Buffer size (1280x1408) must be an integer multiple of the buffer_scale (3).
(t=4.77701) [GFX1-]: Wayland protocol error: wl_surface@67: error 2: Buffer size (1280x1408) must be an integer multiple of the buffer_scale (3).

Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: CompositorBridgeChild receives IPC close with reason=AbnormalShutdown (t=7.82036) Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: CompositorBridgeChild receives IPC close with reason=AbnormalShutdown (t=8.41908) Exiting due to channel error.
zsh: segmentation fault (core dumped) firefox

It may be dupe of Bug 1885831.

Please try this build. You need to download the tarball, extract it and run on terminal as ./firefox -P and create a new profile and test it:
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/As8eV0xAR4y-C2V-6o5Bew/runs/0/artifacts/public/build/target.tar.bz2

There's more info how to run Firefox with different profile:
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Test_Firefox_with_a_new_profile

If you can reproduce the crash, please attach log from:

WAYLAND_DEBUG=1 MOZ_LOG="Widget:5 WidgetWayland:5" firefox > log.txt 2>&1

Thanks.

Component: Untriaged → Widget: Gtk
Flags: needinfo?(dmlvianna)
Product: Firefox → Core
Blocks: wayland
Priority: -- → P3

No, the nightly build does not crash on my machine with a new profile. It runs fine.

Is the nightly build good for personal use? Or is there a release that should be working too that I can be using for the time being?

Flags: needinfo?(dmlvianna)

(In reply to Daniel Vianna from comment #4)

No, the nightly build does not crash on my machine with a new profile. It runs fine.

Is the nightly build good for personal use? Or is there a release that should be working too that I can be using for the time being?

Once confirmed / fixed will backport the fix to beta/release. Stay tuned.

Flags: needinfo?(dmlvianna)

Also does not crash. It works fine.

Flags: needinfo?(dmlvianna)
Assignee: nobody → stransky
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/04e6157f660a [Wayland] Always resize wl_egl_window on scale change r=emilio
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: