From nobody Fri Aug 19 15:45:27 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 4M8R101Cb0z4ZR1W for ; Fri, 19 Aug 2022 15:45:40 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M8R0z62GYz3Dh8 for ; Fri, 19 Aug 2022 15:45:39 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660923939; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/mB921E7rgMBqLSMuVzcrJPPSjwiG+SoRq8qOcEqG9M=; b=XgicR6uaMywW9kJoQguI/cAey+/6AhGfbRuYRgMxCHI6hXn4FxI82ZgBvr/JhD/EihUTe5 Df4OKf27Tt0KHySBGefRwRYhrkJuvt4gdwiB5L6YVOmvf4NCbS4wiuGwjPFxy8XPrHKl6G jNZ0JRrBXbaeWQytv/4O+zi9FUhXCGaFAJcQtABn1cKvwj5c23+RAVoZjfb+xniZoYHKuw ToeOaxXdntlZXU1UMfUNHicnsCmjzAJofwdqC3TaXaqq7l3M00MO2PFB0ytAEKblGw3M4V inBbmZ6bE8/IuCLmaMZyx5qxeAFqzBFq9D94lhk+4chIjva26ANO4FuMq2CwoQ== Received: from mail-vk1-f171.google.com (mail-vk1-f171.google.com [209.85.221.171]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4M8R0z4ylJz1Fwg for ; Fri, 19 Aug 2022 15:45:39 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-vk1-f171.google.com with SMTP id g17so1346154vkk.6 for ; Fri, 19 Aug 2022 08:45:39 -0700 (PDT) X-Gm-Message-State: ACgBeo1JjOWqfohXUoWWkHcjh39lDOIC6ZaVB2xmRfSWuTAbsXl9VOUZ CL7alZAaNjVcV7hkYAVBFGV60fopEx43llUaXKg= X-Google-Smtp-Source: AA6agR43x8S9cvyjqKBZ6wB5kpFktPD+8eXVAD2/VHso/hruy8nDZwdKHUHZxHCiCQvCh7WHOqdhCP5QJJj3L/7LXJU= X-Received: by 2002:a05:6122:4c6:b0:377:ee81:893e with SMTP id s6-20020a05612204c600b00377ee81893emr3193837vkn.13.1660923939145; Fri, 19 Aug 2022 08:45:39 -0700 (PDT) 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 References: <14930703.74.1660899763480@localhost> In-Reply-To: <14930703.74.1660899763480@localhost> From: Nuno Teixeira Date: Fri, 19 Aug 2022 16:45:27 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: firefox-104.0,2 crashing To: Ronald Klop Cc: ports@freebsd.org Content-Type: multipart/alternative; boundary="000000000000644e9e05e699fd1f" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660923939; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/mB921E7rgMBqLSMuVzcrJPPSjwiG+SoRq8qOcEqG9M=; b=bK0tOJkD2/XESUV3hncx3QfmHcHTAsrh/5x/oN5Ie1HZ6UuU4n9cG3uNjqt2mHx6x+NvSW KTA6xn5g+pw/xCtDcj7bcug77jajgJ5KOA3xdK/FFT6IlNDED8OYOkbeRXqxSpOfiqMmjG oghn08yn5oYrtWfE78/mYvmgoXiRP4SGnH+52ODiaLSEXA0deQoPhw2DZsC2Pd7Q2lMy5+ 6rIfsV4kdBwACCjqBMoTDpzdSvoVLPJNMFVE9d2um1ufYuRssGR9VC8h5pZwD9k3lekOgr 0mgnhD48vBqXj5yh+WlPJRXev4QN9JMfE2ktO0wMEU6wAk3e+11Ck7ytobzfxA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660923939; a=rsa-sha256; cv=none; b=YmYGrI80tzar4yeGI/TZsnpbRwFwUjo85DSyExspF2I/5l/Ugeb2v6xj/jMTAjKxCdFDu/ 72zExsCGAQVkNToKhYR5Ex64upOS35x0fk38L7oVI+5qQ0PZ6hW6FLFUPFMvh5qSO1GrMI N/snfLeM1U7a88DPiq2805q66aWMg1tmHVl4+quGbnLJt2UAJrnV52CnrVkx3dv+AM45qW FmZGp7e/cw/enkedEfVsI565BM6C0PUO2FbNDVbrGL0PaFd0zBEaea7JiuUdFJLmvR5VUg wg66HrO0NqJQwECNy/cYwPrlrZ+dFPhE6FXSqZhJ+Dxc200JeuONXtzz73tFsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --000000000000644e9e05e699fd1f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Ronald, @ main-n257458-ef8b872301c5 % lldb --core firefox.core --file /usr/local/bin/firefox --- (lldb) target create "/usr/local/bin/firefox" --core "firefox.core" Core file '/home/nunotex/firefox.core' (x86_64) was loaded. (lldb) bt This version of LLDB has no plugin for the language "assembler". Inspection of frame variables will be limited. * thread #1, name =3D 'MainThread', stop reason =3D signal SIGSEGV * frame #0: 0x00000fd5915adaca libc.so.7`__sys_thr_kill at thr_kill.S:4 frame #1: 0x00000fd5915266e4 libc.so.7`__raise(s=3D11) at raise.c:52:10 frame #2: 0x00000fd5c5a04232 libxul.so`nsProfileLock::FatalSignalHandler(int, __siginfo*, void*) + 242 frame #3: 0x00000fd5c63da027 libxul.so`WasmTrapHandler(int, __siginfo*, void*) + 327 frame #4: 0x00000fd58f9ab92e libthr.so.3`handle_signal(actp=3D0x00000fd58d9b4a40, sig=3D11, info=3D0x00000fd58d9b4e30, ucp=3D0x00000fd58d9b4ac0) at thr_sig.c:301:3 frame #5: 0x00000fd58f9aaedf libthr.so.3`thr_sighandler(sig=3D11, info=3D0x00000fd58d9b4e30, _ucp=3D0x00000fd58d9b4ac0) at thr_sig.c:246:2 frame #6: 0x00000fd58e6882d3 [vdso] frame #7: 0x00000fd5c25f6440 libxul.so`mozilla::detail::RunnableFunction&&)::$_0::operator()() const::'lambda'()>::Run() + 2000 frame #8: 0x00000fd5c219f753 libxul.so`mozilla::RunnableTask::Run() + 1= 9 frame #9: 0x00000fd5c21885f3 libxul.so`mozilla::TaskController::DoExecuteNextTaskOnlyMainThreadInternal(= mozilla::detail::BaseAutoLock const&) + 1539 frame #10: 0x00000fd5c21875eb libxul.so`mozilla::TaskController::ExecuteNextTaskOnlyMainThreadInternal(mo= zilla::detail::BaseAutoLock const&) + 43 frame #11: 0x00000fd5c21a21a8 libxul.so`mozilla::detail::RunnableFunction::Run() + 56 frame #12: 0x00000fd5c2194587 libxul.so`nsThread::ProcessNextEvent(bool, bool*) + 1159 frame #13: 0x00000fd5c2198a8e libxul.so`NS_ProcessNextEvent(nsIThread*, bool) + 78 frame #14: 0x00000fd5c26b14c8 libxul.so`mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) + 13= 6 frame #15: 0x00000fd5c2669698 libxul.so`MessageLoop::Run() + 88 frame #16: 0x00000fd5c4a9ead9 libxul.so`nsBaseAppShell::Run() + 41 frame #17: 0x00000fd5c59579a6 libxul.so`nsAppStartup::Run() + 118 frame #18: 0x00000fd5c5a16cbc libxul.so`XREMain::XRE_mainRun() + 3052 frame #19: 0x00000fd5c5a17317 libxul.so`XREMain::XRE_main(int, char**, mozilla::BootstrapConfig const&) + 1127 frame #20: 0x00000fd5c5a176cc libxul.so`XRE_main(int, char**, mozilla::BootstrapConfig const&) + 172 frame #21: 0x00000fcd6d3ab032 firefox`main + 1010 frame #22: 0x00000fcd6d3aa98d firefox`_start(ap=3D, cleanup=3D) at crt1_c.c:73:7 --- Thanks Ronald Klop escreveu no dia sexta, 19/08/2022 =C3=A0= (s) 10:03: > Hi, > > What I find interesting from this mail thread and all follow up emails is > that there is no indication that the original problem has anything to do > with the ~/.Xauthority and /etc/hosts solution of the other person. > > There can be so many causes of a signal 11. > > What Nuru needs to do is run a debugger on the firefox.core file and try > to get a stacktrace of the error. > > From the top of my head: > > $ lldb --core --file /usr/local/bin/firefox > > bt > > You might need to recompile firefox with DEBUG option enabled to get any > sensible output of the debugger. I don't have a lot of experience debuggi= ng > firefox. > > NB: What version of FreeBSD are you running? Send the output of: uname -a > > Regards, > Ronald. > > > > *Van:* DtxdF > *Datum:* woensdag, 17 augustus 2022 21:39 > *Aan:* ports@freebsd.org > *Onderwerp:* Re: firefox-104.0,2 crashing > > 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 ~/.Xauthorit= y > 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 `xau= th > 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 hostna= me > 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 < > 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 Nuno Teixeira FreeBSD Committer (ports) --000000000000644e9e05e699fd1f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Ronald,

= @ main-n257458-ef8b872301c5

% lldb --core firefox.= core --file /usr/local/bin/firefox
---
(lldb) target create &q= uot;/usr/local/bin/firefox" --core "firefox.core"
Core fi= le '/home/nunotex/firefox.core' (x86_64) was loaded.
(lldb) btThis version of LLDB has no plugin for the language "assembler"= . Inspection of frame variables will be limited.
* thread #1, name =3D &= #39;MainThread', stop reason =3D signal SIGSEGV
=C2=A0 * frame #0: 0= x00000fd5915adaca libc.so.7`__sys_thr_kill at thr_kill.S:4
=C2=A0 =C2=A0= frame #1: 0x00000fd5915266e4 libc.so.7`__raise(s=3D11) at raise.c:52:10=C2=A0 =C2=A0 frame #2: 0x00000fd5c5a04232 libxul.so`nsProfileLock::FatalS= ignalHandler(int, __siginfo*, void*) + 242
=C2=A0 =C2=A0 frame #3: 0x000= 00fd5c63da027 libxul.so`WasmTrapHandler(int, __siginfo*, void*) + 327
= =C2=A0 =C2=A0 frame #4: 0x00000fd58f9ab92e libthr.so.3`handle_signal(actp= =3D0x00000fd58d9b4a40, sig=3D11, info=3D0x00000fd58d9b4e30, ucp=3D0x00000fd= 58d9b4ac0) at thr_sig.c:301:3
=C2=A0 =C2=A0 frame #5: 0x00000fd58f9aaedf= libthr.so.3`thr_sighandler(sig=3D11, info=3D0x00000fd58d9b4e30, _ucp=3D0x0= 0000fd58d9b4ac0) at thr_sig.c:246:2
=C2=A0 =C2=A0 frame #6: 0x00000fd58e= 6882d3 [vdso]
=C2=A0 =C2=A0 frame #7: 0x00000fd5c25f6440 libxul.so`mozil= la::detail::RunnableFunction<mozilla::net::AsyncUrlChannelClassifier::Ch= eckChannel(nsIChannel*, std::__1::function<void ()>&&)::$_0::= operator()() const::'lambda'()>::Run() + 2000
=C2=A0 =C2=A0 f= rame #8: 0x00000fd5c219f753 libxul.so`mozilla::RunnableTask::Run() + 19
= =C2=A0 =C2=A0 frame #9: 0x00000fd5c21885f3 libxul.so`mozilla::TaskControlle= r::DoExecuteNextTaskOnlyMainThreadInternal(mozilla::detail::BaseAutoLock<= ;mozilla::Mutex&> const&) + 1539
=C2=A0 =C2=A0 frame #10: 0x0= 0000fd5c21875eb libxul.so`mozilla::TaskController::ExecuteNextTaskOnlyMainT= hreadInternal(mozilla::detail::BaseAutoLock<mozilla::Mutex&> cons= t&) + 43
=C2=A0 =C2=A0 frame #11: 0x00000fd5c21a21a8 libxul.so`mozil= la::detail::RunnableFunction<mozilla::TaskController::InitializeInternal= ()::$_0>::Run() + 56
=C2=A0 =C2=A0 frame #12: 0x00000fd5c2194587 libx= ul.so`nsThread::ProcessNextEvent(bool, bool*) + 1159
=C2=A0 =C2=A0 frame= #13: 0x00000fd5c2198a8e libxul.so`NS_ProcessNextEvent(nsIThread*, bool) + = 78
=C2=A0 =C2=A0 frame #14: 0x00000fd5c26b14c8 libxul.so`mozilla::ipc::M= essagePump::Run(base::MessagePump::Delegate*) + 136
=C2=A0 =C2=A0 frame = #15: 0x00000fd5c2669698 libxul.so`MessageLoop::Run() + 88
=C2=A0 =C2=A0 = frame #16: 0x00000fd5c4a9ead9 libxul.so`nsBaseAppShell::Run() + 41
=C2= =A0 =C2=A0 frame #17: 0x00000fd5c59579a6 libxul.so`nsAppStartup::Run() + 11= 8
=C2=A0 =C2=A0 frame #18: 0x00000fd5c5a16cbc libxul.so`XREMain::XRE_mai= nRun() + 3052
=C2=A0 =C2=A0 frame #19: 0x00000fd5c5a17317 libxul.so`XREM= ain::XRE_main(int, char**, mozilla::BootstrapConfig const&) + 1127
= =C2=A0 =C2=A0 frame #20: 0x00000fd5c5a176cc libxul.so`XRE_main(int, char**,= mozilla::BootstrapConfig const&) + 172
=C2=A0 =C2=A0 frame #21: 0x0= 0000fcd6d3ab032 firefox`main + 1010
=C2=A0 =C2=A0 frame #22: 0x00000fcd6= d3aa98d firefox`_start(ap=3D<unavailable>, cleanup=3D<unavailable&= gt;) at crt1_c.c:73:7
---

Thanks

Ronald Klop <ronald-lists@klop= .ws> escreveu no dia sexta, 19/08/2022 =C3=A0(s) 10:03:
Hi,

What I find interesting from this mail thread and all follow up emails is t= hat there is no indication that the original problem has anything to do wit= h the ~/.Xauthority and /etc/hosts solution of the other person.

There can be so many causes of a signal 11.

What Nuru needs to do is run a debugger on the firefox.core file and try to= get a stacktrace of the error.

>From the top of my head:

$ lldb --core <path-to/firefox.core> --file /usr/local/bin/firefox > bt

You might need to recompile firefox with DEBUG option enabled to get any se= nsible output of the debugger. I don't have a lot of experience debuggi= ng firefox.

NB: What version of FreeBSD are you running? Send the output of: uname -a
Regards,
Ronald.

=C2=A0

Van: DtxdF <DtxdF@riseup.net>
Datum: woensdag, 17 augustus 2022 21:39
Aan: ports@fr= eebsd.org
Onderwerp: Re: firefox-104.0,2 crashing

Hello,

I have had the same problem. The problem is not only with firefox, it is al= so 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 th= underbird, but the initiators are them.

Check what display-names are displayed with `xauth list`. If you see a disp= lay name as an invalid host in /etc/hosts, simply remove it with `xauth rem= ove`.

My problem is that I changed the hostname, and it stayed after a firefox up= grade, so I had two entries with an invalid hostname and a valid hostname i= n .Xauthority.

See also /etc/hosts to see if there is an invalid host or check if you do n= ot have any entries where a host (such as your hostname) is missing.
=C2=A0
El 17 de agosto de 2022 4:55:20 p. m. UTC, Nuno = Teixeira <eduar= do@freebsd.org> escribi=C3=B3:
Hello to all,
=C2=A0
Is anyone experience firefox crashes? For a long time that I did not s= ee 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?
=C2=A0
"pid 28063 (firefox), jid 0, uid 1001: exited on signal 11 (core = dumped)"
=C2=A0
Cheers,
--
Nuno Teixeira
FreeBSD Committer (ports)


--
Nuno Teixeira
FreeBSD Committer (ports)
--000000000000644e9e05e699fd1f--