[Bug 227558] bhyve assertion failed when writing ACPI tables
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 16 16:43:59 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227558
Bug ID: 227558
Summary: bhyve assertion failed when writing ACPI tables
Product: Base System
Version: CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: domagoj.stolfa at gmail.com
When bhyve is run using:
bhyveload -d test.img -m <anything> test
bhyve -A -H -P -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-blk,./test.img -l
com1,stdio -c <any> -m <anything> -t test
the "bhyve" process aborts with an assertion:
Assertion failed: (error == 0), function main, file
/home/dstolfa/freebsd-head/usr.sbin/bhyve/bhyverun.c, line 1096.
I have traced the error to the vfprintf in dsdt_line() inside acpi.c, however I
have not been able to use gdb from ports or lldb to debug this effectively due
to various freezes that I've experienced (not gaining control back in the
debugger or failing to execute the child in lldb's case).
Adding a number of printfs, namely printf("%s\n", bf->f_name); when creating
the temporary files removes the bug, but so does adding printfs when the VM
shuts down which leads me to believe that this is in fact a code segment
corruption rather than a race.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list