From nobody Wed Aug 17 22:36:19 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M7NCq2pgpz4ZSJn for ; Wed, 17 Aug 2022 22:36:23 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4M7NCp2Fxqz3TRN for ; Wed, 17 Aug 2022 22:36:22 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 27HMaJkK046681; Wed, 17 Aug 2022 22:36:19 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 27HMaJeo046680; Wed, 17 Aug 2022 15:36:19 -0700 (PDT) (envelope-from david) Date: Wed, 17 Aug 2022 15:36:19 -0700 From: David Wolfskill To: =?iso-8859-1?Q?Jes=FAs?= Daniel Colmenares Oviedo Cc: ports@freebsd.org Subject: Re: firefox-104.0,2 crashing Message-ID: Reply-To: freebsd-ports@freebsd.org References: <20220817180633.173c51b9@riseup.net> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HDFlgYE4BQ1ZvgA7" Content-Disposition: inline In-Reply-To: <20220817180633.173c51b9@riseup.net> X-Rspamd-Queue-Id: 4M7NCp2Fxqz3TRN X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-5.40 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170:c]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[ports@freebsd.org]; ARC_NA(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEFALL_USER(0.00)[david]; HAS_REPLYTO(0.00)[freebsd-ports@freebsd.org]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; FROM_HAS_DN(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[catwhisker.org]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --HDFlgYE4BQ1ZvgA7 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 17, 2022 at 06:06:33PM -0400, Jes=FAs Daniel Colmenares Oviedo = wrote: > ... > You need an entry in /etc/hosts for each display name in `xauth list`. > Look at my /etc/hosts: >=20 > ``` > $ egrep '^[^#]' /etc/hosts > ::1 localhost localhost.my.domain > 127.0.0.1 localhost localhost.my.domain dtxdf-laptop > ``` >=20 > After adding an entry in the specified file, you must remove or rename > your profile application (~/.thunderbird or ~/.firefox): >=20 > ``` > mv ~/.thunderbird ~/.thunderbird.bak > ``` >=20 > This is necessary because your hostname will remain in the cache. >=20 > Now, just run firefox and it should be fine. I think you must be doing something rather different (with firefox(/thunderbird)) than I do. (Well, I don't use thunderbird, so there's that.) But: I am not experiencing firefox crashes. /etc/hosts has: g1-70(12.3-S)[2] grep -v '^#' /etc/hosts ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain g1-70(12.3-S)[3]=20 (and I don't mess with it: I use DNS for mapping hostnames to IP addresses; the machine in question is my laptop, which changes its IP address depending on what network it's using at the time). I use dhclient-exit-hooks to assign the hostname, given the IP address (if there's a PTR record I can access; if not, I leave it as "localhost"). (That said, I only change the hostname in /etc/dhclient-exit-hooks if xterm isn't running -- which I use as a proxy for "X11 is currently in use.") Thus, in the present case, the laptop's hostname is (still) g1-70.catwhisker.org -- which was assigned while the laptop & I were at home this morning, before xdm started up. The laptop has been on a couple of other networks since (currently at work), but since I was logged in, and I always have at least one xterm window, the hostname didn't change (though the IP address did). Maybe what I'm doing is weird, but it seems to work for me. This is currently running: g1-70(12.3-S)[5] uname -aUK FreeBSD g1-70.catwhisker.org 12.3-STABLE FreeBSD 12.3-STABLE #1267 stable/1= 2-n235542-7fb15b35cc2: Wed Aug 17 03:32:19 PDT 2022 root@g1-70.catwhisk= er.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY amd64 1203507 1203507 g1-70(12.3-S)[6] pkg info -o firefox\* firefox-104.0_1,2 www/firefox =66rom the "head" branch of the ports tree at main-n592370-7848dd1a26aa. Peace, david --=20 David H. Wolfskill david@catwhisker.org See "Truth Social"? Read it as "Pravda" -- and adjust expectations accordi= ngly. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --HDFlgYE4BQ1ZvgA7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSr0Kzv+UJRY3wfOii0+6PfV4Ix1AUCYv1tY18UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0QUJE MEFDRUZGOTQyNTE2MzdDMUYzQTI4QjRGQkEzREY1NzgyMzFENAAKCRC0+6PfV4Ix 1L7IAQDOQPDF9WR3bQiV1+1QDKaWuAlN8gr3WxEJ8AZ4NKXU8gD/a4kyMVoVCVuH RX2Hg5dKN94s+Uf1G9gZhFlxwPuKfw4= =405C -----END PGP SIGNATURE----- --HDFlgYE4BQ1ZvgA7--