Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2024 01:17:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 279901] glibc-2.39-2 and above on the host segfault
Message-ID:  <bug-279901-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279901-27103>