Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2018 16:43:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 227558] bhyve assertion failed when writing ACPI tables
Message-ID:  <bug-227558-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

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@FreeBSD.org
          Reporter: domagoj.stolfa@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.


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