Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2022 03:12:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 265869] mmio_rb_lookup finds wrong entry, triggering assertion
Message-ID:  <bug-265869-27103-bC9ozz6RN0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-265869-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-265869-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265869

--- Comment #1 from Harris Snyder <harris.snyder@gmail.com> ---
In addition, here is the backtrace from GDB at the time of the assertion:=20

#1  0x0000000801569e61 in __assert (func=3D<optimized out>, file=3D<optimiz=
ed out>,
line=3D<optimized out>, failedexpr=3D<optimized out>) at
/usr/src/lib/libc/gen/assert.c:51
#2  0x00000000010557c7 in unregister_mem (memp=3Dmemp@entry=3D0x7fffdebf2cf=
8) at
/usr/src/usr.sbin/bhyve/mem.c:350
#3  0x00000000010647b0 in modify_bar_registration (pi=3D0x801c4a300, idx=3D=
1,
registration=3D0) at /usr/src/usr.sbin/bhyve/pci_emul.c:578
#4  0x00000000010636a8 in pci_emul_cmd_changed (pi=3D0x801c4a300, old=3D<op=
timized
out>) at /usr/src/usr.sbin/bhyve/pci_emul.c:1983
#5  0x0000000001064497 in pci_emul_cmdsts_write (pi=3D0x801c16d00,
coff=3D<optimized out>, new=3D<optimized out>, bytes=3D<optimized out>)
    at /usr/src/usr.sbin/bhyve/pci_emul.c:2047
#6  0x00000000010640c0 in pci_cfgrw (ctx=3D<optimized out>, vcpu=3D<optimiz=
ed out>,
in=3D<optimized out>, bus=3D<optimized out>, slot=3D<optimized out>, func=
=3D<optimized
out>,
    coff=3D0, bytes=3D2, eax=3D0x7fffdebf2e88) at
/usr/src/usr.sbin/bhyve/pci_emul.c:2205
#7  0x0000000001064c51 in pci_emul_cfgdata (ctx=3D0x801c16d00, vcpu=3D0, in=
=3D0,
port=3D<optimized out>, bytes=3D582, eax=3D0x0, arg=3D0x0) at
/usr/src/usr.sbin/bhyve/pci_emul.c:2254
#8  0x0000000001053f4d in emulate_inout (ctx=3D0x801c16d00, vcpu=3D0,
vmexit=3D<optimized out>) at /usr/src/usr.sbin/bhyve/inout.c:228
#9  0x0000000001048ae0 in vmexit_inout (ctx=3D0x801c16d00, vme=3D0x73,
pvcpu=3D<optimized out>) at /usr/src/usr.sbin/bhyve/bhyverun.c:628
#10 0x00000000010489b3 in vm_loop (ctx=3D0x801c19780, vcpu=3Dvcpu@entry=3D0,
startrip=3D<optimized out>) at /usr/src/usr.sbin/bhyve/bhyverun.c:987
#11 0x0000000001047374 in fbsdrun_start_thread (param=3D0x801d51000) at
/usr/src/usr.sbin/bhyve/bhyverun.c:542
#12 0x00000008014ba96a in thread_start (curthread=3D0x801c16d00) at
/usr/src/lib/libthr/thread/thr_create.c:292
#13 0x0000000000000000 in ?? ()
Backtrace stopped: Cannot access memory at address 0x7fffdebf3000

--=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-265869-27103-bC9ozz6RN0>