Bug 1323773 - Cannot drag-and-drop file in size more than 1GB.
Summary: Cannot drag-and-drop file in size more than 1GB.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: spice-vdagent
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Default Assignee for SPICE Bugs
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 16:21 UTC by Andrei Stepanov
Modified: 2016-04-04 16:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-04 16:38:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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