From nobody Tue Nov 26 06:10:00 2024 X-Original-To: ports@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 4XyBy11Wvcz5dwkb for ; Tue, 26 Nov 2024 06:10:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-8.consmr.mail.gq1.yahoo.com (sonic316-8.consmr.mail.gq1.yahoo.com [98.137.69.32]) (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 4XyBxz4s5Vz4Nmf for ; Tue, 26 Nov 2024 06:10:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=C3rdzGV0; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1732601412; bh=iNg7Vxtzvk5cxXD8x6BPbMHv6+JWtPW/rCmd4mHEKXM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=C3rdzGV0j6XM7WGjRAwp02YQ/855PLVFD0GjuTCfhKCucT7lL/rAauGtaiwYKkcszhUVTI37kkS1g8f6cZCsfDSPlUyduUDwwom0OIzGGzZVj2v0+Kq6c03gGqjxxjtbzEXDP86BBteCMAe19MwUHh0e5rvOmpjym2J3HB4OH/yQzGdUmHZV/7+C6eIz3RWVmgMBoplANMSxEq/uNoy3iMKP+cBKFimT8tivkg4BUUQC72nn0nIGmfUq4EhZzotoe07xV+I75Uu7xVwEV4nWF4Hx31Fy4dti1LCX8mAzyTio3MPmVlphYSrzWukq2js9AlHvEjGg0pWO1AeXaYuz0g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1732601412; bh=OgA97Cg1BFFCOLNhEa6EykPAD6NmuaJcGas/zL6/b6A=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=GzMdVpkyre7yT+l/OUolj2tO0AmFDNLVBgRkouZTL1o3qzyBiyOgc4co5GNG1405EjDBXbFmMTuO+t1w0mNx98NU68MjGE4MgpMvr/HPCq//SznPE46AiHaRT0NciINPr2atMZNqtcFJttg7ybPn3+dQX/fS02X1t978blxFUNzyFkcm4u6nmyDU7IhaJBPXcGEbBqGUxuNaiBxbuvK6wSUeWcFScK2yS2EHkSxZe3xxDwJvGaOu0vasICGKYIvPwpGP24atzOz1EAbhDLJwuakePX9W5GB/6rlIRHk1vfGDeN2HE5wM/pvciyly2Ref6fMIvYxK966+5JNaNQeHxA== X-YMail-OSG: qnOFeucVM1mNyNeosL_9CVCkgHrk.AO4cNpaUR5E4GPLKO2sNc8L3UhVwrutHjp HxUlvCDOrtJhnCa3zpodZz4QcetGhFeUMslfAH9RxAQnaB0uXtsfgtntpWjvrXPf7cXXAoaqCezT VjSNljSDGylk98jV4sdsfK1huLv5ZBHwG0LqBy1Xzm2zA9qVmrDgJZlvxH6DERI88EGAfK4QuvMq _qumxoeLIGlQULi4U0F0mfoPb2VFP2zlBPu2RWNoWAoHwfaryVZHsFukEoyVQYgKNcT3VWuRxL2l zVl_GTJpFYzIfj1Iwj_8XiRXjFTs72GvRWLyH1Av40kvV08ZYI_PwiuU2TypO4VihhFyPYVOrKym L9TAa9bpfp_wwJyb7y5V9TDysKxlMcjwfXQNlAThPLHFMDULbjK17F76nrXlMv1RvGD3Qgq8w4AJ CvoHkYtCD5whLZSJ_uTOZCpRiT_tf0dsWjr75itTEdb2CIw2_mMgASbUNspGk9KNQSPRpU3OlPzT Ut.FUAhYt7e3y29OxTE_03TGeIExIitObI_93zKwd7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3icsR.Sxh6bu2xOZ2HehHjjrSv msiuZP8ruugfespX38NutbGcuFXdE3zZXmsm3ZJtvvgZvYuq9UQYUsYB7Jf0TxsvhuTjL3rWCkLw jk2QHqQR4QeMAAZfSJvKdpwIuhrGfOsBsNqhUnAN9DYy3qOfZ.Ex39VfzwrYWQkC2cZ0Td3CYud0 UYqXUll2xufHN3FPi2B_7hJ7SZEhVNr_DWJe0cA7qdytnbzgfvytOQjlRlACY3rPum5tx6BouDyO EVQ.IhU7b7TqeX3THcxkQWiylW_AWr.mkjm2_DiW4g4KC1DIBcslweHBnlNsOhUH5b.Ka2GpHhRh giEMSPx_nO_h8axOgpx3tXagkqCkZ1bJgGJwEuHB0uZXbL32aUFR3_KtCT_XhDyj_e2oLDbnWwez TfVhV.CRTZKsQUGV51fFtmD.oCTRtga60Rpq5vcDfNkQPgfk17O8ByTxY7nc.dZyV_nudCPFQus_ QugAkTI7KIzGOsLcaoSde7eNjmA.hFuZx2margMj.11fIEdUYQVzzeYSmiLwCgcNa4VifG7FUOeG VYWhaynilEhLtcKHh5nJwO3GfO1VGjQuvD0fdL7zVoY6S2xn23CO39wtkhlfIh1vEpRbYptp6nRB hdRFIkhrc20Rgxo9CoTO38tiGs8EnCnwSvieTw377ApWn6vLmhyBVRNN3N3r2TnZjyQFF5yE9Lnc 0NuWvqto1vqFjT8IsJOeNyDQ- X-Sonic-MF: X-Sonic-ID: 71d23aa7-2c2f-425b-8de1-ba97eb6e18fb Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Tue, 26 Nov 2024 06:10:12 +0000 Received: by hermes--production-gq1-5dd4b47f46-k4d2j (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c97bb757c80f8d8e548e0e0aeb72e0b0; Tue, 26 Nov 2024 06:10:11 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: port binary dumping core on recent head in poudriere [tmpfs corruptions involving blocks of zeros that should not be all zeros] From: Mark Millard In-Reply-To: Date: Mon, 25 Nov 2024 22:10:00 -0800 Cc: Dimitry Andric , Guido Falsi , =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= , Yasuhiro Kimura , ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <0690CFB1-6A6D-4B63-916C-BAB7F6256000@yahoo.com> References: <46E3A370-A3E0-4BAF-B707-87F94F98E248@FreeBSD.org> <5ee47c3d-f80e-4d50-9b6a-acb3c98e80e0@madpilot.net> <7c9c3cf5-bbd1-4642-8d04-33aa07a4db02@madpilot.net> <9df256a8-c6ed-46d9-b955-fc2657c12d36@madpilot.net> <5c502054-7353-4a1e-8350-c403482e9c0d@madpilot.net> <3127C3BA-FC93-4636-ADDB-89518DE9C60D@FreeBSD.org> <86ed2zsp6l.fsf@ltc.des.dev> <5f24a570-26e0-4c0a-817f-591a234fd07b@madpilot.net> <5918C6A1-8FDB-40CA-8C86-EB7B7BE75A2E@yahoo.com> <86ed2zc8r5.fsf@ltc.des.dev> <45098ccf-4dc6-426c-849a-c923805d6723@madpilot.net> <38658C0D-CA33-4010-BBE1-E68D253A3DF7@FreeBSD.org> <1004a753-9a3c-4aa2-bfa8-4a0c471fe3ea@madpilot.net> To: "jah@freebsd.org" , dougm@freebsd.org, asomers@freebsd.org, Mark Johnston , FreeBSD Current X-Mailer: Apple Mail (2.3776.700.51.11.1) X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_DN_EQ_ADDR_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.32:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[ports@freebsd.org]; RCPT_COUNT_SEVEN(0.00)[10]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.32:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-Rspamd-Queue-Id: 4XyBxz4s5Vz4Nmf X-Spamd-Bar: --- On Nov 25, 2024, at 18:05, Mark Millard wrote: > Top posting going in a different direction that > established a way to control the behavior in my > context . . . For folks new to the discoveries: the context here is poudriere bulk builds, for USE_TMPFS=3Dall vs. USE_TMPFS=3Dno . My test context is amd64 on a 7950X3D system with 192 GiBytes of RAM. Others have other contexts, including an Intel system. > I changed USE_TMPFS=3Dall to USE_TMPFS=3Dno : >=20 > USE_TMPFS=3Dall gets the failure Note: The test case is corruptions of the likes of parts of the .got.plt in libsass.so.1.0.0 from text/proc/libsass . The corruptions are well 4 KiByte aligned blocks of zeros showing up in the files that should not be that way. 2 examples of bad libsass.so.1.0.0 builds have: Contents of section .got.plt: 2bed60 00000000 00000000 00000000 00000000 ................ . . . 2befc0 00000000 00000000 00000000 00000000 ................ 2befd0 00000000 00000000 00000000 00000000 ................ 2befe0 00000000 00000000 00000000 00000000 ................ 2beff0 00000000 00000000 00000000 00000000 ................ 2bf000 96ab2a00 00000000 a6ab2a00 00000000 ..*.......*..... 2bf010 b6ab2a00 00000000 c6ab2a00 00000000 ..*.......*..... 2bf020 d6ab2a00 00000000 e6ab2a00 00000000 ..*.......*..... 2bf030 f6ab2a00 00000000 06ac2a00 00000000 ..*.......*..... . . . Contents of section .got.plt: 2bed60 00000000 00000000 00000000 00000000 ................ . . . 2befc0 00000000 00000000 00000000 00000000 ................ 2befd0 00000000 00000000 00000000 00000000 ................ 2befe0 00000000 00000000 00000000 00000000 ................ 2beff0 00000000 00000000 00000000 00000000 ................ 2bf000 00000000 00000000 00000000 00000000 ................ 2bf010 00000000 00000000 00000000 00000000 ................ 2bf020 00000000 00000000 00000000 00000000 ................ 2bf030 00000000 00000000 00000000 00000000 ................ . . . 2bffc0 00000000 00000000 00000000 00000000 ................ 2bffd0 00000000 00000000 00000000 00000000 ................ 2bffe0 00000000 00000000 00000000 00000000 ................ 2bfff0 00000000 00000000 00000000 00000000 ................ 2c0000 96cb2a00 00000000 a6cb2a00 00000000 ..*.......*..... 2c0010 b6cb2a00 00000000 c6cb2a00 00000000 ..*.......*..... 2c0020 d6cb2a00 00000000 e6cb2a00 00000000 ..*.......*..... 2c0030 f6cb2a00 00000000 06cc2a00 00000000 ..*.......*..... . . . So: Where the zeros end varies but the start of good data end up's at some 0x...000 offset: a multiple of 4 KiBytes. > vs. > USE_TMPFS=3Dno works just fine >=20 > So it is a FreeBSD system error associated with > use of tmpfs . Recent work on tmpfs includes: Mon, 09 Sep 2024 =E2=80=A2 git: 8fa5e0f21fd1 - main - tmpfs: Account for whiteouts during = rename/rmdir Jason A. Harmening Fri, 04 Oct 2024 =E2=80=A2 git: 75734c4360fc - main - tmpfs: check residence in = data_locked Doug Moore Sun, 13 Oct 2024 =E2=80=A2 git: ec22e705c266 - main - tmpfs: remove duplicate flags check = in tmpfs_rmdir Alan Somers Thu, 24 Oct 2024 =E2=80=A2 git: db08b0b04dec - main - tmpfs_vnops: move swap work to = swap_pager Doug Moore swap_pager (given the reference to it above): Tue, 08 Oct 2024 =E2=80=A2 git: d0b225d16418 - main - swap_pager: use iterators in = swp_pager_meta_build Doug Moore Fri, 11 Oct 2024 =E2=80=A2 git: 1107834090be - main - swap_pager: swapoff detecting = object death Doug Moore Thu, 24 Oct 2024 =E2=80=A2 git: 34951b0b9e78 - main - swap_pager: move = scan_all_shadowed, use iterators Doug Moore =E2=80=A2 git: 02e85d1c8a41 - main - swap_pager: fix assert in = seek_data Doug Moore=20 =E2=80=A2 git: faa9356f97d2 - main - swap_pager: fix seek_hole = assert Doug Moore Sat, 26 Oct 2024 =E2=80=A2 git: 39f6d1e7f835 - main - swap_pager: iter in haspage, = lookup, getpages Doug Moore Wed, 13 Nov 2024 =E2=80=A2 git: d11d407aee48 - main - swap_pager: Ensure that swapoff = puts swapped-in pages in page queues Mark Johnston I do not know at this time when the corruptions started. The above is only suggestive. =3D=3D=3D Mark Millard marklmi at yahoo.com