Date: Fri, 12 Dec 2025 18:31:43 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 291616] bhyve: crashes with slirp open networking Message-ID: <bug-291616-27103@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291616 Bug ID: 291616 Summary: bhyve: crashes with slirp open networking Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: novel@FreeBSD.org Steps to reproduce: 1. Run a guest. I use Ubuntu Linux for testing: bhyve -c 2 -m 4096 -S -A -I -u -H -P -s 0:0,hostbridge -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -s 1:0,lpc -s 7:0,virtio-blk,/data/img/u buntu2510.img -l com1,stdio -s 8:0,virtio-net,slirp,mac=94:06:31:1a:a6:f7,open ubuntu2510 2. Generate traffic from the guest. I use the following command: while wget https://download.freebsd.org/releases/ISO-IMAGES/15.0/FreeBSD-15.0-RELEASE-arm64-aarch64-dvd1.iso -O /dev/null; do : ; done bhyve crashes with: thr_kill () at thr_kill.S:4 4 RSYSCALL(thr_kill) /dev/null 68%[===========================================================================================================> ] 2.63G --.-KB/s eta 3m 13s (gdb) bt #0 thr_kill () at thr_kill.S:4 #1 0x000000080114c934 in __raise (s=s@entry=6) at /usr/home/novel/code/freebsd-src/lib/libc/gen/raise.c:48 #2 0x00000008011fe7a9 in abort () at /usr/home/novel/code/freebsd-src/lib/libc/stdlib/abort.c:61 #3 0x000000080112f521 in __assert (func=<optimized out>, file=<optimized out>, line=line@entry=113, failedexpr=<optimized out>) at /usr/home/novel/code/freebsd-src/lib/libc/gen/assert.c:47 #4 0x0000000001024f2e in slirp_cb_send_packet (buf=<optimized out>, len=1514, param=<optimized out>) at /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/slirp/slirp-helper.c:113 #5 0x000000080141ad02 in ?? () from /usr/local/lib/libslirp.so.0 #6 0x0000000801412f7d in ?? () from /usr/local/lib/libslirp.so.0 #7 0x0000000801416366 in ?? () from /usr/local/lib/libslirp.so.0 #8 0x0000000801421197 in ?? () from /usr/local/lib/libslirp.so.0 #9 0x000000080141a718 in slirp_pollfds_poll () from /usr/local/lib/libslirp.so.0 #10 0x0000000001024c73 in slirp_pollfd_loop (priv=0x7fffffffe7b0) at /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/slirp/slirp-helper.c:263 #11 main (argc=<optimized out>, argv=<optimized out>) at /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/slirp/slirp-helper.c:566 (gdb) fr 4 #4 0x0000000001024f2e in slirp_cb_send_packet (buf=<optimized out>, len=1514, param=<optimized out>) at /usr/home/novel/code/freebsd-src/usr.sbin/bhyve/slirp/slirp-helper.c:113 113 assert((size_t)n == len); (gdb) p n $1 = 0 (gdb) Host system is: FreeBSD tulp 16.0-CURRENT FreeBSD 16.0-CURRENT #1 main-n282364-69e041521a80: Fri Dec 5 16:24:19 CET 2025 novel@tulp:/usr/obj/usr/home/novel/code/freebsd-src/amd64.amd64/sys/TULP amd64 -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291616-27103>
