From nobody Tue Dec 5 20:43:07 2023 X-Original-To: freebsd-arm@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 4SlCD73q61z53R3Q for ; Tue, 5 Dec 2023 20:43:19 +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 4SlCD731nCz4PNj; Tue, 5 Dec 2023 20:43:19 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701808999; 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=DLR5MI+izAbqcUgUYi3G5W2T6iNsnLAX7uyB2fmDQ80=; b=GoFYADG1RJrm+4ENWKkffIcLzUUpa8sDGZEi6RTxzNR1sPHpCUZMGgn7+/L0kNiuh3PcT9 t6SQOrV8y5iAPn1hozJZzfcX8Mtl69nShnp5zE7bEa2jbgg0Yyc+Awui0uEr+ten+F3EAU qV46I9FeoSbeb421piQyd2u06q/cBLw6cIV40fK1d9uJFwns1NYtQMdjtEtdW6xOW6+t9n c2wYLm9kQJV9wBdLDJNBHGqZvwoRCb87pUKaoMEXdXtj5uq3IZ0UhyiLD2QsjZ7FWoxdtX LT659OgL+CWgDu7vCbWYpbwES/S8q90PHu33d0Vnh6UK4SPvkZE70n4SIsriyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701808999; a=rsa-sha256; cv=none; b=Ct8vafiXuCP1pbpVtdWlBjTWF+XL1tiDS6MN/NnadR60Xh/dEXhqCZUGASFan43xjgGcjR /DVTlgKaeazcazkME9t5NWu9Gu3SKRohML4JxyYbYiN4yLXRKSXtkaop/At2doMKUdbUZe aA7xOsW/HLRWN9W1fyjAunmTRmf3E78KTJSV66Nj3FaH5YXgDBxuYA2T39pWhQ2oHu74aW RONqT7T9kWmnIUPgHQHh/QGh9Ykqj4aPzPLukVcEBtdboPPPUBdc+4rnY0idzCjn03wzFA Et6qBUcatsMmFONkILjY5pvFJdrPFd5rRWCwz19tN9JDPhxPkmcUM5g4GrhquQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701808999; 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=DLR5MI+izAbqcUgUYi3G5W2T6iNsnLAX7uyB2fmDQ80=; b=YaRZ9rS3evJWzHenTHHMHHpYC04e6A4eOFG0H6lsN1lAisoUP715L/k+YeWripsn2ZK1mi Vw0Ii+awxENnvbaQmSN8dOv+uNePyyRdTlczjYePqkxY8ivEsyufs9rEiLJM3ZI2njQGDD ex2bLF9SyQPTzA4ZGihfZbnvKYDxNIao2Nxp27zam4I6wnrsZX8yPx5Mxi3/NhhPn4y6CA 8Qx4fqQjf4bLDGb4cQ993UIdLsUG8DYreTzcfy2kQltv+3JUvaCF9c5ytqNQTh3mHhruqB vHJ/DPD7mNMmQOZ6J3HSKhz/igkjvVsPRZxJEpWYHEj3OuYdM3bfOnDmEF9HNA== Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) (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 4SlCD71vb8znRn; Tue, 5 Dec 2023 20:43:19 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-1fae23895c9so3469173fac.3; Tue, 05 Dec 2023 12:43:19 -0800 (PST) X-Gm-Message-State: AOJu0YyNXqfUnUfOmR+oTFl+TLtd7y3UEotO+SmCKYKHO8LUhq4GDeB8 V2HwYWN4Fd8htXMESNCw4vEVoeXlWe31+j/DnsI= X-Google-Smtp-Source: AGHT+IGkneSuNRJOCLYh6ap2dEoulDh7qnhwwbw/rF0/DLwuc6J4FqswDc2yxnBWnxo9Vvf0UNgLbmIe1DHP5o5LOUI= X-Received: by 2002:a05:6870:c10a:b0:1fb:75a:6d48 with SMTP id f10-20020a056870c10a00b001fb075a6d48mr6558823oad.111.1701808998392; Tue, 05 Dec 2023 12:43:18 -0800 (PST) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 References: <9518dc38-e44b-42ae-bf87-6039ac278ac8@FreeBSD.org> <46c52d37-36ec-45fc-8098-1029996c717c@FreeBSD.org> <2097084863.1871.1701797963768@localhost> In-Reply-To: <2097084863.1871.1701797963768@localhost> From: Nuno Teixeira Date: Tue, 5 Dec 2023 20:43:07 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: firefox broken on arm64 To: Ronald Klop Cc: Jesper Schmitz Mouridsen , freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000d3291b060bc9488f" --000000000000d3291b060bc9488f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Port is at 120.0.1 (rc1) and for what I understanded in mozilla PR, patch will be included in 120.0.1 release. If I had the time I will apply patch and try it on rpi4. Thanks Ronald Klop escreveu no dia ter=C3=A7a, 5/12/2023 = =C3=A0(s) 17:39: > Could it be that you are experiencing this issue? > > Bug 1866025 - Firefox 120.0 segfaults at startup (Linux with 16KiB pages) > [1] > > Regards, > > Ronald. > > [1] https://bugzilla.mozilla.org/show_bug.cgi?id=3D1866025 > > > > *Van:* Jesper Schmitz Mouridsen > *Datum:* zondag, 3 december 2023 11:59 > *Aan:* freebsd-arm@freebsd.org > *Onderwerp:* Re: firefox broken on arm64 > > > > On 03.12.2023 09.38, void wrote: > > On Sun, Dec 03, 2023 at 08:34:21AM +0100, Jesper Schmitz Mouridsen wrot= e: > >> > >> Just build firefox-esr-115.5.0_1,1 and firefox-116.0.3_1,2 the first > >> runs with aslr disabled, the latter signals 4. > >> > >> Any suggestions on what is going on are appreciated. > > > > What's the uname -aKU ? > > FreeBSD generic 14.0-RELEASE FreeBSD 14.0-RELEASE #0 > releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 09:12:14 UTC 2023 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC > arm64 1400097 1400097 > > did you build from ports or poudriere? > From ports. > > If the > > latter, what's the /etc/make.conf contain? > > > > Please post sysctl -a | grep aslr > > > > kern.elf32.aslr.shared_page: 0 > kern.elf32.aslr.stack: 1 > kern.elf32.aslr.honor_sbrk: 0 > kern.elf32.aslr.pie_enable: 0 > kern.elf32.aslr.enable: 0 > kern.elf64.aslr.shared_page: 1 > kern.elf64.aslr.stack: 1 > kern.elf64.aslr.honor_sbrk: 0 > kern.elf64.aslr.pie_enable: 1 > kern.elf64.aslr.enable: 1 > vm.aslr_restarts: 256 > > I did the esr build to test the build setup, since also the pkg in the > official pkg repo behaves the same i.e the one before 115.5 since 115.5 d= id > not hit the pkg repo yet, which works without aslr (set by proccontrol) S= o > unless 116 introduces something which requires sysctl changes for the > building tool chain while building my test should be valid. > > Thanks > > /jsm > > > ------------------------------ > > > > --=20 Nuno Teixeira FreeBSD Committer (ports) --000000000000d3291b060bc9488f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Port is at 120.0.1 (rc1) and for what I understanded = in mozilla PR, patch will be included in 120.0.1 release.
If I ha= d the time I will apply patch and try it on rpi4.

= Thanks


Ronald Klop <ronald-lists@klop.ws> escreveu no dia ter=C3=A7a, 5/12/2023 =C3=A0(= s) 17:39:
C= ould it be that you are experiencing this issue?

Bug 1866025 - Firefox 120.0 segfaults at startup (Linux with 16= KiB pages) [1]

Regards,

Ronald.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=3D1866025
=C2=A0

Van: Jesper Schmitz Mouridsen <jsm@FreeBSD.org> Datum: zondag, 3 december 2023 11:59
Aan: freebsd-arm@freebsd.org
Onderwerp: Re: firefox broken on arm64



On 03.12.2023 09.38, void wrote:
> On Sun, Dec 03, 2023 at 08:34:21AM +0100, Jesper Schmitz Mouridsen wro= te:
>>
>> Just build firefox-esr-115.5.0_1,1=C2=A0 and firefox-116.0.3_1,2 t= he first >> runs with aslr disabled, the latter signals 4.
>>
>> Any suggestions on what is going on are appreciated.
>
> What's the uname -aKU ?

FreeBSD generic 14.0-RELEASE FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9= 716eee8ab4: Fri Nov 10 09:12:14 UTC 2023 root@releng1.nyi.freebsd.org:/usr/= obj/usr/src/arm64.aarch64/sys/GENERIC arm64 1400097 1400097

=C2=A0=C2=A0did you build from ports or poudriere?
=C2=A0From ports.

If the
> latter, what's the /etc/make.conf contain?
>
> Please post sysctl -a | grep aslr
>

kern.elf32.aslr.shared_page: 0
kern.elf32.aslr.stack: 1
kern.elf32.aslr.honor_sbrk: 0
kern.elf32.aslr.pie_enable: 0
kern.elf32.aslr.enable: 0
kern.elf64.aslr.shared_page: 1
kern.elf64.aslr.stack: 1
kern.elf64.aslr.honor_sbrk: 0
kern.elf64.aslr.pie_enable: 1
kern.elf64.aslr.enable: 1
vm.aslr_restarts: 256

I did the esr build to test the build setup, since also the pkg in the offi= cial pkg repo behaves the same i.e the one before 115.5 since 115.5 did not= hit the pkg repo yet, which works without aslr (set by proccontrol) So unl= ess 116 introduces something which requires sysctl changes for the building= tool chain while building my test should be valid.

Thanks

/jsm

=C2=A0


=C2=A0


--
<= div dir=3D"ltr">Nuno Teixeira
Fre= eBSD Committer (ports)
--000000000000d3291b060bc9488f--