Closed Bug 1750563 Opened 2 years ago Closed 1 year ago

Crash in [@ wl_array_copy | <.text ELF section in libwayland-client.so.0.20.0>] "wp_viewport@9479: error 0: x and y values must be zero or positive and width and height valuest must be positive or all values must be -1 to unset the vie"

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gsvelto, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/fc52bcb8-2d96-442d-8130-72f720220117

MOZ_CRASH Reason: wp_viewport@9479: error 0: x and y values must be zero or positive and width and height valuest must be positive or all values must be -1 to unset the vie

Top 10 frames of crashing thread:

0 libxul.so mozilla::widget::WlCrashHandler widget/gtk/nsWaylandDisplay.cpp:336
1 libwayland-client.so.0 wl_array_copy 
2 libwayland-client.so.0 <.text ELF section in libwayland-client.so.0.20.0> 
3 libffi.so.8 ffi_prep_go_closure 
4 libffi.so.8 ffi_closure_free 
5 libwayland-client.so.0 wl_log_set_handler_client 
6 libwayland-client.so.0 <.text ELF section in libwayland-client.so.0.20.0> 
7 libwayland-client.so.0 wl_display_dispatch_queue_pending 
8 libgdk-3.so.0 gdk_wayland_device_get_wl_keyboard 
9 libgdk-3.so.0 gdk_display_get_event 

Most user comments point to watching a video and possibly scrolling the page while doing so. Note that there are other crashes under this signature but with a different crash reason and none of the other types of crash have comments mentioning videos so they're very likely unrelated.

There are several crash reports where the users mention that this happens when clicking the picture-in-picture button on a video.

(In reply to Gabriele Svelto [:gsvelto] from comment #1)

There are several crash reports where the users mention that this happens when clicking the picture-in-picture button on a video.

If there's any need for confirmation I can reproduce the issue reliably.

Main GPU is AMD with all monitors (1xHiDPI and 2xLowDPI) connected. I start Firefox on the iGPU with a complete fresh profile:

DRI_PRIME=1 LIBVA_DRIVER_NAME=iHD firefox-beta -P debugTest

Creating a new window in any fashion (PiP, new window, extension-popup) results in a crash. For example (video of action):

https://www.sendspace.com/file/fsydf8

Crash reports seen in the video:

Mozilla Firefox 98.0b8
Operating System: EndeavourOS
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.11-246-tkg-bmq (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11400 @ 2.60GHz
Graphics Processor: AMD Radeon RX 5500 XT

Summary: Crash in [@ wl_array_copy | <.text ELF section in libwayland-client.so.0.20.0>] → Crash in [@ wl_array_copy | <.text ELF section in libwayland-client.so.0.20.0>] "wp_viewport@9479: error 0: x and y values must be zero or positive and width and height valuest must be positive or all values must be -1 to unset the vie"
See Also: → 1756841

Looks like Wayland compositor bug.

Blocks: WR-linux-wayland-compositing
No longer blocks: wayland

Since the crash volume is low (less than 5 per week), the severity is downgraded to S3. Feel free to change it back if you think the bug is still critical.

For more information, please visit auto_nag documentation.

Severity: S2 → S3

Closing because no crashes reported for 12 weeks.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.