- Package:
- firefox-esr
- Source:
- firefox-esr
- Description:
- Mozilla Firefox web browser - Extended Support Release (ESR)
- Submitter:
- Benoît Laniel
- Date:
- 2021-02-15 19:06:02 UTC
- Severity:
- important
Dear Maintainer, When setting MOZ_ENABLE_WAYLAND=1, Firefox crashes at startup. It seems the problem comes from DBUS: org.mozilla.firefox-esr is an invalid interface name. Debian package defines MOZ_APP_REMOTINGNAME as $(call uc_first,$($(PRODUCT))) so it ends up being Firefox-esr for this package. I fixed it using export MOZ_APP_REMOTINGNAME := $(subst -,_,$(call uc_first,$($(PRODUCT)))) in debian/rules so the DBUS interface name is valid while being different from firefox (non ESR). Thank you.
Works with --no-remote, but once open can't open URLs from other applications. MOZ_ENABLE_WAYLAND=1 firefox-esr --no-remote # temp. partial workaround Related upstream bug to consider (along with Benoît Laniel's fix): https://bugzilla.mozilla.org/show_bug.cgi?id=1551664 Thanks
Seems to be possible to fix that with the configuration option --enable-default-toolkit=cairo-gtk3-wayland like it is done on the newer official builds. I don't know how this changes the build requirements. Don't know if you want to do such a change in stable. Maybe you just want to add a check for GDK_BACKEND. Then you can add --no-remote in /usr/bin/firefox That changes behaviour. But only in the case when it would crash. So I think no one would complain about that.
Seems to be possible to fix that with the configuration option --enable-default-toolkit=cairo-gtk3-wayland like it is done on the newer official builds. I don't know how this changes the build requirements. Don't know if you want to do such a change in stable. Maybe you just want to add a check for GDK_BACKEND. Then you can add --no-remote in /usr/bin/firefox That changes behaviour. But only in the case when it would crash. So I think no one would complain about that. Maybe besides displaying a proper warning.
It appears that the issue was fixed upstream, they now sanitize the name before it's used in DBUS addresses: https://hg.mozilla.org/mozilla-central/rev/b58ad41837a6 https://hg.mozilla.org/mozilla-central/rev/4222f7b9c86b
FYI, I'm running firefox-esr 78.7.0esr-1 in wayland, and it does seem to be fixed. This bug can probably be closed.