Bug 707624

Summary: [BUG] RHEL6 boost, CRC not correctly computed on x86_64 during decompression of gzip archive
Product: Red Hat Enterprise Linux 6 Reporter: Kevin Toyama <ktoyama>
Component: boostAssignee: Petr Machata <pmachata>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-tools-bugs
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: cww, jonathan.underwood, mfranc, mnewsome, patrickm, pmuller
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-09 12:42:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 723503    
Attachments:
Description Flags
test C program
none
test gzip archive
none
Candidate fix none

Description Kevin Toyama 2011-05-25 14:37:49 UTC
Description of problem:
hitting this bug:
https://svn.boost.org/trac/boost/ticket/3352 
CRC not correctly computed on x64 during decompression of gzip archive

Version-Release number of selected component (if applicable):
boost-1.41.0-11.el6.x86_64


How reproducible:
always

Steps to Reproduce:
install:
boost-devel-1.41.0-11.el6.x86_64
boost-iostreams-1.41.0-11.el6.x86_64
boost-system-1.41.0-11.el6.x86_64

Compile the attached C++ program:
Put both test.cpp and test.gz in the current directory.
make test CXXFLAGS="-O3 -m64" LDFLAGS="-lboost_iostreams-mt -lboost_system-mt"

Verify the test.gz attached is in the same directory as the new executable.
zcat test.gz | wc -l
41320

Here's the expected output, which I get when test.cpp is compiled on RHEL6 Beta 1 (boost-1.39.0-8.1.el6.x86_64):
./test
41320

Note that it matches the output of the previous command.

Here's the result when this is compiled on current RHEL6:
./test
Error reading input: 41313
  
Actual results:
Error reading input: 41313


Expected results:
41320

Additional info:

Comment 1 Kevin Toyama 2011-05-25 14:40:24 UTC
Created attachment 500843 [details]
test C program

Comment 2 Kevin Toyama 2011-05-25 14:40:48 UTC
Created attachment 500845 [details]
test gzip archive

Comment 4 Petr Machata 2011-06-23 11:25:46 UTC
Created attachment 506193 [details]
Candidate fix

I believe that this should fix the problem.  I'll go ahead and verify whether it actually does.

Comment 5 Petr Machata 2011-06-23 13:00:59 UTC
It does.

Comment 6 RHEL Program Management 2011-07-05 23:52:55 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 11 Jonathan Underwood 2012-05-10 23:37:08 UTC
This seems to have been fixed already in 1.41.0-11.1 - presumably this bug should be closed?

Comment 12 Petr Machata 2012-05-11 21:57:33 UTC
This is kept open for process-related reasons.

Comment 13 Jiri Pallich 2012-10-09 12:42:23 UTC
Since this is a parent bug of an issue that has already been released via Z-Stream (e.g. rhel-6.3.z), this bug is going to be CLOSED as CURRENTRELEASE.

Comment 14 Jonathan Underwood 2012-10-10 16:25:57 UTC
Z-stream? What's that?