Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#881293: libvirt-daemon: libvirtd sefgfault when disconnect and reconnect iso

110 views
Skip to first unread message

Jeff Ketchum

unread,
Nov 9, 2017, 2:00:02 PM11/9/17
to
Package: libvirt-daemon
Version: 3.9.0-1
Severity: important


[ 271.168779] libvirtd[1177]: segfault at 10 ip 00007f2cae6d9208 sp 00007f2cb80049a0 error 4 in libvirt_driver_qemu.so[7f2cae64d000+173000]

-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libvirt-daemon depends on:
ii libacl1 2.2.52-3+b1
ii libapparmor1 2.11.1-3
ii libaudit1 1:2.8.1-2
ii libavahi-client3 0.7-3
ii libavahi-common3 0.7-3
ii libblkid1 2.30.2-0.1
ii libc6 2.24-17
ii libcap-ng0 0.7.7-3.1+b1
ii libcurl3-gnutls 7.56.1-1
ii libdbus-1-3 1.12.0-1
ii libdevmapper1.02.1 2:1.02.145-1
ii libfuse2 2.9.7-1
ii libgnutls30 3.5.16-1
ii libnetcf1 1:0.2.8-1+b2
ii libnl-3-200 3.2.27-2
ii libnl-route-3-200 3.2.27-2
ii libnuma1 2.0.11-2.1
ii libparted2 3.2-18
ii libpcap0.8 1.8.1-5
ii libpciaccess0 0.13.4-1+b2
ii libsasl2-2 2.1.27~101-g0780600+dfsg-3
ii libselinux1 2.7-2
ii libssh2-1 1.8.0-1
ii libudev1 235-2
ii libvirt0 3.9.0-1
ii libxen-4.8 4.8.1-1+deb9u3
ii libxenstore3.0 4.8.1-1+deb9u3
ii libxml2 2.9.4+dfsg1-5+b1
ii libyajl2 2.1.0-2+b3

Versions of packages libvirt-daemon recommends:
ii libxml2-utils 2.9.4+dfsg1-5+b1
ii netcat-openbsd 1.178-3
ii qemu 1:2.10.0+dfsg-2
ii qemu-kvm 1:2.10.0+dfsg-2

Versions of packages libvirt-daemon suggests:
pn libvirt-daemon-driver-storage-gluster <none>
pn libvirt-daemon-driver-storage-rbd <none>
pn libvirt-daemon-driver-storage-sheepdog <none>
pn libvirt-daemon-driver-storage-zfs <none>
ii libvirt-daemon-system 3.9.0-1
pn numad <none>

-- no debconf information

Guido Günther

unread,
Nov 10, 2017, 2:00:03 AM11/10/17
to
Hi,
On Thu, Nov 09, 2017 at 11:47:01AM -0700, Jeff Ketchum wrote:
> Package: libvirt-daemon
> Version: 3.9.0-1
> Severity: important
>
>
> [ 271.168779] libvirtd[1177]: segfault at 10 ip 00007f2cae6d9208 sp 00007f2cb80049a0 error 4 in libvirt_driver_qemu.so[7f2cae64d000+173000]

Domain XML and virsh commands you use for disconnect / reconnect
please.
Cheers,
-- Guido
> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt...@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers
>

Guido Günther

unread,
Nov 10, 2017, 1:50:02 PM11/10/17
to
Hi,
On Fri, Nov 10, 2017 at 10:14:27AM -0700, Jeff Ketchum wrote:
> It does it for any windows vm I have tested it on.
> I am not sure of the commands, I am using virt-manager to manage these, Is
> there an easy way to get the commands?
> When this happens, virt-manager also loses connectivity to the local
> hypervisor.

See

https://wiki.debian.org/libvirt/Debugging#Virt-manager

If s.th. is unclear let me know and I'll update the docs.

Cheers,
-- Guido

>
> On Thu, Nov 9, 2017 at 11:55 PM, Guido Günther <a...@sigxcpu.org> wrote:
>
> > Hi,
> > On Thu, Nov 09, 2017 at 11:47:01AM -0700, Jeff Ketchum wrote:
> > > Package: libvirt-daemon
> > > Version: 3.9.0-1
> > > Severity: important
> > >
> > >
> > > [ 271.168779] libvirtd[1177]: segfault at 10 ip 00007f2cae6d9208 sp
> > 00007f2cb80049a0 error 4 in libvirt_driver_qemu.so[7f2cae64d000+173000]
> >
> > Domain XML and virsh commands you use for disconnect / reconnect
> > please.
> > Cheers,
> > -- Guido
> >
> > >

Jeff Ketchum

unread,
Nov 13, 2017, 5:10:03 PM11/13/17
to
[Mon, 13 Nov 2017 14:58:11 virt-manager 16424] DEBUG (storagebrowse:66) Closing storage browser
[Mon, 13 Nov 2017 14:58:13 virt-manager 16424] DEBUG (inspection:250) qemu:///system:centos7-isolated-01: detected operating system: linux centos 7.2 (CentOS Linux release 7.2.1511 (Core) )
[Mon, 13 Nov 2017 14:58:13 virt-manager 16424] DEBUG (inspection:251) hostname: jk-centos7-01.rackwareinc.net
[Mon, 13 Nov 2017 14:58:13 virt-manager 16424] DEBUG (inspection:253) icon: 3881 bytes
[Mon, 13 Nov 2017 14:58:13 virt-manager 16424] DEBUG (inspection:255) # apps: 600
[Mon, 13 Nov 2017 14:58:15 virt-manager 16424] DEBUG (libvirtobject:65) Redefine requested for <vmmDomain name=pxe-win2k12r2-2 id=0x7f8904b915a0>, but XML didn't change!
[Mon, 13 Nov 2017 14:58:15 virt-manager 16424] DEBUG (domain:1107) update_device with xml=
<disk type="file" device="cdrom">
      <target dev="hdb" bus="ide" tray="open"/>
      <readonly/>
      <alias name="ide0-0-1"/>
      <address type="drive" controller="0" bus="0" target="0" unit="1"/>
      <source file="/var/lib/libvirt/images/iso/windows/virtio/virtio-win-0.1.102.iso"/>
    </disk>

[Mon, 13 Nov 2017 14:58:15 virt-manager 16424] DEBUG (addhardware:806) Hotplug failed: End of file while reading data: Input/output error
[Mon, 13 Nov 2017 14:58:15 virt-manager 16424] DEBUG (error:99) error dialog message:
summary=These changes will take effect after the next guest shutdown.
details=End of file while reading data: Input/output error

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/addhardware.py", line 799, in change_config_helper
    define_func(devobj=devobj, do_hotplug=True, **define_args)
  File "/usr/share/virt-manager/virtManager/domain.py", line 841, in define_disk
    self.hotplug(device=editdev)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1155, in hotplug
    self._update_device(device)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1108, in _update_device
    self._backend.updateDeviceFlags(xml, flags)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 2739, in updateDeviceFlags
    if ret == -1: raise libvirtError ('virDomainUpdateDeviceFlags() failed', dom=self)
libvirtError: End of file while reading data: Input/output error





0 new messages