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.

Bug 1323773

Summary: Cannot drag-and-drop file in size more than 1GB.
Product: Red Hat Enterprise Linux 7 Reporter: Andrei Stepanov <astepano>
Component: spice-vdagentAssignee: Default Assignee for SPICE Bugs <rh-spice-bugs>
Status: CLOSED NOTABUG QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: rbalakri
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-04 16:38:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrei Stepanov 2016-04-04 16:21:53 UTC
Drag-and-drop is broken for file size > 1GB.

VM is RHEL7.3RC: spice-vdagent-0.14.0-10.el7.x86_64

Client is Windows7SP1:
rpm -qf /usr/share/spice/virt-viewer-x64.msi 
rhevm-spice-client-x64-msi-3.6-6.el6.noarch
rpm -q --changelog rhevm-spice-client-x64-msi
* Mon Jan 04 2016 Uri Lublin <uril> - 3.6-6
- mingw-virt-viewer 2.0.8
- mingw-spice-gtk 0.26-10
- mingw-libusbx 1.0.20-1
- spice-usbdk-win 1.0-10
- Send requests to usbdk asynchronously (rhbz#1144043)

Host is Rhel7.2.z
kernel-3.10.0-327.10.1.el7.x86_64
qemu-kvm-rhev-2.3.0-31.el7_2.10.x86_64

How reproducible: always

Steps to Reproduce:

1. Prepare file in size 1GB on client:

For example, using powershell: 

 $file = ("{0}\desktop\1GB.txt" -f $Env:USERPROFILE)
 $fileStream = New-Object System.IO.StreamWriter -ArgumentList ([IO.File]::Open($file,"Create"))
 $fileStream.Write("123456!")
 $fileStream.BaseStream.SetLength(1024*1024*1024*1)
 $fileStream.Close()
 $fileStream = New-Object System.IO.StreamWriter -ArgumentList ([IO.File]::Open($file,"Append"))
 $fileStream.Write("ZZZ")
 $fileStream.Close()


Install fciv https://support.microsoft.com/en-us/kb/889768 
Install handle from https://technet.microsoft.com/en-us/sysinternals/handle.aspx

2. Check md5 for the file.
fciv -md5 <file>
3. Login to VM.
4. Drag and drop file to VM.
5. Wait enough time.

On VM check md5sum for the copied file. MD5 will be different from client's file.

spice-vdagents doesn't close file on the VM (check with 'fuser')

remote-viewer doesn't close file on the client (check with 'handle' in powershell)

Comment 2 Andrei Stepanov 2016-04-04 16:38:55 UTC
I cannot reproduce the bug with Linux client using virt-viewer-2.0-7.el7.x86_64

Re-assign on mingw-virt-viewer.

I cannot it just re-assing. Bugzilla fails with: A value must be set for the 'oVirt Team' field. I am going to open as a new bug.