Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2022 17:31:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 267123] www/firefox-esr: segmentation fault (dumped core), when launched from Wayland
Message-ID:  <bug-267123-21738-PtAgj3DNj1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-267123-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-267123-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267123

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

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=3Dwayland

Already default since ports 70148c11889b, see
https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/90c845295947

> export XKB_DEFAULT_RULES=3Devdev

Already default since ports 13d4989f6b56.

> export XDG_RUNTIME_DIR=3D/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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267123-21738-PtAgj3DNj1>