[Bug 233038] bhyve: fails with "device emulation initialization error: Bad file descriptor"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 6 19:21:31 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233038

            Bug ID: 233038
           Summary: bhyve: fails with "device emulation initialization
                    error: Bad file descriptor"
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: jwmaag at gmail.com

After updating to r340179+755e0ab1085 I was unable to start my windows vm with
a fbuf device. e.g -s 7,fbuf,tcp=127.0.0.1:5900,w=1024,h=768

Output:

getaddrinfo: hostname nor servname provided, or not known
device emulation initialization error: Bad file descriptor

after doing a little debugging; It looks as though bhyve is passing in freed
pointers in the arguments to to rfb_init due to the change in base r340044

removing the added free in pci_fbuf.c, fixed the issue for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list