Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#76231 - [firefox] 106.0-1 crashes when WebRTC screensharing single window on GNOME in Wayland mode

Attached to Project: Arch Linux
Opened by Pascal Ernster (hardfalcon) - Monday, 17 October 2022, 17:15 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 26 October 2022, 00:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No


Firefox 106.0-1 crashes reproducibly on GNOME in Wayland mode when I try to share a single Window in Jitsi through WebRTC, and gives the following error message on the terminal:

[Parent 184806, Main Thread] WARNING: gdk_wayland_window_configure: assertion 'height > 0' failed: 'glib warning', file /build/firefox/src/firefox-106.0/toolkit/xre/nsSigHandlers.cpp:167

(firefox:184806): Gdk-CRITICAL **: 18:56:00.486: gdk_wayland_window_configure: assertion 'height > 0' failed

This only happens with Firefox 106.0 but not with previous versions like 105, so I assume that this is triggered by upstream's update of libwebrtc in Firefox 106.0:

Also, it does not happen when I share my whole screen, but only when I share only a single window. It happends regardless of whether Firefox is running in wayland or xwayland mode.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Wednesday, 26 October 2022, 00:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  106.0.2-1
Comment by Henrique Custódio (henriqueffc) - Monday, 17 October 2022, 18:22 GMT
This problem occurred on my system. I tested version 106.0-1 (testing) and the browser unexpectedly closed when sharing a window. I tested it on Jitsi and Google Meet. On both sites the issue occurred. I used Gnome with Wayland.
Comment by Pascal Ernster (hardfalcon) - Tuesday, 18 October 2022, 12:13 GMT
Possibly related but reported upstream:
Comment by Pascal Ernster (hardfalcon) - Friday, 21 October 2022, 04:51 GMT Comment by Maksim Kraev (maximka) - Sunday, 23 October 2022, 10:06 GMT
Confirming, the patch fixes the issue, no side effects so far.
Comment by Henrique Custódio (henriqueffc) - Tuesday, 25 October 2022, 22:58 GMT
I tested it (jitsi) with version 106.0.2-1 of the testing repository and the window sharing works again.
Comment by Pascal Ernster (hardfalcon) - Tuesday, 25 October 2022, 23:09 GMT
This seems indeed solved in Firefox 106.0.2-1. Thanks for adding the patch, heftig :)