Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2022 18:06:33 -0400
From:      =?UTF-8?B?SmVzw7pz?= Daniel Colmenares Oviedo <DtxdF@riseup.net>
To:        ports@freebsd.org
Subject:   Re: firefox-104.0,2 crashing
Message-ID:  <20220817180633.173c51b9@riseup.net>
In-Reply-To: <CAFDf7UJm-=EheaRHqi1yzge-gkHMw%2BiYXT%2BaWkn8JXV7HoQU4w@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 17 Aug 2022 22:17:03 +0100
Nuno Teixeira <eduardo@freebsd.org> wrote:

> (...)
>=20
> Nope, it's crashing even more lol!
>=20
> It seems that a new version is out 104.0_1 so I will have to wait for
> pkg or build it myself to see if problem continues.
>=20
> Cheers,
>=20
> Nuno Teixeira <eduardo@freebsd.org> escreveu no dia quarta,
> 17/08/2022 =C3=A0(s) 21:51:
>=20
> > Hello,
> >
> > I've removed a invalid host and now only "leg.home/unix:0
> >  MIT-MAGIC-COOKIE-1  fba348980237f1319d9235da518606c5" shows up.
> > I don't have anything in /etc/hosts, only /etc/rc.conf:
> > hostname=3D"leg.home".
> >
> > I will wait to see what happens.
> >
> > Thanks,
> >
> > DtxdF <DtxdF@riseup.net> escreveu no dia quarta, 17/08/2022 =C3=A0(s)
> > 20:40:=20
> >> Hello,
> >>
> >> I have had the same problem. The problem is not only with firefox,
> >> it is also valid with thunderbird in my experience.
> >>
> >> I have debugged a bit using truss(1) and identified that the
> >> ~/.Xauthority file and /etc/hosts is the problem. Actually, the
> >> problem is firefox and thunderbird, but the initiators are them.
> >>
> >> Check what display-names are displayed with `xauth list`. If you
> >> see a display name as an invalid host in /etc/hosts, simply remove
> >> it with `xauth remove`.
> >>
> >> My problem is that I changed the hostname, and it stayed after a
> >> firefox upgrade, so I had two entries with an invalid hostname and
> >> a valid hostname in .Xauthority.
> >>
> >> See also /etc/hosts to see if there is an invalid host or check if
> >> you do not have any entries where a host (such as your hostname)
> >> is missing.
> >>
> >> El 17 de agosto de 2022 4:55:20 p. m. UTC, Nuno Teixeira < =20
> >> eduardo@freebsd.org> escribi=C3=B3:
> >>>
> >>> Hello to all,
> >>>
> >>> Is anyone experience firefox crashes? For a long time that I did
> >>> not see so many crashes.
> >>> It core dumped to firefox.core, can I do something usefull with
> >>> .core to get an ideia of what is causing it?
> >>>
> >>> "pid 28063 (firefox), jid 0, uid 1001: exited on signal 11 (core
> >>> dumped)"
> >>>
> >>> Cheers,
> >>> --
> >>> Nuno Teixeira
> >>> FreeBSD Committer (ports)
> >>> =20
> >> =20
> >
> > --
> > Nuno Teixeira
> > FreeBSD Committer (ports)
> > =20
>=20
>=20

You need an entry in /etc/hosts for each display name in `xauth list`.
Look at my /etc/hosts:

```
$ egrep '^[^#]' /etc/hosts
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain dtxdf-laptop
```

After adding an entry in the specified file, you must remove or rename
your profile application (~/.thunderbird or ~/.firefox):

```
mv ~/.thunderbird ~/.thunderbird.bak
```

This is necessary because your hostname will remain in the cache.

Now, just run firefox and it should be fine.



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