From nobody Mon Mar 04 03:25:30 2024 X-Original-To: freebsd-hackers@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 4Tp3xS4Gvhz5Bg3m for ; Mon, 4 Mar 2024 03:25:48 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.gq1.yahoo.com (sonic314-21.consmr.mail.gq1.yahoo.com [98.137.69.84]) (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 4Tp3xQ0wy1z410Y for ; Mon, 4 Mar 2024 03:25:46 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=FkacIrC9; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1709522744; bh=5IE0gcMeEEcBcf7o0hwaYPcoHBYbQHRpcTB1uRxGu98=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=FkacIrC9OjU+mKeWuyQSmeqy4sYPUQOcIfcOAvaJUexeEVGF0BxBI7thzoliZVh2+tu/07TKca2ktQN6tKhx5if1sYumK3K4YgaqfuZ2iOMGwc+bjN1YIqGrptgFEklX8aTkh/qlTSj1pCV1p+cHw+9k/hn5h/CUQ3IT8r3CualDgRs56dCl+ZY+lNtAQg3H7U/2Q+kHx9ueJgHJK2tiwPOaFhLR++VY7Btffz2f9u3mzMK96kUM2p0FRIMMOG4VmgJN7fNNhbcEHzBx4EudaeK4M1hE75Mse4b6mC/TYHYwPJDogxkRkfQRLXxiaahm+YUqpGrzbmJv+vxto2rCOw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1709522744; bh=/GE9JSEm+70+8H7ihF4XahXboMvFvbMmYjbIajNyRpB=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=bhFWfSx6nJxNJib0EUNaYu6HkBuYVNxc4YtLdI/F28jMLKas2jZcpXIzzBSWX5vHsGKUmakLjIeeyxf1zzImKjZcenS521MpNH7oluAExgm9m98oV/wKakar6nEUjB5yrh9VgYlcwFM5QAdfVwEhb3A2vazPWTRP3JZ6ve0wKfQhX6NBZuJIWoLupMw1n2bPMGTYJu3xlaejKGCrszuGYh/mOw3zlF6NTUl80ydoJjNBMPgGq8slCJ7b/zBpT6w5FfPXE/xru7VySHyz5ldq6k0OGDkfsCmUEFXO+rRrCqmg6NT8jNGjzBnJtVOL3SDEqoAWDqGPzNuQCXaeCS+puw== X-YMail-OSG: sXbeKVAVM1lGqFYQbKz8BBnP2pD2KDvQhK5phGcdWfUMaIW7BSbAKTxCMTKRT.C DSiyuywhv3AknrZpwOwFIBQHh6XYillLZGBOm_bjnEgR_fTUjJ9nkL7uZOiCPQtvvOnZE6FrkRdf 1QlE13NS3jhzWjoQY6h54fFysToylP1mMN3opPOvx0veWUsLoMOvqckyiUJULHJfbBAX3HTqZg2R ORmGZQTv6oeOGPzZRF2iW1todicUdVyH9MljWJtrqp7IW1h_ysAttouGzXK0XK4deoFn_Hy7KyGZ bUwf5tbJWSJebXmAwLLS2sv1iWN4NdYUJgAA1J0nZNdmD49TJE1RsvXcnC1v08z_4TAcV_iXF0US wS_vCohk4msuYcIFEk9FY3odzuC.uQ6DCmq8fuP_PFCLk79Xe3XjW4peipEyAsJbP_03.VvzjE5T GUZDB1kY06UWo8HsfGoLWiAaVWRmXyQMuyf4zDeze7wgPtipiITnY.E1sxN9MOXzCHiHB2gfHprW hgzABHkLmkd1sN_sCVc5kf.oN1sZL5N95LlD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aFgo4RQxWdA.Jl5sSN0jyoSwibtFYePndSbS12D8Y36xKrjwJEyvbooxr dzc61ViLZuqPsjDyxbmLwzb1yC2ZxburuEsJjMBjrvGea0hAaRzP9Je1PXzQ0bXEOZmLYbpsmk95 yY3syUPf7XGL0SMfkqxaOi4gPckS3BtOYjFfCwB.V3shxF656zye..6iWCmrOF8NTU33826.d5oQ KEXGN.5JbBparTgMIiLIjhBCM_zcoc0mfAlu8tcVXzqk7E3Q2W.LGJkFeSg2SquLiNx48l2np.fa B8xNiz_hhEHCQ.VuyXY0mv382VfNHZTiDpbd1R2vLq.VncMvN1GhcDyjJmHq8eHLrrxiPQzjiYLR gsJkly80Qm.QScT5i_tg.vT8ncl70sRgsl3GL9rNjjGWhHTXPWuKAV_xZuh8Bw1rIr7UTCm3PWGg Yhz9uLQd_Y0YoCaz_N3X7c7I5n5EVHgJ4m985JO.kg45hfsE34Ux.CdY6IB6asQnjHcOdykuLo5D ROcLjx4lqEe9wMfiRz2ozQmh9edMNQykZ2USf2gZqehnh1XUhNqXhmeVx8tpjv9LbDbGbqcSLkfM PapuK2C8zuMSaJZFPtaV.c.xsdEZjdjrAoDAnvvT_E_psU4ol4tVH4zusVuKyI0XhgRkBaRaP4EW OXpWwiu2SYotlsH1zSWnrgDrXwjmw9wJAoG_Y4dB_zEuuJvnYoCzXNrJIKs06Fu7FuSu0p02k X-Sonic-MF: X-Sonic-ID: 46da26fb-7173-4cd8-9598-1a7e9d7f9032 Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Mon, 4 Mar 2024 03:25:44 +0000 Received: by hermes--production-gq1-5c57879fdf-bmngc (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ae4afdc10117a2ccee486ed93e210895; Mon, 04 Mar 2024 03:25:41 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: In rust build, PkgBase armv7 in armv7 poudriere jail on aarch64: jemalloc's arena_choose_impl got Failed assertion: "ret" (arena_choose_hard result) Message-Id: Date: Sun, 3 Mar 2024 19:25:30 -0800 To: freebsd-hackers , FreeBSD ARM List X-Mailer: Apple Mail (2.3774.400.31) References: X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; APPLE_MAILER_COMMON(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.84:from]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.84:from] X-Rspamd-Queue-Id: 4Tp3xQ0wy1z410Y The context for this is messy and the failure happened after hours of = high load average bulk build activity. 32 GiBytes RAM with 118 GiBytes of swap (so: = RAM+SWAP =3D=3D 150 GiBytes). 8 cores (4 cortex-A78C and 4 cortex-X1C). Windows Dev Kit 2023. llvm18 = was also building. (Note: https://pkg.freebsd.org/FreeBSD:15:armv7/base_latest/ last = updated over a month ago: 2024-Jan-25 09:48 UTC most recent file timestamps.) The aarch64 world in = use to do the bulk run was via a chroot into a directory tree not matching the boot = world. (The boot world was a more recent PkgBase aarch64 world, explaining the = /home/bapt/worktrees/ in the path in the message.) : = /home/bapt/worktrees/main/contrib/jemalloc/include/jemalloc/internal/jemal= loc_internal_inlines_b.h:23: Failed assertion: "ret" /* Choose an arena based on a per-thread value. */ static inline arena_t * arena_choose_impl(tsd_t *tsd, arena_t *arena, bool internal) { arena_t *ret; if (arena !=3D NULL) { return arena; } /* During reentrancy, arena 0 is the safest bet. */ if (unlikely(tsd_reentrancy_level_get(tsd) > 0)) { return arena_get(tsd_tsdn(tsd), 0, true); } ret =3D internal ? tsd_iarena_get(tsd) : tsd_arena_get(tsd); if (unlikely(ret =3D=3D NULL)) { ret =3D arena_choose_hard(tsd, internal); assert(ret); . . . For reference: . . . [main-armv7-default] [2024-03-03_12h08m11s] [parallel_build] Queued: 265 = Built: 255 Failed: 0 Skipped: 0 Ignored: 0 Fetched: 0 Tobuild: = 10 Time: 06:29:58 ID TOTAL ORIGIN PKGNAME PHASE TIME = TMPFS CPU% MEM% [01] 04:32:52 devel/llvm18@default | llvm18-18.1.0.r3 build 04:26:27 = 8.58 GiB 432.9% 4.5% [05] 04:32:52 lang/rust | rust-1.76.0 build 04:31:14 = 22.07 GiB 230.5% 3.1% [06:30:02] Logs: = /usr/local/poudriere/data/logs/bulk/main-armv7-default/2024-03-03_12h08m11= s [06:33:33] [05] [04:36:23] Finished lang/rust | rust-1.76.0: Failed: = build . . . My monitoring got "Maximum observed" figures: 60015Mi MaxObs(Act+Wir+Lndry+SwapUsed) 56885Mi MaxObs(Act+Lndry+SwapUsed) Swap: 29443Mi MaxObsUsed 31293Mi MaxObs(Act+Wir+Lndry) 3146Mi MaxObsWired 26712Mi MaxObsActive (Sampled via a top variation.) (Note: UFS file system, ZFS not loaded: no ARC.) It is unlikely that I'll reproduce this failure, much less identify a simpler context for reproducing it. I do learn from this that PkgBase for armv7 has that assert enabled in that code. (I do not know if that is typical or not.) =3D=3D=3D Mark Millard marklmi at yahoo.com