From nobody Tue Aug 01 17:12:12 2023 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 4RFhWp6006z4pdvJ for ; Tue, 1 Aug 2023 17:12:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.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 4RFhW434sfz4NJ7 for ; Tue, 1 Aug 2023 17:12:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Ftk9kxdw; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.148 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=1690909949; bh=RtGKRq3HolSNhZFf4oRxvkzjBx9g6SsdopTRX5hch6A=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=Ftk9kxdwFFdJdeXTr25sw/fij3PK7l4TYLdto4mclgWem4t8EeUvaAKTIdzr+JYP21KjV2J0l2eDFF+X9cS1nWgi6wuo28N89FjYFBNw7/wvvqOwhGuEP3PX7Wds9ZYg2oabLOX6ueEdW/ROySaTwAVXDi477LmumWgSDwd5URp+kzM7e3yaKacVOxiW9z5zzPivlua28Mf++OADx0p3FG/YT0naZU+xb8QvB5fkTs97bnnMbVLJCDbNuhfcLdxEaj5mL/ZP5BsXZr5GYp8iWN0qaxAwBaS8BYhoWb1G1vm7cvn2GVy+Iuhg9os4uUm4V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dF35ACx0KCwZC7Hzvpd2tRMMmv4SU60RfDMtAuo7USV3 whWwT1FdbrY01kKAPfwNR5adtttpwYopF40MyzMCJWCBX4926DwgQP1m_tG7IOxW.UoEGp2jPGyu ii70gPl5QgEi9mBOtPm5XlfSxMzIjOuUUP3wCkQrq0PABU5Lk0iBzdDGiiuqi90SVyRjrh7HG3KG bhvNL1W3Tu9.2koUaCTqPW.5BQxYgtfj01c69a3qL1QTjGvGXV9MEV.0Q3XKTs0EhGDgR5rHQ00P SF1bfQguNS3JrlHSxwvZLfC_sTKNiz7bhqj3TdMMEGq6re6D8jfWLQyatf.6OzXXZ6STf_Iv3KK1 luLG2JURGzS_zLQydOnAfwycdz0SoT_11HRSeW20kQ2N0w.OvpZgwlpepr_j024g_qeKYsifomOP LofLuV1icnt8XiUD8XwHbT.Gr4B65dyyRLGKXw5aUnWX8Liq.p0ltMpN1109YzgVcJvC2oVdZDNf u8fxd1N3767yWOhb1_PAaRaBkcs9vdytxeXLSeSRWhEKsRIDkEu.8yyTsCPk4bAd215s9ryd_kgy L6p1ZWQBHtqSW3rfeyItrdSIKDSD3Ze6nU42Afh3bU6iKbXFsviYUwY1d_8c2KI9ADSWG6ZyOAAn Hzj4SaE2qcnUTXZpaHrh.7Ma.I5PUL9buF6AJPLt8BOkJXi21O9FXxyoyEuKUEK0Wo62rdhWG3k. RiQ-- X-Sonic-MF: X-Sonic-ID: aa73251d-4777-4026-9fee-c827283a6e06 Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Tue, 1 Aug 2023 17:12:29 +0000 Received: by hermes--production-ne1-549c7f6c44-c7r4q (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 882422d1e25e66c73e15c57108bab52b; Tue, 01 Aug 2023 17:12:24 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 \(3731.700.6\)) Subject: aarch64/armv7 via lib32 and via chroot: db_test:btree_byteswap_unaligned_access_skbd gets bus error Message-Id: Date: Tue, 1 Aug 2023 10:12:12 -0700 To: FreeBSD ARM List , Current FreeBSD X-Mailer: Apple Mail (2.3731.700.6) References: X-Spamd-Result: default: False [-2.12 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.987]; NEURAL_HAM_SHORT(-0.60)[-0.596]; 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]; NEURAL_HAM_LONG(-0.04)[-0.041]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.148:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.148:from] X-Rspamd-Queue-Id: 4RFhW434sfz4NJ7 X-Spamd-Bar: -- I do not know if the unaligned access activity in the likes of: db_test:btree_byteswap_unaligned_access_skbd is some form of FreeBSD requirement or not. But, for armv7 activity, it results in a bus error (and kyua test failure). Probaly also true native armv7 operation. =3D=3D=3D> lib/libc/db/db_test:btree_byteswap_unaligned_access_skbd Result: failed: atf-check failed; see the output of the test for = details Start time: 2023-08-01T09:07:38.975390Z End time: 2023-08-01T09:07:39.006220Z Duration: 0.031s Metadata: allowed_architectures is empty allowed_platforms is empty description =3D btree: small key, big data, byteswap unaligned = access has_cleanup =3D false is_exclusive =3D false required_configs is empty required_disk_space =3D 0 required_files is empty required_memory =3D 0 required_programs is empty required_user is empty timeout =3D 300 Standard output: Executing command [ = /usr/obj/DESTDIRs/main-CA7-chroot/usr/tests/lib/libc/db/h_db -o out -i = psize=3D512,lorder=3D1234 btree in ] Executing command [ = /usr/obj/DESTDIRs/main-CA7-chroot/usr/tests/lib/libc/db/h_db -o out -i = psize=3D512,lorder=3D4321 btree in ] Standard error: Fail: program did not exit cleanly stdout: stderr: Files left in work directory after failure: h_db.core, in, out For reference: Reading symbols from = /usr/obj/DESTDIRs/main-CA7-chroot/usr/tests/lib/libc/db/h_db... (No debugging symbols found in = /usr/obj/DESTDIRs/main-CA7-chroot/usr/tests/lib/libc/db/h_db) [New LWP 102818] Core was generated by = `/usr/obj/DESTDIRs/main-CA7-chroot/usr/tests/lib/libc/db/h_db -o out -i = psize=3D512'. Program terminated with signal SIGBUS, Bus error. Invalid address alignment. #0 __bt_pgout (t=3D, pg=3D, = pp=3D0x4060651c) at /usr/main-src/lib/libc/db/btree/bt_conv.c:174 174 P_32_SWAP(p); (gdb) bt #0 __bt_pgout (t=3D, pg=3D, = pp=3D0x4060651c) at /usr/main-src/lib/libc/db/btree/bt_conv.c:174 #1 0x401468ac in mpool_write (mp=3D0x40610000, bp=3D0x40606500) at = /usr/main-src/lib/libc/db/mpool/mpool.c:406 #2 mpool_sync (mp=3D0x40610000) at = /usr/main-src/lib/libc/db/mpool/mpool.c:329 #3 0x4013d548 in __bt_sync (dbp=3D, = dbp@entry=3D0x4060b000, flags=3D) at = /usr/main-src/lib/libc/db/btree/bt_close.c:146 #4 0x4013d35c in __bt_close (dbp=3D0x4060b000) at = /usr/main-src/lib/libc/db/btree/bt_close.c:80 #5 0x000221b4 in main () =3D=3D=3D Mark Millard marklmi at yahoo.com