From nobody Mon Nov 17 03:04:12 2025 X-Original-To: freebsd-current@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 4d8szN0MTLz6GNhg for ; Mon, 17 Nov 2025 03:04:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4d8szM6Qbbz44N9 for ; Mon, 17 Nov 2025 03:04:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1763348665; bh=vSD/yS6F3nu2V9iozH5CUbe3hIVq7BWDw2Ufoi4oFdI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=WyTrxJNBKpjeMhPF3UVz96lz/g0VbXo2LAXzn58rYDER4ULB0Odp2vV0tlZwV8BjnRGKwOxbHdl2UcbP9EFB7lrSwlcEVUY18k10U4vEnxBKwRuFtsDmCCkMR4PNqZ4Nea+Ar4x40Gfzk1c+uw9V8zjtiTzq12F9TBH3OgOxsudVK8XXK6Culwp4P0tc/6Equka4FetH1TWGKLIAFyUfn6HLtkMd+0O1PBvWS9yxT9hLXYYpjnmm0yfEWRdEj0Q7hkJPkt8BU+lbP5nibt+zLpipf8HI137RvF+951cZm9TwBPDtkkh889c9Uvgtb6OjLdiYeLXso6ve5Fb2WBMj4w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1763348665; bh=nFEwTdnaDGCddhEcv8Abeo+qnW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WP82ZSpA19ohba3f3XFZbAiIxtCMSVSFHp4wpz9Om_G.0WZZyTajbpNYRWmGhp PmSumV.sl3jhGByvqaH3Ak74juweLEOXRuI9wAY4Cs9nqRCQO0KBZ8SEBJzFKd54Q3RUZoyIAZbw sfGLM1kDIrOSh7iZ2AFOILgcACB7MoCNxo5umaKA5mASr685B3TnMekgaAAlgFCcw0vRMGmE7.xi _UM9vVJflRS8j3jcLpTiXT4rINqm17dFMGd4qCBvnhAnphbdMt3.dzLD9xGuHfEIRhvtwYuZwnfv kSY3UJwKXdh747KX4WaSm9q4DDsOiyMO_A9bvTn2XTRaODghY.eLmZYEbVt.XqV3wToq8QFinsJ5 xXbyVRESVQpf16Q9mvaA4uO5MuVGPPRbUsNT3uA6pJKZWzrkmwJNRGHVmPuOyDpf8DBoIQUK5gxS Xsupga.kk2fphVdjodulk528X3g6x3l275KQgB9_1WLcIFnRryJoQKoMRWKbc6NNV4YMJ72uyf9R YjL1mZIf84_DQHW.IYNJLm_uFfRaJqYtjQE6.XolsSf.LdOuORJPPArw2XWKVyJOM3a4OijBf6RH RyDs- X-Sonic-MF: X-Sonic-ID: eb8b2ccd-17a4-47d0-aa7b-d0904d436490 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Mon, 17 Nov 2025 03:04:25 +0000 Received: by hermes--production-gq1-76c986f798-th5cb (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 524f9784749b61c0631b69963c406174; Mon, 17 Nov 2025 03:04:23 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: Still seeing Failed assertion: "p[i] == 0" on armv7 buildworld From: Mark Millard In-Reply-To: Date: Sun, 16 Nov 2025 19:04:12 -0800 Cc: Michal Meloun , Warner Losh , "freebsd-arm@freebsd.org" , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <4957be52-e57f-4f5f-9626-d0f706480fe1@FreeBSD.org> <87ldk9f4tt.wl-herbert@gojira.at> <0a93ab5f-3fdf-45a0-8b32-2df5ef4ad60a@FreeBSD.org> To: Konstantin Belousov X-Mailer: Apple Mail (2.3826.700.81) X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4d8szM6Qbbz44N9 On Nov 16, 2025, at 18:03, Konstantin Belousov = wrote: > On Sun, Nov 16, 2025 at 10:11:15PM +0100, Michal Meloun wrote: >>=20 >>=20 >> On 16.11.2025 18:51, Warner Losh wrote: >>> Maybe try main with the following patch. Adrian noticed the TLS >>> mismatch. I don't think it will matter, but TLS thread model stuff >>> always gives me a big headache. If the following fails to apply, = just >>> copy the JEMALLOC_TLS_MODEL line from i386 to arm. The default = changed >>> elsewhere, but this wasn't updated here. >>>=20 >>> Warner >>=20 >> Unfortunately, that doesn't help. I'm out of ideas on how to debug = this, all >> of my attempts have failed. >>=20 >> The problem only occurs when Clang compiles a larger project and is >> intermediate. Attempt to compile the clang generated reproducer is = always >> successful. >> It's clear that the parallelism introduced by make plays a = significant role. >> But the system never reached an OOM condition before failure. >=20 > Is the problem reproducable on armv7 userspace running on arm64 kernel Yes, I've replicated the problem on a Windows Dev Kit 2023 in an armv7 chroot with the system boot's having hw.physmem=3D2G via /boot/loader.conf and the SWAP space sets to 3.5 GiBytes. "env META_MODE=3D make -j8 buildworld" was executed in the chroot until it failed with the assert Bob P. has been getting. The aarch64 system was an installation of an official pkgbase distribution, not a personal build. Same for the world in the chroot. All main [so: 16 at this point]. Absent the memory pressure from the small hw.physmem, I did not get the failure. I also tried experiments with aarch64 doing an armv7 buildworld with some small sizes for hw.physmem . I got no failures. So far, only armv7 has been shown to have the issue. =20 > , or only > on native armv7 host? The armv7 kernel does not need to be involved at all: just the armv7 world. =3D=3D=3D Mark Millard marklmi at yahoo.com