From nobody Sun Jan 21 21:19:14 2024 X-Original-To: gecko@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 4TJ5nv2XZ5z57m7Y for ; Sun, 21 Jan 2024 21:19:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TJ5nv1T34z460Z for ; Sun, 21 Jan 2024 21:19:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705871955; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DWCyauC9ZZ0UyhfZAWZSFoBSnZjoWk9DqdIC4b6OjgQ=; b=UJ3IAdJr78Tr4pHZ2njsha74hLkgG1VA1h37rGTOGVjDvoEJa18BxQanObFw3Ms8K7wF6d A3fbhy55Zhx6KwW3NG+0FDeUmrRNUjtRQwFmgD0rSD+EiWlyLJlZG6ELAudhvVqgkQ9rlc jd4OUo0MDTSMSnNAqno7KlJoEAZNeCQsgHP4JKZB6Q33y/aX3XXgC5XJaO2UHcWNNvxTBP hw8qZmQRfiYsShZdzryZIkC+0mfUb8OKR7vIzOAfkgD1QDIkZN+RwGL2ewzit6nMrF/mVZ jxDtMBXwKsDnDLinh8W30NbEQeIoTeSvkQ1P1yHfc1gku3bf2SUHJNEB7u771w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705871955; a=rsa-sha256; cv=none; b=dlNxKCv1Sw84OjzUPlEQ4we/DjEsvvxoQHdP0hPRh8eZq5YuR7OJ4kDx8A1DTSLps78ipd nn1bWRVH/HCoIlD7gFM4szL4C8H84KMQoV42ZrAwXs2fWr7vrJfszMvF81PdM0nf1NMA7T 0ZoWvC7txScghEYKu0Y4d80hotpP9X28YHGIFqDJ9Gt8ao21DnpiqaA0rivm/iVn7fym5o +Q1KV3rLVE63Mwcu8aAX1Y1y5ksQsVzRBYD5hKvYwhqQC8eaJyOTVes5NrqZzObPOhl757 YkxIwfrEz0UHcpyRFHrRZRXaw/EJon34kbXoW3ElEFKuLp7Ykij7L9BtNv+UNg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TJ5nv0Rd4zZKt for ; Sun, 21 Jan 2024 21:19:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 40LLJFdO012316 for ; Sun, 21 Jan 2024 21:19:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40LLJFVM012314 for gecko@FreeBSD.org; Sun, 21 Jan 2024 21:19:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 271081] www/firefox: crashes on arm64 with ASLR enabled Date: Sun, 21 Jan 2024 21:19:14 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jsm@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: flagtypes.name attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Gecko Rendering Engine issues List-Archive: https://lists.freebsd.org/archives/freebsd-gecko List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gecko@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271081 Jesper Schmitz Mouridsen changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #247141|maintainer-approval?(gecko@ | Flags|FreeBSD.org) | Attachment #247141|0 |1 is obsolete| | --- Comment #22 from Jesper Schmitz Mouridsen --- 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.=