From nobody Tue Dec 5 17:39:23 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 4Sl7854Cg1z53Fqf for ; Tue, 5 Dec 2023 17:39:33 +0000 (UTC) (envelope-from SRS0=Umjz=HQ=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int-backup.realworks.nl (smtp-relay-int-backup.realworks.nl [87.255.56.188]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sl7833FBTz3STJ; Tue, 5 Dec 2023 17:39:31 +0000 (UTC) (envelope-from SRS0=Umjz=HQ=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=gWN4b+RC; spf=pass (mx1.freebsd.org: domain of "SRS0=Umjz=HQ=klop.ws=ronald-lists@realworks.nl" designates 87.255.56.188 as permitted sender) smtp.mailfrom="SRS0=Umjz=HQ=klop.ws=ronald-lists@realworks.nl"; dmarc=pass (policy=quarantine) header.from=klop.ws Received: from rwvirtual375.colo.realworks.nl (rwvirtual375.colo.realworks.nl [10.0.10.75]) by mailrelayint2.colo2.realworks.nl (Postfix) with ESMTP id 4Sl77w0Z3dz1DL; Tue, 5 Dec 2023 18:39:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1701797964; 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=XfWrUMoY3bcOfCanDx7JYk83CBSfbJyr1hSuVZy8lR8=; b=gWN4b+RCxuMxBgkufxW/RBzuZBbYeX4alsSm4P1DZOyUrn22QEMdGSFE+9p9AHKtwWHHiJ a/Kk+JcPn81WnRPO6tV6MkS9sal72831BEWVksuEanO0MpcyiDgMOBqqusHlEDFbFS/BZt Kd3bkIhbf7dp22QzHFFswYT+RNuwHh+QrlZGcnmuK9t5tX2PcBA53To6HmwplpHHUSR/zN IKrMwgT0AjXOKGPVXhEUOTzd1WinUdZaWKigGapqI+kNqv869XbSw4nHu00axZLLtI5efY T6q+cz0vNy/LcMYJWVyztK5SuJ1aYtHg2bjegTGxDVR/OBmN7rViPZcnDv9tEQ== Received: from rwvirtual375.colo.realworks.nl (localhost [127.0.0.1]) by rwvirtual375.colo.realworks.nl (Postfix) with ESMTP id 06C95406C7; Tue, 5 Dec 2023 18:39:23 +0100 (CET) Date: Tue, 5 Dec 2023 18:39:23 +0100 (CET) From: Ronald Klop To: Jesper Schmitz Mouridsen Cc: freebsd-arm@freebsd.org Message-ID: <2097084863.1871.1701797963768@localhost> In-Reply-To: <46c52d37-36ec-45fc-8098-1029996c717c@FreeBSD.org> References: <9518dc38-e44b-42ae-bf87-6039ac278ac8@FreeBSD.org> <46c52d37-36ec-45fc-8098-1029996c717c@FreeBSD.org> Subject: Re: firefox broken on arm64 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 Content-Type: multipart/alternative; boundary="----=_Part_1870_2048837591.1701797963746" X-Mailer: Realworks (681.14) X-Originating-Host: from (84-105-120-103.cable.dynamic.v4.ziggo.nl [84.105.120.103]) by rwvirtual375 [10.0.10.75] with HTTP; Tue, 05 Dec 2023 18:39:23 +0100 Importance: Normal X-Priority: 3 (Normal) X-Originating-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0 X-Spamd-Result: default: False [-2.20 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; URI_COUNT_ODD(1.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=Umjz=HQ=klop.ws=ronald-lists@realworks.nl]; R_SPF_ALLOW(-0.20)[+ip4:87.255.56.128/26]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; ASN(0.00)[asn:38930, ipnet:87.255.32.0/19, country:NL]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; HAS_X_PRIO_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=Umjz=HQ=klop.ws=ronald-lists@realworks.nl]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Sl7833FBTz3STJ X-Spamd-Bar: -- ------=_Part_1870_2048837591.1701797963746 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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=1866025 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 wrote: > >> > >> 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 did not hit the pkg repo yet, which works without aslr (set by proccontrol) So unless 116 introduces something which requires sysctl changes for the building tool chain while building my test should be valid. > > Thanks > > /jsm > > > > > ------=_Part_1870_2048837591.1701797963746 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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=1866025

 

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 wrote:
>>
>> 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 did not hit the pkg repo yet, which works without aslr (set by proccontrol) So unless 116 introduces something which requires sysctl changes for the building tool chain while building my test should be valid.

Thanks

/jsm

 


  ------=_Part_1870_2048837591.1701797963746--