Bug 1554373

Summary: Xorg killed after VM migration and mouse cursor interaction
Product: Red Hat Enterprise Linux 6 Reporter: Radek Duda <rduda>
Component: xorg-x11-drv-qxlAssignee: Default Assignee for SPICE Bugs <rh-spice-bugs>
Status: CLOSED DUPLICATE QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9CC: cfergeau, rbalakri
Target Milestone: rcKeywords: Regression, TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-23 16:46:29 UTC Type: Bug
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
full backtrace
none
full_backtrace_version none

Description Radek Duda 2018-03-12 14:10:12 UTC
Created attachment 1407236 [details]
full backtrace

Description of problem:
Process /usr/bin/Xorg is killed after VM migration.

Version-Release number of selected component (if applicable):
host(rhel7.5):
vdsm-4.20.20-1.el7ev.x86_64
qemu-kvm-rhev-2.9.0-16.el7_4.14.x86_64
spice-server-0.14.0-2.el7.x86_64

guest(rhel6.9):
xorg-x11-drv-qxl-0.1.1-19.el6.x86_64
spice-vdagent-0.14.0-13.el6.x86_64
kernel-2.6.32-696.20.1.el6.x86_64

client(rhel7.4):
virt-viewer-5.0-7.el7.x86_64
spice-gtk3-0.33-6.el7_4.1.x86_64

using rhv4.2.2.2-0.1.el7

How reproducible:
70%

Steps to Reproduce:
1.launch rhel6.9 in rhv4.2 portal and connect to it with remote-viewer
2.migrate
3.move mouse cursor over guest's display in remote-viewer

Actual results:
Xorg is killed, gnome shell crashes

Expected results:
migration is successful

Additional info:
/usr/libexec/qemu-kvm -name guest=rhel6.9-64b,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-15-rhel6.9-64b/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=kvm,usb=off,dump-guest-core=off -cpu SandyBridge,vme=on,hypervisor=on,arat=on,xsaveopt=on -m size=2048000k,slots=16,maxmem=8192000k -realtime mlock=off -smp 2,maxcpus=16,sockets=16,cores=1,threads=1 -numa node,nodeid=0,cpus=0-1,mem=2000 -uuid 193b43b4-2fce-4634-9749-25367ddd3f53 -smbios type=1,manufacturer=oVirt,product=RHEV Hypervisor,version=7.5-8.el7,serial=4C4C4544-0054-4710-8059-B1C04F37354A,uuid=193b43b4-2fce-4634-9749-25367ddd3f53 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-15-rhel6.9-64b/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=2018-03-12T13:18:26,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-scsi-pci,id=ua-d6c512a6-95b1-4100-abc3-3a3de0d3610e,bus=pci.0,addr=0x6 -device virtio-serial-pci,id=ua-2b562bba-df63-45be-a4a8-09b09bf8e0a1,max_ports=16,bus=pci.0,addr=0x5 -device usb-ccid,id=ccid0,bus=usb.0,port=1 -drive if=none,id=drive-ua-57e45f90-3b10-47d6-814a-c8dd2e7d20a3,readonly=on,werror=report,rerror=report -device ide-cd,bus=ide.1,unit=0,drive=drive-ua-57e45f90-3b10-47d6-814a-c8dd2e7d20a3,id=ua-57e45f90-3b10-47d6-814a-c8dd2e7d20a3 -drive file=/rhev/data-center/mnt/blockSD/5325e826-d91c-4c95-be07-51011bf28943/images/17164bd0-05a6-4e80-82d3-e0c73b0c362f/bfd8de32-9a23-414c-ad27-5d97f12e5e75,format=qcow2,if=none,id=drive-ua-17164bd0-05a6-4e80-82d3-e0c73b0c362f,serial=17164bd0-05a6-4e80-82d3-e0c73b0c362f,cache=none,werror=stop,rerror=stop,aio=native -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x8,drive=drive-ua-17164bd0-05a6-4e80-82d3-e0c73b0c362f,id=ua-17164bd0-05a6-4e80-82d3-e0c73b0c362f,bootindex=1 -netdev tap,fd=31,id=hostua-80f9ede6-dede-480c-aed0-c5870e45381e,vhost=on,vhostfd=33 -device virtio-net-pci,netdev=hostua-80f9ede6-dede-480c-aed0-c5870e45381e,id=ua-80f9ede6-dede-480c-aed0-c5870e45381e,mac=00:1a:4a:16:01:06,bus=pci.0,addr=0x3 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channels/193b43b4-2fce-4634-9749-25367ddd3f53.ovirt-guest-agent.0,server,nowait -device virtserialport,bus=ua-2b562bba-df63-45be-a4a8-09b09bf8e0a1.0,nr=1,chardev=charchannel0,id=channel0,name=ovirt-guest-agent.0 -chardev socket,id=charchannel1,path=/var/lib/libvirt/qemu/channels/193b43b4-2fce-4634-9749-25367ddd3f53.org.qemu.guest_agent.0,server,nowait -device virtserialport,bus=ua-2b562bba-df63-45be-a4a8-09b09bf8e0a1.0,nr=2,chardev=charchannel1,id=channel1,name=org.qemu.guest_agent.0 -chardev spicevmc,id=charchannel2,name=vdagent -device virtserialport,bus=ua-2b562bba-df63-45be-a4a8-09b09bf8e0a1.0,nr=3,chardev=charchannel2,id=channel2,name=com.redhat.spice.0 -spice port=5900,tls-port=5901,addr=10.37.175.78,x509-dir=/etc/pki/vdsm/libvirt-spice,tls-channel=main,tls-channel=display,tls-channel=inputs,tls-channel=cursor,tls-channel=playback,tls-channel=record,tls-channel=smartcard,tls-channel=usbredir,seamless-migration=on -device qxl-vga,id=ua-857af0c2-5c4c-4050-95ea-a241b34df5d1,ram_size=268435456,vram_size=8388608,vram64_size_mb=0,vgamem_mb=64,max_outputs=4,bus=pci.0,addr=0x2 -device intel-hda,id=ua-c4aafb5f-f3bc-41b3-9906-11b6aeeff373,bus=pci.0,addr=0x4 -device hda-duplex,id=ua-c4aafb5f-f3bc-41b3-9906-11b6aeeff373-codec0,bus=ua-c4aafb5f-f3bc-41b3-9906-11b6aeeff373.0,cad=0 -incoming defer -device virtio-balloon-pci,id=ua-6d2e3a3f-ed68-47dd-be1b-c58df45b9be5,bus=pci.0,addr=0x9 -object rng-random,id=objua-efbb21e1-4dc7-48a2-a04c-f1ddc59a2e0b,filename=/dev/urandom -device virtio-rng-pci,rng=objua-efbb21e1-4dc7-48a2-a04c-f1ddc59a2e0b,id=ua-efbb21e1-4dc7-48a2-a04c-f1ddc59a2e0b,bus=pci.0,addr=0x7 -msg timestamp=on

Comment 2 Christophe Fergeau 2018-03-12 15:40:18 UTC
(In reply to Radek Duda from comment #0)
> Created attachment 1407236 [details]
> full backtrace
> 
> Description of problem:
> Process /usr/bin/Xorg is killed after VM migration.
> 
> Version-Release number of selected component (if applicable):
> host(rhel7.5):
> vdsm-4.20.20-1.el7ev.x86_64
> qemu-kvm-rhev-2.9.0-16.el7_4.14.x86_64
> spice-server-0.14.0-2.el7.x86_64
> 
> guest(rhel6.9):
> xorg-x11-drv-qxl-0.1.1-19.el6.x86_64
> spice-vdagent-0.14.0-13.el6.x86_64
> kernel-2.6.32-696.20.1.el6.x86_64
> 
> client(rhel7.4):
> virt-viewer-5.0-7.el7.x86_64
> spice-gtk3-0.33-6.el7_4.1.x86_64
> 
> using rhv4.2.2.2-0.1.el7
> 
> How reproducible:
> 70%
> 
> Steps to Reproduce:
> 1.launch rhel6.9 in rhv4.2 portal and connect to it with remote-viewer
> 2.migrate
> 3.move mouse cursor over guest's display in remote-viewer
> 
> Actual results:
> Xorg is killed, gnome shell crashes

Where is the crash happening? inside the guest? (I'm confused by 'gnome-shell crashes).

Would you have a backtrace of the crash?

Comment 3 Radek Duda 2018-03-12 16:27:02 UTC
yes in guest. Sorry for confusion there is no gnome-shell in rhel6.9
Backtrace is already attached.

Comment 5 Radek Duda 2018-03-15 16:43:46 UTC
Created attachment 1408494 [details]
full_backtrace_version

I tried again and backtrace is bit different now from Thread 1 frame #13

Comment 6 Radek Duda 2018-03-19 13:52:37 UTC
I cannot reproduce now (after rhv upgrade) since new bug appeared https://bugzilla.redhat.com/show_bug.cgi?id=1558043.

Comment 7 Christophe Fergeau 2018-03-23 16:46:29 UTC
At this point, I'm fairly convinced it's a duplicate of rhbz#1540919

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