Bug 36030 - QXL driver crash when enabling/disabling second monitor
Summary: QXL driver crash when enabling/disabling second monitor
Status: RESOLVED FIXED
Alias: None
Product: Spice
Classification: Unclassified
Component: win32 qxl xddm (show other bugs)
Version: unspecified
Hardware: All All
: medium critical
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-06 09:24 UTC by Marc-Andre Lureau
Modified: 2014-10-24 17:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Marc-Andre Lureau 2011-04-06 09:24:17 UTC
It is fairly easy to cause a crash of the QXL driver, which reboots the VM immediately (not even enough time to read the blue screen)

Tested only with:

Windows XP Pro 2002, SP3
QEMU 0.14.50 from spice.v32.kvm branch
QXL driver v1.14.1 9/29/2010

Started the VM with agent support, and two monitors this way:
qemu-system-x86_64 --enable-kvm -net nic -net user -m 512 -localtime -usb  -device usb-tablet -device AC97 -spice port=5932,disable-ticketing,x509-key-file=server-key.pem,x509-key-password=redhat,x509-cert-file=server-cert.pem,x509-cacert-file=ca-cert.pem -vga qxl  -device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 xp.img 2>&1 -monitor stdio -device qxl --enable-kvm

Connect with spicec, go to display properties.

1. enable second screen -> second window appears
2. disable second screen -> second window gone
3. enable second screen -> VM crash, blue screen and reboot
Comment 1 Marc-Andre Lureau 2011-04-06 18:29:14 UTC
it's enough to connect multiple time to a multi-head system to crash the QXL driver.

1. connect with spicec, enable second screen
2. reconnect with spicec
3. repeat 2. until it crashes (1 or 2 iterations usually)
Comment 2 Marc-Andre Lureau 2011-06-16 05:17:25 UTC
ping?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.