Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2024 21:19:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 271081] www/firefox: crashes on arm64 with ASLR enabled
Message-ID:  <bug-271081-21738-3ECdga1g6R@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271081-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271081-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271081

Jesper Schmitz Mouridsen <jsm@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #247141|maintainer-approval?(gecko@ |
              Flags|FreeBSD.org)                |
 Attachment #247141|0                           |1
        is obsolete|                            |

--- Comment #22 from Jesper Schmitz Mouridsen <jsm@FreeBSD.org> ---
Created attachment 247827
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247827&action=
=3Dedit
align mmap

>From https://reviews.freebsd.org/rS343964 I concluded that MAP_FIXED simply
turns of randomization(?) with aslr enabled.=20

With aslr enabled without the MAP_FIXED hack not all pages were aligned cau=
sing
calls to TryToAlignChunk which somehow causes failures. I cannot yet explain
why TryToAlignChunk fails. It did not seem to ever get called with aslr
disabled. Thus a second hackish attempt to fix running with aslr enabled on
aarch64, is attached, which tries to ensure alignment to the desired alignm=
ent,
if I did not misread the mmap man page. I marked the other attachment obsol=
ete
because the jit part hopefully gets accepted by upstream.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271081-21738-3ECdga1g6R>