Bug 751271

Summary: qemu process quit in Segmentation fault when start guest with spice [rhel6.0 guest only]
Product: Red Hat Enterprise Linux 6 Reporter: Joy Pu <ypu>
Component: qemu-kvmAssignee: David Blechter <dblechte>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: acathrow, bsarathy, iheim, juzhang, michen, mkenneth, shuang, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-16 10:09:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Core info with gdb none

Description Joy Pu 2011-11-04 06:37:12 UTC
Description:
Boot up a RHEL 6 guest with graphic desktop and set transparent hugepage on using spice. Qemu process will get a Segmentation fault and quit.

Version-Release number of selected component (if applicable):
kernel: 
2.6.32-214.el6.x86_64
kvm&qemu: 
qemu-kvm-0.12.1.2-2.204.el6.x86_64
gpxe-roms-qemu-0.9.7-6.9.el6.noarch
qemu-img-0.12.1.2-2.204.el6.x86_64
qemu-kvm-debuginfo-0.12.1.2-2.204.el6.x86_64
qemu-kvm-tools-0.12.1.2-2.204.el6.x86_64

spice:
spice-server-debuginfo-0.8.2-5.el6.x86_64
spice-client-0.8.2-7.el6.x86_64
spice-client-debuginfo-0.8.2-7.el6.x86_64
spice-server-0.8.2-5.el6.x86_64


How reproducible:
twice

Steps to Reproduce:
1. Set thp on in system
2. Boot up a RHEL 6 guest with desktop
3. Wait a while

Actual results:
qemu-kvm process quit with Segmentation fault
Expected results:
Can boot up a guest normally

Additional info:
1. cmdline:
/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/kvm/qemu -name 'vm1' -chardev socket,id=qmp_monitor_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20111101-103732-GKBq,server,nowait -mon chardev=qmp_monitor_id_qmpmonitor1,mode=control -chardev socket,id=serial_id_20111101-103732-GKBq,path=/tmp/serial-20111101-103732-GKBq,server,nowait -device isa-serial,chardev=serial_id_20111101-103732-GKBq -drive file='/usr/local/staf/test/RHEV/kvm/autotest-devel/client/tests/kvm/images/RHEL-Server-6.0-32.raw',index=0,if=none,id=drive-ide0-0-0,media=disk,cache=none,format=raw,aio=native -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -device e1000,netdev=idtKbR45,mac=9a:37:58:be:94:11,id=ndev00idtKbR45,bus=pci.0,addr=0x3 -netdev tap,id=idtKbR45,fd=26 -m 2048 -smp 2,cores=1,threads=1,sockets=2 -cpu cpu64-rhel6,+sse2,+x2apic -spice port=8000,disable-ticketing -vga qxl -rtc base=utc,clock=host,driftfix=slew -boot order=cdn,once=c,menu=off    -no-kvm-pit-reinjection  -M rhel6.2.0 -usb -device usb-tablet -enable-kvm

Comment 1 Joy Pu 2011-11-04 06:38:00 UTC
Created attachment 531701 [details]
Core info with gdb

Comment 4 Joy Pu 2011-11-08 09:38:57 UTC
Do more test for this bug, and find some more infos:

1. This only happen in RHEL-Server-6.0 guest

2. This only happen on AMD host