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.
Bug 1558043 - Guest VM with USB support enabled is unresponsive after migration
Summary: Guest VM with USB support enabled is unresponsive after migration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: spice-gtk
Version: 7.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Victor Toso
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On:
Blocks: 1559041 1590412
TreeView+ depends on / blocked
 
Reported: 2018-03-19 13:46 UTC by Radek Duda
Modified: 2018-10-30 10:52 UTC (History)
13 users (show)

Fixed In Version: spice-gtk-0.35-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1559041 1590412 (view as bug list)
Environment:
Last Closed: 2018-10-30 10:51:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
spice debug log during migration (100.09 KB, text/plain)
2018-03-19 13:46 UTC, Radek Duda
no flags Details
full backtrace after migratin and closing of remote-viewer (21.43 KB, text/plain)
2018-03-19 13:48 UTC, Radek Duda
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3175 0 None None None 2018-10-30 10:52:27 UTC

Description Radek Duda 2018-03-19 13:46:58 UTC
Created attachment 1409868 [details]
spice debug log during migration

Description of problem:
Guest VM is unresponsive after migration

Version-Release number of selected component (if applicable):
client (rhel7.5)
spice-gtk3-0.34-3.el7.x86_64
virt-viewer-5.0-10.el7.x86_64

host (rhel7.5):
qemu-kvm-rhev-2.9.0-16.el7_4.15.x86_64
spice-server-0.14.0-2.el7.x86_64

guest (rhel7.5 (rhel6.9 also reproducible as well))
kernel-3.10.0-861.el7.x86_64

using rhv 4.2.2.4-0.1.el7

How reproducible:
always

Steps to Reproduce:
1.run rhel VM in rhv4.2
2.connect to it with remote-viewer
3.migrate
4. after migration interact with guest using mouse/keyboard

Actual results:
* Vm guest becomes unresponsive through remote-viewer
* remote-viewer is killed by SIGSEGV when user attempts to close it (backtrace attached)


Expected results:
After migration VM guest is responding to user's input through remote-viewer

Additional info:

Comment 2 Radek Duda 2018-03-19 13:48:56 UTC
Created attachment 1409869 [details]
full backtrace after migratin and closing of remote-viewer

Comment 4 Radek Duda 2018-03-20 12:13:05 UTC
Freeze is dependent on USB support. If disabled, there is no freeze. Reproducible also on Windows7 guest.

Comment 5 Ademar Reis 2018-03-20 13:55:28 UTC
Based on the description and investigation so far, I have the impression this is a qemu-kvm-rhev regression. Gerd, please take a look.

More tests from our QE to isolate the problem and the component are also welcome.

Comment 7 Christophe Fergeau 2018-03-20 14:49:09 UTC
Moving back to spice-gtk, this is the client freezing, not the whole VM. After restarting the client, the VM is usable.

Comment 8 Christophe Fergeau 2018-03-20 14:52:58 UTC
I've bisected this to
https://cgit.freedesktop.org/spice/spice-gtk/commit/?id=291f3e44
"291f3e4 channel-usbredir: Fix crash on channel-up"
I started a scratch build with this commit reverted:
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=15593734
Radek, can you give it a try once it completes?

Comment 10 Victor Toso 2018-04-06 08:04:58 UTC
Hi, took sometime thinking on it but seems the revert is indeed the best.

The patch in question fixes Bug 1399838 but it is far more easy to revert and fix that bug in a different way instead of trying to keep migration working with that patch in.

Revert sent upstream [0] and simple proposal to fix crash from Bug 1399838 sent as well [1]

[0] https://lists.freedesktop.org/archives/spice-devel/2018-April/042965.html
[1] https://lists.freedesktop.org/archives/spice-devel/2018-April/042966.html

Comment 11 Victor Toso 2018-06-12 13:26:01 UTC
For 7.6 it should be solved by rebase as it includes the proposed patches from Comment #10

Comment 17 errata-xmlrpc 2018-10-30 10:51:49 UTC
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.

https://access.redhat.com/errata/RHBA-2018:3175


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