Previously, virt-viewer was unable to handle large copy and paste operations. If a very large amount of text was copied, then mingw-virt-viewer displayed a failure to allocate memory error.
After fixing this bug, up to 100 MB of data can be copied and pasted.
Description of problem:
remote-viewer crash because could not allocate memory for big amount of data.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Connect to guest by remote-viewer from client
2.Open text file in client VM and copy whole text (more than 100Mb) into clipboard
3.Open text editor in guest VM and paste text from clipboard
remote-viewer does not crash
GLib-ERROR **: gmem.c:170: failed to allocate 155676817 bytes
Program received signal SIGABRT, Aborted.
#0 0x0000003a81e32925 in raise (sig=6)
Cannot access memory at address 0x7fffffffcad8
guest: Win7 64
client: Rhel6.5 64
host: RHEL 6.5 64
See also bug 1017250
in general, crash on OOM is the expected behaviour, and it's fine for the client.
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
following dep bug status
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.