Bug 1081610

Summary: random crash during start of guest
Product: [Fedora] Fedora Reporter: Pavel Hrdina <phrdina>
Component: qemuAssignee: Fedora Virtualization Maintainers <virt-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 20CC: amit.shah, berrange, cfergeau, crobinso, dwmw2, itamar, pbonzini, rjones, scottt.tw, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-1.6.2-4.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-01 22:24:49 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
backtrace none

Description Pavel Hrdina 2014-03-27 16:55:25 UTC
Created attachment 879543 [details]
backtrace

Description of problem:
I've been running virt-test and sometimes the guest simply crash few seconds after start. It happened only on NUMA hosts.

Version-Release number of selected component (if applicable):
qemu-1.6.2-1.fc20.x86_64

Attaching backtrace for more information and I can also provide a coredump.

command line used to start the guest:

/usr/bin/qemu-system-x86_64 -machine accel=kvm -name virt-tests-vm1 -S -machine pc-i440fx-1.6,accel=kvm,usb=off -cpu Opteron_G4 -m 1024 -realtime mlock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 61a42531-e412-40c1-8896-66310d089386 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/virt-tests-vm1.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive file=/home/virt-test/shared/data/images/jeos-19-64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=24,id=hostnet0,vhost=on,vhostfd=25 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:4f:50:51,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/virt-tests-vm1.org.qemu.guest_agent.0,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 -device usb-tablet,id=input0 -vnc 127.0.0.1:0 -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7

I was not able to create a simple reproducer but I'll gladly answer any quests and also will help with debugging this crash.

Comment 1 Pavel Hrdina 2014-04-08 13:11:25 UTC
This bug has been fixed in upstream http://lists.nongnu.org/archive/html/qemu-devel/2014-03/msg03776.html, commit dffacd4654ec8bf2898aed230852154c6ed755ed.

Comment 2 Cole Robinson 2014-04-08 15:39:29 UTC
Thanks Pavel, the commit is:

commit dffacd4654ec8bf2898aed230852154c6ed755ed
Author: Don Slutz <dslutz>
Date:   Tue Mar 18 12:29:34 2014 -0400

    char/serial: Fix emptyness handling

Comment 3 Fedora Update System 2014-04-25 16:39:15 UTC
qemu-1.6.2-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/qemu-1.6.2-3.fc20

Comment 4 Fedora Update System 2014-04-26 09:18:58 UTC
Package qemu-1.6.2-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing qemu-1.6.2-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-5634/qemu-1.6.2-3.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-04-29 20:39:17 UTC
qemu-1.6.2-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/qemu-1.6.2-4.fc20

Comment 6 Fedora Update System 2014-05-01 22:24:49 UTC
qemu-1.6.2-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.