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 1017790 - vdagent-win gets stopped (restarted) after 10+ MB text is copied to the clipboard
Summary: vdagent-win gets stopped (restarted) after 10+ MB text is copied to the clipb...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: spice-vdagent-win
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Uri Lublin
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1017250 1029162
TreeView+ depends on / blocked
 
Reported: 2013-10-10 13:59 UTC by David Jaša
Modified: 2020-11-14 05:28 UTC (History)
9 users (show)

Fixed In Version: vdagent-win-3.4-1
Doc Type: Bug Fix
Doc Text:
Previously, attempting to copy text greater than 10 MB in size to the clipboard in Windows virtual machines caused vdagent-win to restart. This was caused by the error trapping logic for clipboard-related operations, which did not account for operations involving data greater than this size. Now, the error trapping logic for vdagent-win has been revised so that an error is displayed when the maximum clipboard size is exceeded, preventing vdagent-win from restarting when the maximum clipboard size is exceeded. Users also have the ability to specify the maximum clipboard size.
Clone Of:
Environment:
Last Closed: 2014-06-09 12:51:05 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0645 0 normal SHIPPED_LIVE spice-vdagent-win bug fix and enhancement update 2014-06-09 16:49:49 UTC

Description David Jaša 2013-10-10 13:59:28 UTC
Description of problem:
vdagent-win gets stopped (restarted) after 10+ MB text is copied to the clipboard

Version-Release number of selected component (if applicable):
vdagent-win-3.3-1 (from RHEV Tools 3.3-6)
windows 7 32bit

How reproducible:
100% in given VM

Steps to Reproduce:
1. copy 10+ MB plain text to a clipboard
2.
3.

Actual results:
vdagent gets stopped:
284::INFO::2013-10-10 13:18:43,260::VDAgent::write_completion::vio_serial write completion error 554
284::INFO::2013-10-10 13:18:43,260::VDAgent::run::Agent stopped
1976::INFO::2013-10-10 13:18:46,307::VDAgent::run::***Agent started in session 2***

Expected results:
vdagent keeps running and handles the failure

Additional info:
related bug: 1017302

Comment 1 David Jaša 2013-10-10 14:47:22 UTC
> related bug: 1017302
related bug: bug 1017302 (clickable)

virtio-serial bug: bug 1017817

Comment 3 David Blechter 2013-12-09 19:14:19 UTC
I performed the following test connecting to 2 rhevm in westford:

1.1 running virt-viewer on my F18 machine;
1.2. connected to win 7 VM on rhevm 3.2 (  3.2.0-11.30.el6ev ).
1.3. Copy of 11 mb plain text from Guest to client WORKS!
1.4. Copy of 11 mb of plain text from the client to the quest failed.

now the same on rhvm 3.3:

2.1 running virt-viewer on my F18 machine;
2.2. connected to win 7 VM on rhevm 3.2 (   3.3.0-0.38.rc.el6ev ).
2.3. Copy of 11 mb plain text from Guest to client WORKS!
2.4. Copy of 11 mb of plain text from the client to the quest WORKS.

I just saw an improvement, not regression.

Comment 5 Marc-Andre Lureau 2014-03-11 18:24:31 UTC
Should probably be moved to POST:
http://lists.freedesktop.org/archives/spice-devel/2014-March/016295.html

Comment 6 Uri Lublin 2014-04-07 10:48:47 UTC
In addition to some improvements in the client, the fix in comment 5 enable users to limit the clipboard size.

On the client side an environment variable SPICE_MAX_CLIPBOARD can be defined.

The client communicates that number to the agent which will not send clipboard data of size larger than this number.

Comment 12 errata-xmlrpc 2014-06-09 12:51:05 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.

http://rhn.redhat.com/errata/RHEA-2014-0645.html


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