Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Nov 2018 19:21:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233038] bhyve: fails with "device emulation initialization error: Bad file descriptor"
Message-ID:  <bug-233038-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

help

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