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 1019797 - Remote-viewer received SIGABRT after several copy-paste of big amount of text
Summary: Remote-viewer received SIGABRT after several copy-paste of big amount of text
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: spice-gtk
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Marc-Andre Lureau
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 1017250
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-16 12:31 UTC by Vaclav Ehrlich
Modified: 2016-10-04 04:02 UTC (History)
8 users (show)

Fixed In Version: spice-gtk-0.22-1.el6
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2014-10-14 06:46:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1487 0 normal SHIPPED_LIVE spice-gtk bug fix and enhancement update 2014-10-14 01:28:31 UTC

Description Vaclav Ehrlich 2013-10-16 12:31:32 UTC
Description of problem:
remote-viewer crash because could not allocate memory for big amount of data.

Version-Release number of selected component (if applicable):
virt-viewer 0.5.6-8
spice=gtk 0.20-9
spice-vdagent 0.14.0-2


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

Actual results:
remote-viewer crashes

Expected results:
remote-viewer does not crash

Additional info:

gdb:
GLib-ERROR **: gmem.c:170: failed to allocate 155676817 bytes
aborting...
Program received signal SIGABRT, Aborted.


(gdb) backtrace
#0  0x0000003a81e32925 in raise (sig=6)
   at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
Cannot access memory at address 0x7fffffffcad8


guest: Win7 64
client: Rhel6.5 64
host: RHEL 6.5 64

Comment 1 Marc-Andre Lureau 2013-10-16 12:36:30 UTC
See also bug 1017250

in general, crash on OOM is the expected behaviour, and it's fine for the client.

Comment 3 RHEL Program Management 2013-10-19 13:24:34 UTC
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.

Comment 4 Marc-Andre Lureau 2014-03-07 15:47:44 UTC
following dep bug status

Comment 7 errata-xmlrpc 2014-10-14 06:46:32 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/RHBA-2014-1487.html


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