From nobody Mon Nov 17 02:03:50 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 4d8rdh3ZNLz6GHwp; Mon, 17 Nov 2025 02:04:08 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 4d8rdg6ZTTz3vRw; Mon, 17 Nov 2025 02:04:07 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 5AH23ow3041259; Mon, 17 Nov 2025 04:03:53 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 5AH23ow3041259 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 5AH23owI041258; Mon, 17 Nov 2025 04:03:50 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 17 Nov 2025 04:03:50 +0200 From: Konstantin Belousov To: Michal Meloun Cc: Warner Losh , "freebsd-arm@freebsd.org" , FreeBSD Current Subject: Re: Still seeing Failed assertion: "p[i] == 0" on armv7 buildworld Message-ID: References: <4957be52-e57f-4f5f-9626-d0f706480fe1@FreeBSD.org> <87ldk9f4tt.wl-herbert@gojira.at> <0a93ab5f-3fdf-45a0-8b32-2df5ef4ad60a@FreeBSD.org> 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0a93ab5f-3fdf-45a0-8b32-2df5ef4ad60a@FreeBSD.org> X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4d8rdg6ZTTz3vRw On Sun, Nov 16, 2025 at 10:11:15PM +0100, Michal Meloun wrote: > > > 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. > > > > Warner > > Unfortunately, that doesn't help. I'm out of ideas on how to debug this, all > of my attempts have failed. > > 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. Is the problem reproducable on armv7 userspace running on arm64 kernel, or only on native armv7 host?