Bug 905657

Summary: qemu with vmware driver at resolution 720x576 may unexpectedly exit on X error
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: amit.shah, berrange, cfergeau, crobinso, dwmw2, itamar, pbonzini, rjones, scottt.tw, stephent98, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-01 20:39:04 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
qemu session with error messages none

Description Steve Tyler 2013-01-29 16:28:33 EST
Description of problem:
With the vmware driver, setting the display resolution to 720x576 may cause qemu to unexpectedly exit on an X error:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (MIT-SHM)
  Minor opcode of failed request:  3 (X_ShmPutImage)
  Value in failed request:  0xff9b
  Serial number of failed request:  3695
  Current serial number in output stream:  3696

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Start the F18 Live CD with qemu on an F17 host:
$ qemu-kvm -m 2048 -cdrom ~/xfr/fedora/F18/F18-Final/Final/Fedora-18-x86_64-Live-Desktop.iso -vga vmware

2. Proceed to the desktop.
3. Start System Settings.
4. Click Displays.
5. Select resolution "720 x 576 (5:4)".
6. Click Apply.
7. Click Keep This Configuration.
8. Drag System Settings window to left to display close button.
9. Move pointer over close button.
Actual results:
qemu exits.

Expected results:
qemu does not exit.

Additional info:
Comment 1 Steve Tyler 2013-01-29 16:33:33 EST
Created attachment 690034 [details]
qemu session with error messages
Comment 2 Steve Tyler 2013-01-29 17:48:12 EST
Reproduced with an F18 host. Changing version to 18.

$ rpm -qa 'qemu*' | sort
Comment 3 Cole Robinson 2013-04-01 20:39:04 EDT
Thanks for the reproducer Steve, it reproduced for me. A patch for another vmware issue also fixes this one, so duping to that bug.

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