Bug 1311641

Summary: virt-viewer can freeze or get into busy loop after forceful unplug of USB device redirected via usbdk
Product: Red Hat Enterprise Virtualization Manager Reporter: David Jaša <djasa>
Component: mingw-virt-viewerAssignee: Default Assignee for SPICE Bugs <rh-spice-bugs>
Status: CLOSED ERRATA QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: cfergeau, dblechte, dfleytma, djasa, fidencio, gklein, lsurette, rbalakri, srevivo, tpelka
Target Milestone: ovirt-4.0.1   
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mingw-virt-viewer-2.0-9.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 20:48:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Spice RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
memory dump of 100% cpu 1/2
none
memory dump of 100% cpu 2/2 none

Description David Jaša 2016-02-24 16:28:41 UTC
Created attachment 1130255 [details]
memory dump of 100% cpu 1/2

Description of problem:
This is a follow-up to bug 1149624. UsbDk part of that bug is fixed  but remote-viewer still can e.g. eat 100 % cpu

Version-Release number of selected component (if applicable):
win 7 64b
tools 3.6-6: mingw-virt-viewer 2.0.8, usbdk 1.0-10

How reproducible:


Steps to Reproduce:
1. unplug usb device while redirected
2. wait (or continue working with VM)
3.

Actual results:
virt-viewer process may get to 100 % cpu not reacting to any input or it may just stay around

Expected results:
virt-viewer continues running and exits cleanly when told to do so

Additional info:
join files on linux: cat remote-viewer.DMP.xz.* | xz -dc > remote-viewer.DMP
join files on windows:

Comment 1 David Jaša 2016-02-24 16:29:51 UTC
Created attachment 1130256 [details]
memory dump of 100% cpu 2/2

Comment 2 David Jaša 2016-02-24 16:30:52 UTC
join files on windows (YMMV):
copy /b remote-viewer.DMP.xz.00 + remote-viewer.DMP.xz.01 remote-viewer.DMP.xz

Comment 3 Yaniv Lavi 2016-05-09 11:07:01 UTC
oVirt 4.0 Alpha has been released, moving to oVirt 4.0 Beta target.

Comment 16 errata-xmlrpc 2016-08-23 20:48:51 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://rhn.redhat.com/errata/RHEA-2016-1681.html