Crash error 2: Buffer size (1x1) is not divisible by scale (2)
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: kyle.cowden, Unassigned)
References
(Blocks 1 open bug)
Details
Crash Data
Attachments
(1 file)
1.26 MB,
text/plain
|
Details |
Crash report: https://crash-stats.mozilla.org/report/index/f01d8f25-ef46-4c74-8a58-042030220620
MOZ_CRASH Reason: wl_surface@163: error 2: Buffer size (1x1) is not divisible by scale (2)
Top 10 frames of crashing thread:
0 libxul.so mozilla::widget::WlCrashHandler widget/gtk/nsWaylandDisplay.cpp:336
1 libwayland-client.so.0 <.text ELF section in libwayland-client.so.0.20.0>
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 <.text ELF section in libffi.so.8.1.0>
5 libwayland-client.so.0 <.text ELF section in libwayland-client.so.0.20.0>
6 libwayland-client.so.0 wl_list_remove
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
Firefox nightly (and also probably stable) (using MOZ_WEBRENDER=1) crashes when dragging a tab to a new window with the cursor on sway. output with WAYLAND_DEBUG=1 attached
display resolution is: 2256x1504
and scaling factor is: 2.000000
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•2 years ago
|
||
Most likely, it depends on the mutter version the Arch has, the
MOZ_CRASH Reason: wl_surface@163: error 2: Buffer size (1x1) is not divisible by scale (2)
is very familiar to bug 1769268.
Comment 4•2 years ago
|
||
The bug has a crash signature, thus the bug will be considered confirmed.
(In reply to Jan Horak [:jhorak] from comment #3)
Most likely, it depends on the mutter version the Arch has, the
MOZ_CRASH Reason: wl_surface@163: error 2: Buffer size (1x1) is not divisible by scale (2)
is very familiar to bug 1769268.
The bug occurs using sway, which doesn't use (or involve) mutter as far as I am aware
Although, it goes away when I set the scaling from 2 to 1, so it probably is something similarly scaling related.
Comment 7•2 years ago
|
||
This is a bug in compositor, fixed some time ago in Mutter. If you see that please report it at Sway bug tracker.
Thanks.
Updated•2 years ago
|
Comment 8•2 years ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #7)
This is a bug in compositor, fixed some time ago in Mutter. If you see that please report it at Sway bug tracker.
Thanks.
In fact this is not a bug in Sway. The Wayland spec clearly demands to treat this as an error, but most compositors until recently only threw a warning in the logs. In Gnome 42 we shortly started enforcing the rule, but crashes became so common that we backtracked[1]. Mutter will at some point start again to enforce it, so this needs to get fixed.
Note that GTK3 could also trigger the crash until recently under certain circumstances[2]
1: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2335
2: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4381
Updated•2 years ago
|
Reporter | ||
Comment 10•2 years ago
|
||
Brief update: I can not reproduce on 102.0, but the bug still occurs on the latest 103 nightly release.
Comment 11•2 years ago
|
||
(In reply to ky from comment #10)
Brief update: I can not reproduce on 102.0, but the bug still occurs on the latest 103 nightly release.
Ah, looks like you have gfx.webrender.compositor.force-enabled:true
. This is now disabled in release/beta, only works in nightly.
Note that this feature is highly experimental and currently on hold due to the reason outlined in bug 1617498 comment 28
Comment 12•1 year ago
|
||
This is now occurring in 112.0.1:
https://crash-stats.mozilla.org/report/index/29dbd31a-0aa3-45ab-9c3b-6182b0230426
Comment 13•1 year ago
|
||
(In reply to kode54 from comment #12)
This is now occurring in 112.0.1:
https://crash-stats.mozilla.org/report/index/29dbd31a-0aa3-45ab-9c3b-6182b0230426
wl_surface@91: error 2: Buffer size (1067x120) is not divisible by scale (2)
Thanks for the report! That's a different bug:
bug 1813407 landed in 112 and caused bug 1820293 (= bug 1822520 = your crash), which has been closed as duplicate of bug 1803016, which has been fixed in 113, but not backported to 112.
Which desktop environment are you using? (Gnome, KDE, sway?)
Please consider testing https://aur.archlinux.org/packages/firefox-nightly. Thanks!
Comment 14•9 months ago
|
||
Closing because no crashes reported for 12 weeks.
Description
•