Bug 1135105

Summary: Should send data message for file copy of 0 size
Product: Red Hat Enterprise Virtualization Manager Reporter: Marc-Andre Lureau <marcandre.lureau>
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: unspecified Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: cfergeau, dblechte, desktop-qa-list, djasa, fidencio, gklein, rbalakri, rh-spice-bugs, sherold, tjamrisk, tpelka, victortoso, yeylon, ykaul, ylavi
Target Milestone: ovirt-3.6.0-rc   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mingw-virt-viewer-2.0-1.el7ev Doc Type: Bug Fix
Doc Text:
Previously, the SPICE client did not send a data message when transferring zero-sized files by drag and drop. Because the guest agent expects to receive a message, it would keep a file open, causing a leak. This has been fixed by adding a transfer message for zero-sized files to prevent guests from leaking file descriptors in the guest agent during the copy.
Story Points: ---
Clone Of: 1135099 Environment:
Last Closed: 2016-03-09 20:08:59 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:
Bug Depends On: 1135099, 1181289    
Bug Blocks:    

Description Marc-Andre Lureau 2014-08-28 20:07:51 UTC
+++ This bug was initially created as a clone of Bug #1135099 +++

Description of problem:

spice-gtk doesn't send data message for 0-size files, however both linux and windows agents are expecting to receive it, or they will keep a file open, thus leaking it.

Version-Release number of selected component (if applicable):

any with file copy/xfer support

How reproducible:

100%

Steps to Reproduce:
1. dnd 0-size files to remote desktop

Actual results:

spice-vdagent number of open fd keeps growing

Expected results:

number of fd shouldn't grow.

Comment 3 David Jaša 2015-07-23 10:52:54 UTC
Well-known problem, qa_ack+

Comment 6 Dayle Parker 2016-03-01 00:39:09 UTC
If this bug requires doc text for errata release, please provide draft text in the doc text field in the following format:

 Cause:
 Consequence:
 Fix:
 Result:

Comment 7 Tomas Pelka 2016-03-01 09:28:11 UTC
I'm sorry Dayle, we as QE are not responsible for filling doc text.

Comment 9 errata-xmlrpc 2016-03-09 20:08:59 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-0377.html