Bug 690105 - connect/disconnect vm via spice client leading to vm hang.
Summary: connect/disconnect vm via spice client leading to vm hang.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-server
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Christophe Fergeau
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-23 11:16 UTC by juzhang
Modified: 2011-06-24 09:16 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-24 09:16:16 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description juzhang 2011-03-23 11:16:39 UTC
Description of problem:
connect/disconnect vm via spice client leading  to  vm hang.

Version-Release number of selected component (if applicable):
In host
#rpm -qa | grep spice
cairo-spice-1.8.7.1-4.el6.x86_64
spice-vdagent-0.6.3-5.el6.x86_64
spice-xpi-2.4-2.el6.x86_64
spice-server-0.7.3-2.el6.x86_64
spice-client-0.7.2-4.el6.x86_64
pixman-spice-0.13.3-5.el6.x86_64

qemu-kvm version
#qemu-kvm-0.12.1.2-2.151.el6.x86_64

kernel version
#uname -r
2.6.32-118.el6.x86_64


How reproducible:
1/15

Steps to Reproduce:
1.boot guest
#/usr/libexec/qemu-kvm -m 2G -smp 4 -drive file=/root/zhangjunyi/rhel6.1-64.qcow2,if=none,id=test,cache=none,format=qcow2,werror=stop,rerror=stop -device virtio-blk-pci,drive=test -cpu qemu64,+sse2,+x2apic -boot c -netdev tap,id=hostnet0,vhost=on -device virtio-net-pci,netdev=hostnet0,id=net0,mac=22:11:22:45:66:94 -spice port=5930,disable-ticketing -vga qxl -serial stdio -qmp tcp:0:4444,server,nowait -device virtio-serial-pci,id=virtio-serial1 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,id=channel0,name=com.redhat.spice.0

2.repeat connect/disconnect vm via spice
#/usr/libexec/spicec -h ip -p port
  
Actual results:
guest is hang,and can get log form serial console 
ed_dispatcher_shutdown_cursor_peer: 
red_dispatcher_shutdown_peer: 
handle_dev_input: cursor disconnect
handle_dev_input: disconnect
*** glibc detected *** /usr/libexec/qemu-kvm: malloc(): smallbin double linked list corrupted: 0x0000000001d77670 ***


Expected results:
work well

Additional info:
spice client version

spice-client-0.7.2-4.el6.x86_64

Comment 2 RHEL Program Management 2011-04-04 01:49:52 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 Christophe Fergeau 2011-05-30 16:29:01 UTC
Is this bug still reproduceable with an up to date rhel6? The spice packages are now at 0.8. I tried to reproduce locally but haven't managed to do it so far. How do you achieve the connect/disconnect?

Comment 4 Marian Krcmarik 2011-06-06 07:46:05 UTC
(In reply to comment #3)
> Is this bug still reproduceable with an up to date rhel6? The spice packages
> are now at 0.8. I tried to reproduce locally but haven't managed to do it so
> far. How do you achieve the connect/disconnect?

As far as I remember Junyi was able to reproduce it one time (see How reproducible - 1/15), It happened when Alon connected to the Junyi's machine remotely over WAN (from TLV to NAY).
So It is not easy reproducible one.

Comment 5 Lubos Kocman 2011-06-16 05:57:32 UTC
QE is not able to reproduce it. Proposing to close bug.
Feel free to reopen this bug with up2date information.

Tested components:

qemu-kvm-0.12.1.2-2.164.el6.x86_64
spice-client-0.8.0-2.el6.x86_64
spice-server-0.8.0-1.el6.x86_64
vgabios-0.6b-3.6.el6.noarch
seabios-0.6.1.2-3.el6.x86_64


Note You need to log in before you can comment on or make changes to this bug.