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 826150

Summary: segfault without apparent reason in memcpy() preceded by copy() preceded by std::basic_streambuf()
Product: Red Hat Enterprise Linux 6 Reporter: David Jaša <djasa>
Component: spice-xpiAssignee: Peter Hatina <phatina>
Status: CLOSED NOTABUG QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3CC: acathrow, cfergeau, dblechte, dyasny, phatina, tsmetana
Target Milestone: betaKeywords: ZStream
Target Release: 6.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: abrt_hash:2e5106b9e83d0ffad7df93b4648e802b4606ac96
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-22 13:10:02 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:
Attachments:
Description Flags
full backtrace none

Description David Jaša 2012-05-29 17:37:30 UTC
Created attachment 587468 [details]
full backtrace

Description of problem:
SSIA. Happened during use of RHEVM 2.2 user portal, the browser was idle at the time of the crash, though.

Version-Release number of selected component (if applicable):
spice-xpi-2.7-19.uri1.el6.x86_64
xulrunner-10.0.4-1.el6_2.x86_64

(spice-xpi is with patch for "s" secure channels prefix removal applied)

How reproducible:
random

Steps to Reproduce:
1. 
2.
3.
  
Actual results:
segfault

Expected results:


Additional info:
backtrace:
#0  memcpy () at ../sysdeps/x86_64/memcpy.S:396
396		movq	32(%rsi), %r11
(gdb) t a a bt

Thread 1 (Thread 0x7f25531d1700 (LWP 21304)):
#0  memcpy () at ../sysdeps/x86_64/memcpy.S:396
#1  0x000000364569badb in copy (this=0x7f25531d0638, __s=0x7f2559a859e0 "\320)\240Y%\177", __n=139796890517504)
    at /usr/src/debug/gcc-4.4.6-20120305/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/char_traits.h:275
#2  std::basic_streambuf<char, std::char_traits<char> >::xsputn (this=0x7f25531d0638, __s=0x7f2559a859e0 "\320)\240Y%\177", __n=139796890517504)
    at /usr/src/debug/gcc-4.4.6-20120305/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/streambuf.tcc:89
#3  0x0000003645692915 in sputn (__out=..., __s=0x7f2559a05a18 "", __n=139796890517504)
    at /usr/src/debug/gcc-4.4.6-20120305/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/streambuf:427
#4  __ostream_write<char, std::char_traits<char> > (__out=..., __s=0x7f2559a05a18 "", __n=139796890517504)
    at /usr/src/debug/gcc-4.4.6-20120305/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/ostream_insert.h:48
#5  std::__ostream_insert<char, std::char_traits<char> > (__out=..., __s=0x7f2559a05a18 "", __n=139796890517504)
    at /usr/src/debug/gcc-4.4.6-20120305/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/ostream_insert.h:99
#6  0x00007f25595eadf0 in nsPluginInstance::ExecuteUsbRdrCtrl (this=0x7f25614c0500) at plugin.cpp:850
#7  0x00007f25595efb30 in nsPluginInstance::UsbRdrCtrlWaitHelper (opaque=0x7f25614c0500) at plugin.cpp:985
#8  0x000000363ba07851 in start_thread (arg=0x7f25531d1700) at pthread_create.c:301
#9  0x000000363b2e767d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Comment 1 RHEL Program Management 2012-07-10 08:13:14 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 2 RHEL Program Management 2012-07-11 02:02:35 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 3 RHEL Program Management 2012-12-14 08:11:11 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 Peter Hatina 2013-01-09 08:08:53 UTC
David, can you reproduce this, anyhow?

Comment 5 David Jaša 2013-01-09 08:18:17 UTC
No, I didn't see it ever since.

Comment 6 Peter Hatina 2013-01-22 13:10:02 UTC
Closing this one.