From nobody Sat Jun 22 01:17:54 2024 X-Original-To: virtualization@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 4W5bv65rkcz5Nhd4 for ; Sat, 22 Jun 2024 01:17:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W5bv60VJsz4vVt for ; Sat, 22 Jun 2024 01:17:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719019074; a=rsa-sha256; cv=none; b=WazllhmalkwpDg/8BVRxG/N5mZLKk33OUgXwohpHwl9CgJg+raYUNU2G0X5W5JcCk6kUzE vVTlJcV0ErFEy7buJtVkeGK00b42He0Zs4xC2XKa5m25xz+fRT3nr64/X888uUt4Sf58/0 261vpGUcFubNg/fwom/8BNCrzEpGIdTJKeJ92yVAgb5oWzhj5InJDvZv7KTGnxTcAvUeSV l9KG5n3Q5hJt2BsaPsWg2BHCveAkvl5HOhFH8N04WD2+U/pSUdrnEKpmqQoasiSieQpfvN UFlyXx9ussxzRUBbPBuXjWwedXoXvectNzbLXHbCZ9qgAcHlUgL1s4927Nupew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719019074; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=c8UMLIkb5Yaoy6UZDLtmNQXZCSe9SesEhmGZjRSmjQ8=; b=bd4vOW9wRF+iN8IkfgnfFGtMTVutv+gO+Aiz4mzSxHTrqLIS4El+GtA1E73ksbh66NfKG9 dOFcJV6pL9SgUb3JJKWrrlSTzR+7c/OcfHB+49O1VzFgZDWYJDhAv01bqZOJVZq0JbChLj xO6WON3Odm/Cs0jul2mSdEouaL71UvwXjEMYTOo3ptCgVozlns6DOX8uRJ6zoGR5grqM0M /3MkDKZcHEKS1dWEnsvIXG97TlqesGyw1quAASVGzaB+i2nNopq1Qg/1bKWZ984k/+utYB VnpmBvDXWn+CkoVx30tCiMgs277yQKkEi9WxchmP0JDZipxBr2VIwWw6bQxSKQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W5bv605fBzWTF for ; Sat, 22 Jun 2024 01:17:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 45M1Hrjc026853 for ; Sat, 22 Jun 2024 01:17:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45M1HrM4026852 for virtualization@FreeBSD.org; Sat, 22 Jun 2024 01:17:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 279901] glibc-2.39-2 and above on the host segfault Date: Sat, 22 Jun 2024 01:17:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: holo@libsharedobject.so X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279901 Bug ID: 279901 Summary: glibc-2.39-2 and above on the host segfault Product: Base System Version: 14.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: holo@libsharedobject.so Reproduction steps: 1. get current arch iso (or other rolling release linux). The following will deal with archlinux 2. boot install medium inside the bhyve vm, and attempt to run any of: [vim, python3, archinstall, gdb (if installed), localedef] 3. all of the above will crash with a segfault (sigsev) and error 4 (cause = was a user-mode read resulting in no page being found.) 4. downgrading to glibc-2.39-1 fixes all of the above applications, though = in the case of bootstrapping scripts like archinstall, this can be fail to work if, for instance, the script re-downloads glibc. Existing board post discussing this: https://bbs.archlinux.org/viewtopic.php?id=3D295802 offending commit: https://sourceware.org/git/?p=3Dglibc.git;a=3Dcommit;h=3Daa4249266e9906c4bc= 833e4847f4d8feef59504f Affects: - Ryzen 5 7600, possibly more AMD Zen3 & Zen4 CPUs Last working version: - linux glibc-2.39-1 Relevant /boot/loader.conf: vmm_load=3D"YES" hw.vmm.amdvi.enable=3D"1" Relevant /etc/rc.conf: vm_enable=3D"YES" vm_dir=3D"zfs:zroot/vm" vm-bhyve configuration file: loader=3D"uefi" graphics=3D"yes" xhci_mouse=3D"yes" cpu=3D"8" cpu_sockets=3D"1" cpu_cores=3D"4" cpu_threads=3D"2" memory=3D"8G" ahci_device_limit=3D"8" network0_type=3D"virtio-net" network0_switch=3D"public" disk0_type=3D"nvme" disk0_name=3D"disk0.img" --=20 You are receiving this mail because: You are the assignee for the bug.=