Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2022 21:05:06 -0400
From:      =?UTF-8?B?SmVzw7pz?= Daniel Colmenares Oviedo <DtxdF@riseup.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: firefox-104.0,2 crashing
Message-ID:  <20220817210354.40f82761@riseup.net>
In-Reply-To: <Yv1tY8TQQa3A6LRO@albert.catwhisker.org>
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> <Yv1tY8TQQa3A6LRO@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Aug 2022 15:36:19 -0700
David Wolfskill <david@catwhisker.org> wrote:

> On Wed, Aug 17, 2022 at 06:06:33PM -0400, Jes=C3=BAs 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. =20
>=20
> 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.)
>=20
> But:  I am not experiencing firefox crashes.  /etc/hosts has:
>=20
> 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
>=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").
>=20
> (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.")
>=20
> 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).
>=20
> <shrug> Maybe what I'm doing is weird, but it seems to work for me.
>=20
> This is currently running:
>=20
> g1-70(12.3-S)[5] uname -aUK
> FreeBSD g1-70.catwhisker.org 12.3-STABLE FreeBSD 12.3-STABLE #1267
> stable/12-n235542-7fb15b35cc2: Wed Aug 17 03:32:19 PDT 2022
> root@g1-70.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY
>  amd64 1203507 1203507
>=20
> g1-70(12.3-S)[6] pkg info -o firefox\*
> firefox-104.0_1,2              www/firefox
>=20
> from the "head" branch of the ports tree at main-n592370-7848dd1a26aa.
>=20
> Peace,
> david

But you are using DNS. Can you try to reproduce the problem without DNS?

I think you don't have the above problem because your hostname is
resolved.

And in my case, my hostname is resolved because I have an entry in
/etc/hosts, so firefox does not crash, but when I deleted that entry,
it crashes and it is necessary to move or delete the profile directory
as I specified above.

This is just my experience with firefox (and thunderbird).



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