[Bug 221877] devel/libvirtd: segmentation fault with bhyve
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 28 09:25:05 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221877
Bug ID: 221877
Summary: devel/libvirtd: segmentation fault with bhyve
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: dharrigan at gmail.com
Hi,
Getting a repeated segmentation fault with libvirtd. See below
FreeBSD anton 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28
UTC 2017 root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
# pkg info libvirt-3.6.0
libvirt-3.6.0
Name : libvirt
Version : 3.6.0
network configuration:
<network>
<name>default</name>
<uuid>3b981a1f-8870-11e7-bd3f-00259069ef52</uuid>
<forward mode='bridge'/>
<bridge name='bridge1'/>
</network>
domain configuration:
<domain type="bhyve">
<name>generic</name>
<uuid>ad086073-a314-4c99-b3d4-9d1f1d3ec2b3</uuid>
<memory>1048576</memory>
<currentMemory>1048576</currentMemory>
<vcpu>2</vcpu>
<os>
<type arch="x86_64">hvm</type>
<boot dev="cdrom"/>
<boot dev="hd"/>
</os>
<clock offset="utc"/>
<on_reboot>destroy</on_reboot>
<devices>
<emulator>bhyve</emulator>
<disk type="file" device="disk">
<source file="/var/lib/libvirt/images/centos7.0.img"/>
<target dev="hda" bus="ide"/>
</disk>
<disk type="file" device="cdrom">
<source file="/var/lib/libvirt/images/CentOS-7-x86_64-Minimal-1611.iso"/>
<target dev="hdb" bus="ide"/>
<readonly/>
</disk>
<interface type="network">
<source network="default"/>
<mac address="00:16:3e:45:45:49"/>
</interface>
<graphics type="vnc" port="-1" keymap="en-gb"/>
<console type="pty"/>
</devices>
</domain>
Started as:
# virsh -c bhyve:///system
Welcome to virsh, the virtualisation interactive terminal.
Type: 'help' for help with commands
'quit' to quit
virsh # list --all
Id Name State
----------------------------------------------------
virsh # define /root/centos7.xml
Domain generic defined from /root/centos7.xml
virsh # list --all
Id Name State
----------------------------------------------------
- generic shut off
virsh # start generic
error: Disconnected from bhyve:///system due to end of file
error: Failed to start domain generic
error: End of file while reading data: Input/output error
virsh #
Stack below:
2017-08-28 08:28:16.070+0000: 34494046208: debug : virEventPollMakePollFDs:401
: Prepare n=4 w=5, f=11 e=1 d=0
2017-08-28 08:28:16.071+0000: 34494051328: debug :
virAccessManagerCheckDomain:234 : manager=0x808020a50(name=stack) driver=bhyve
domain=0x808c81000 perm=4
2017-08-28 08:28:16.071+0000: 34494046208: debug : virEventPollMakePollFDs:401
: Prepare n=5 w=6, f=12 e=1 d=0
2017-08-28 08:28:16.071+0000: 34494051328: debug :
virAccessManagerCheckDomain:234 : manager=0x808020a20(name=none) driver=bhyve
domain=0x808c81000 perm=4
2017-08-28 08:28:16.071+0000: 34494046208: debug :
virEventPollCalculateTimeout:338 : Calculate expiry of 2 timers
2017-08-28 08:28:16.071+0000: 34494051328: info : virObjectUnref:327 :
OBJECT_UNREF: obj=0x808020a50
2017-08-28 08:28:16.071+0000: 34494046208: debug :
virEventPollCalculateTimeout:346 : Got a timeout scheduled for 1503908901070
2017-08-28 08:28:16.071+0000: 34494051328: info : virObjectRef:365 :
OBJECT_REF: obj=0x80b140000
2017-08-28 08:28:16.071+0000: 34494046208: debug :
virEventPollCalculateTimeout:359 : Schedule timeout then=1503908901070
now=1503908896071
2017-08-28 08:28:16.071+0000: 34494046208: debug :
virEventPollCalculateTimeout:369 : Timeout at 1503908901070 due in 4999 ms
2017-08-28 08:28:16.071+0000: 34494046208: info : virEventPollRunOnce:640 :
EVENT_POLL_RUN: nhandles=6 timeout=4999
2017-08-28 08:28:16.071+0000: 34494051328: debug :
virDomainPCIAddressReserveAddrInternal:609 : PCI bus 0000:00 assigned isolation
group 0 because of first device 0000:00:02.0
2017-08-28 08:28:16.071+0000: 34494051328: debug :
virDomainPCIAddressReserveAddrInternal:626 : Reserving PCI address 0000:00:02.0
(aggregate='false')
2017-08-28 08:28:16.071+0000: 34494051328: debug :
virDomainPCIAddressReserveAddrInternal:626 : Reserving PCI address 0000:00:03.0
(aggregate='false')
2017-08-28 08:28:16.071+0000: 34494051328: debug :
virDomainPCIAddressReserveAddrInternal:626 : Reserving PCI address 0000:00:01.0
(aggregate='false')
[1] 31879 segmentation fault (core dumped) /usr/local/sbin/libvirtd
--pid-file=/var/run/libvirtd.pid
Happy to provide more information, just let me know what is required.
-=david=-
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list