Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionMarc-Andre Lureau
2011-10-18 15:08:16 UTC
Description of problem:
A hang can occur while taking qemu screendumps and a spice client is connected:
Thread 2 (Thread 0x7f46aa7fd700 (LWP 23002)):
#0 0x000000373a0ab6ad in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1 0x000000373a0d9954 in usleep (useconds=<optimized out>) at
../sysdeps/unix/sysv/linux/usleep.c:33
#2 0x00007f46b1c39bc8 in flush_display_commands (worker=0x7f46aa6255e0) at
red_worker.c:8932
#3 0x00007f46b1c3a1b9 in handle_dev_update (worker=0x7f46aa6255e0) at
red_worker.c:10149
#4 handle_dev_input (listener=0x7f46aa6255e0, events=<optimized out>) at
red_worker.c:10416
#5 0x00007f46b1c3c582 in red_worker_main (arg=<optimized out>) at
red_worker.c:10803
#6 0x000000373a807b31 in start_thread (arg=0x7f46aa7fd700) at
pthread_create.c:305
#7 0x000000373a0dfd2d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:115
Version-Release number of selected component (if applicable):
0.8.2 (and git master)
How reproducible:
100%
Steps to Reproduce:
1. setup a spice VM with virt-manager, and open the display
2. "while true; do sleep 1 && virsh screenshot domain; done" in the background
3. do random things in the guest: move windows around, scroll webpage...
Actual results:
The display hangs.
Expected results:
It should not hang at all.
Additional info:
Restarting the client solves it.
I can't reproduce this issue with the steps in comment0 and the following environment:
# uname -r;rpm -q qemu-kvm
2.6.32-220.el6.x86_64
qemu-kvm-0.12.1.2-2.209.el6.x86_64
spice-client-0.8.2-15.el6.x86_64
spice-server-0.8.2-5.el6.x86_64
virt-manager-0.9.0-7.el6.x86_64
libvirt-0.9.10-8.el6.x86_64
Steps:
1. setup a spice VM with virt-manager, and open the display
2. "while true; do sleep 1 && virsh screenshot domain; done" in the background
3. do random things in the guest: move windows around, scroll webpage
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
No Documentation Needed
Verified this issue with the steps the following environment:
2.6.32-220.el6.x86_64
qemu-kvm-0.12.1.2-2.253.el6.x86_64
steps:
1. Boot guest using qemu-kvm directly, connect guest with spice then run TOMs-2D-Bench in a loop in guest and take screenshot more than 1000 times , guest works well.
2. Boot guest with virt-manager, and open the display with spice
2.1 run TOMs-2D-Bench in a loop in guest
2.2 "while true; do sleep 1 && virsh screenshot domain; done" in the background, take screenshot more than 1000 times. Both host and guest running well.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2012-0746.html
Description of problem: A hang can occur while taking qemu screendumps and a spice client is connected: Thread 2 (Thread 0x7f46aa7fd700 (LWP 23002)): #0 0x000000373a0ab6ad in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x000000373a0d9954 in usleep (useconds=<optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33 #2 0x00007f46b1c39bc8 in flush_display_commands (worker=0x7f46aa6255e0) at red_worker.c:8932 #3 0x00007f46b1c3a1b9 in handle_dev_update (worker=0x7f46aa6255e0) at red_worker.c:10149 #4 handle_dev_input (listener=0x7f46aa6255e0, events=<optimized out>) at red_worker.c:10416 #5 0x00007f46b1c3c582 in red_worker_main (arg=<optimized out>) at red_worker.c:10803 #6 0x000000373a807b31 in start_thread (arg=0x7f46aa7fd700) at pthread_create.c:305 #7 0x000000373a0dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Version-Release number of selected component (if applicable): 0.8.2 (and git master) How reproducible: 100% Steps to Reproduce: 1. setup a spice VM with virt-manager, and open the display 2. "while true; do sleep 1 && virsh screenshot domain; done" in the background 3. do random things in the guest: move windows around, scroll webpage... Actual results: The display hangs. Expected results: It should not hang at all. Additional info: Restarting the client solves it.