Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2022 15:36:19 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        =?iso-8859-1?Q?Jes=FAs?= Daniel Colmenares Oviedo <DtxdF@riseup.net>
Cc:        ports@freebsd.org
Subject:   Re: firefox-104.0,2 crashing
Message-ID:  <Yv1tY8TQQa3A6LRO@albert.catwhisker.org>
In-Reply-To: <20220817180633.173c51b9@riseup.net>
References:  <CAFDf7U%2ByYdW%2B3Gtdomep=j6OiGys5cu59wob478VLd-cc03XHg@mail.gmail.com> <B9CE251B-3E36-4B98-84DC-C0A339DA195C@riseup.net> <CAFDf7U%2BodvXQK1Tr6o5eT-7cfcwtSxE7X-9ANoEZ52n7YH%2BXrg@mail.gmail.com> <CAFDf7UJm-=EheaRHqi1yzge-gkHMw%2BiYXT%2BaWkn8JXV7HoQU4w@mail.gmail.com> <20220817180633.173c51b9@riseup.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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).

<shrug> 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--



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