[Wayland] Screesharing using xdg-desktop-portal-wlr on Sway crashes latest Nightly: wl_display@1.error (wl_surface@82, 2, "Buffer size (873x64) is not divisible by scale (2)")
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox114 | --- | affected |
People
(Reporter: jan, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crash, nightly-community)
Attachments
(4 files)
(Martin Stránský [:stransky] (ni? me) from bug 1803016 comment 26)
(In reply to Jonny Mako from bug 1803016 comment 25)
I'm still seeing this crash in latest nightly: 114.0a1 (2023-04-18) (64-bit)
Please file a new bug for it and attach a backtrace of the crash there (from about:crashes).
Thanks.
(Jonny Mako from bug 1803016 comment 32)
Created attachment 9332061 [details]
ff.logHere is the next best thing I could think of, given I'm unable to get the crash reporter to appear. Attaching wayland debug log.
bug 1831557 has become about "Wayland crash occurs but no crash reporter opens".
(Jonny Mako from bug 1803016 comment 34)
Also, the crash happens when display scale factor is anything other than 1. My entry in Sway config is:
output eDP-1 pos 0 0 mode 3840x2160 scale 1.5
+++ This bug was initially created as a clone of Bug #1803016 +++
Steps to reproduce:
Trying to screenshare (with zoom) in Sway via pipewire and xdg-desktop-portal-wlr crashes Firefox (109.0a1 (2022-11-28) (64-bit)):
To reproduce, On sway version 1.9-dev-dca0bb57 and latest xdg-desktop-portal-wlr/pipewire:
- Start zoom session on Firefox
- Hit Share screen
- Firefox asks for permission to see your screen with "Use operating system settings" selected in the drop down menu. (This is the only option available)
- Click "Allow"
- A "Sharing Indicator" window pops up with the following message:
"You are sharing another application window" and "Stop Sharing" button. - Simultaneously, you get an "overlay" that indicates which screen to share.
- Click the screen you want to share.
- <crash>
Comment 1•2 years ago
|
||
FWIW, I think, this crash has something to do with the surface that pops up when sharing is started.
After the "Use operating system settings" dialog opens and I click "Allow", I get an overlay and the cursor turns into cross-hairs so that I can select the display to share. Once that selection is made another pop-up opens saying "You are sharing your entire screen".
I noticed that when the crash happens, this second pop-up does not open. My guess (based on the resolution shown in the crash message: 873x64) is that, this is the surface that is causing the crash.
Another thing about this second pop-up is that sometimes it is "floating" and sometimes it is "tiled".
Finally, when the first pop-up opens, if I click on the pull-down menu which says "Use operating system settings" and then click "Allow", I'm able to force the second pop-up to appear and the crash does not happen.
I'll go ahead and attach the screenshots for all the windows I referred to above. Hope this helps in narrowing down the crash.
Comment 2•2 years ago
|
||
First sharing pop-up window.
Comment 3•2 years ago
|
||
First pop-up window with pull-down menu activated.
Comment 4•2 years ago
|
||
Second sharing pop-up window "floating"
Comment 5•2 years ago
|
||
Second sharing pop-up window "tiled" (not sure why it is rendered with a transparent background and the desktop wallpaper showing.)
| Reporter | ||
Comment 6•2 years ago
|
||
I'm unable to get the crash reporter to appear.
Does a crash reporter appear if you open about:crashparent?
Comment 7•2 years ago
|
||
(In reply to Darkspirit from comment #6)
I'm unable to get the crash reporter to appear.
Does a crash reporter appear if you open
about:crashparent?
Yes, it does! But unfortunately, my most recent crash is not because of this bug (I think) and I can't get it to crash anymore. Maybe something got fixed in Sway.
Anyway here is the crash report if in case it is related:
https://crash-stats.mozilla.org/report/index/2d2146bd-578f-4f34-916a-879580230512
Description
•