[Bug 267123] www/firefox-esr: segmentation fault (dumped core), when launched from Wayland

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 16 Oct 2022 17:31:49 UTC

--- Comment #4 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Alain De Vos from comment #3)
> export BEMENU_BACKEND=wayland
> export CLUTTER_BACKEND=wayland
> export GDK_BACKEND=wayland
> export QT_QPA_PLATFORM=wayland

Already default (when run under Wayland compositor). Worse, this may crash
(instead of using Xwayland) any app that calls X11 directly (e.g.,
editors/vim@gtk3) even if the toolkit itself supports Wayland.

> export XDG_SESSION_TYPE=wayland

Already default since ports 70148c11889b, see

> export XKB_DEFAULT_RULES=evdev

Already default since ports 13d4989f6b56.

> export XDG_RUNTIME_DIR=/home/TMP

Is /home/TMP writeable by current user? Setting XDG_RUNTIME_DIR manually is
error-prone. It's a common place to store various unix(4) sockets, not just by
Wayland compositor. Better use sysutils/pam_xdg or sysutils/consolekit2
(pam_ck_connector or ck_launch_session).

> Can i dump some info when firefox dies ?

Better run from under debugger e.g.,

$ lldb -- $(which firefox) https://freebsd.org/
(lldb) run
(lldb) bt

You are receiving this mail because:
You are on the CC list for the bug.