Bug 1326628

Summary: [abrt] qemu-kvm-rhev: spice_chr_add_watch(): qemu-kvm killed by SIGABRT
Product: Red Hat Enterprise Linux 7 Reporter: David Kutálek <dkutalek>
Component: qemu-kvm-rhevAssignee: Karen Noel <knoel>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: amit.shah, areis, bdas, dkutalek, knoel, kraxel, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:35052b6ab1e0fbe3f1f3aeaac20dd891d66d3ba1
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-19 08:29:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: machineid
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
File: sosreport.tar.xz none

Description David Kutálek 2016-04-13 08:57:40 UTC
Description of problem:
This happens for me when resuming paused Windows 10 guest in which 
I run CDK, ie. Vagrant controlled Virtualbox machine with RHEL 7.2.

So this is nested virtualization setup:
L0 = this RHEL 7.2 host
L1 = Windows 10 Enterprise
L2 = RHEL 7.2 with Virtualbox 5.0.16 as hypervisor (controlled by Vagrant)

It happened to me several times, not sure whether always.

Factor could be that between pause/resume of L1 I also suspended L0
(it is my notebook I carry around).

Can try to reproduce again if needed - what more debug data would you like?

Version-Release number of selected component:
qemu-kvm-rhev-2.1.2-23.el7_1.6

Additional info:
reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        /usr/libexec/qemu-kvm -name win10ent -S -machine pc-i440fx-rhel7.1.0,accel=kvm,usb=off -cpu SandyBridge,+erms,+smep,+fsgsbase,+rdrand,+f16c,+osxsave,+pcid,+pdcm,+xtpr,+tm2,+est,+smx,+vmx,+ds_cpl,+monitor,+dtes64,+pbe,+tm,+ht,+ss,+acpi,+ds,+vme,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff -m 4096 -mem-prealloc -mem-path /dev/hugepages/libvirt/qemu -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 3c9e2ed3-2c04-403d-82d3-9628bbce70ed -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-win10ent/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x6.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x6 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x6.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x6.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive file=/var/lib/libvirt/images/win10ent-1.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=writeback -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -drive file=/home/dkutalek/install/en_windows_10_enterprise_2015_ltsb_x64_dvd_6848446.iso,if=none,id=drive-ide0-0-1,readonly=on,format=raw -device ide-cd,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -drive file=/home/dkutalek/install/virtio-win-0.1.113.iso,if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=26,id=hostnet0,vhost=on,vhostfd=27 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:39:ba:37,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -device usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,disable-ticketing,image-compression=off,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0x2 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -msg timestamp=on
crash_function: spice_chr_add_watch
executable:     /usr/libexec/qemu-kvm
global_pid:     16474
kernel:         3.10.0-327.10.1.el7.x86_64
runlevel:       N 5
type:           CCpp
uid:            107

Truncated backtrace:
Thread no. 1 (10 frames)
 #4 spice_chr_add_watch at spice-qemu-char.c:173
 #5 qemu_chr_fe_add_watch at qemu-char.c:3671
 #6 usbredir_write at hw/usb/redirect.c:293
 #7 usbredirparser_do_write at /lib64/libusbredirparser.so.1
 #8 vm_state_notify at vl.c:1714
 #9 vm_start at vl.c:751
 #10 qmp_cont at qmp.c:177
 #11 qmp_marshal_input_cont at qmp-marshal.c:3025
 #12 qmp_call_cmd at /usr/src/debug/qemu-2.1.2/monitor.c:5038
 #13 handle_qmp_command at /usr/src/debug/qemu-2.1.2/monitor.c:5104

Comment 1 David Kutálek 2016-04-13 08:57:46 UTC
Created attachment 1146757 [details]
File: backtrace

Comment 2 David Kutálek 2016-04-13 08:57:48 UTC
Created attachment 1146758 [details]
File: cgroup

Comment 3 David Kutálek 2016-04-13 08:57:50 UTC
Created attachment 1146759 [details]
File: core_backtrace

Comment 4 David Kutálek 2016-04-13 08:57:52 UTC
Created attachment 1146760 [details]
File: dso_list

Comment 5 David Kutálek 2016-04-13 08:57:53 UTC
Created attachment 1146761 [details]
File: environ

Comment 6 David Kutálek 2016-04-13 08:57:55 UTC
Created attachment 1146762 [details]
File: limits

Comment 7 David Kutálek 2016-04-13 08:57:56 UTC
Created attachment 1146763 [details]
File: machineid

Comment 8 David Kutálek 2016-04-13 08:57:58 UTC
Created attachment 1146764 [details]
File: maps

Comment 9 David Kutálek 2016-04-13 08:58:00 UTC
Created attachment 1146765 [details]
File: open_fds

Comment 10 David Kutálek 2016-04-13 08:58:01 UTC
Created attachment 1146766 [details]
File: proc_pid_status

Comment 11 David Kutálek 2016-04-13 08:58:03 UTC
Created attachment 1146767 [details]
File: var_log_messages

Comment 12 David Kutálek 2016-04-13 08:58:38 UTC
Created attachment 1146768 [details]
File: sosreport.tar.xz

Comment 14 Gerd Hoffmann 2016-04-13 14:30:14 UTC
> L0 = this RHEL 7.2 host

> Version-Release number of selected component:
> qemu-kvm-rhev-2.1.2-23.el7_1.6
                         ^^^^^^^

This appears to be the RHEL-7.1 version, not RHEL-7.2.
Please update qemu, try again and report back.

High chance to be a bug 1128992 duplicate,
should be fixed in qemu-kvm-rhev-2.3.0-20.el7 and newer.

Comment 15 David Kutálek 2016-04-19 08:29:15 UTC
(In reply to Gerd Hoffmann from comment #14)
> > L0 = this RHEL 7.2 host
> 
> > Version-Release number of selected component:
> > qemu-kvm-rhev-2.1.2-23.el7_1.6
>                          ^^^^^^^
> 
> This appears to be the RHEL-7.1 version, not RHEL-7.2.
> Please update qemu, try again and report back.
> 
> High chance to be a bug 1128992 duplicate,
> should be fixed in qemu-kvm-rhev-2.3.0-20.el7 and newer.

Thanks for hint, I updated the package and crash occurs no more.

The problem was hidden in having updated RHEL 7.2 
mixed with non updated Openstack source.

*** This bug has been marked as a duplicate of bug 1128992 ***