Bug 588644

Summary: CRC error on valid file
Product: [Fedora] Fedora Reporter: Stefan Sørensen <stefan.sorensen>
Component: gzipAssignee: Karel Klíč <kklic>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: kklic, pertusus, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gzip-1.3.13-4.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 608787 (view as bug list) Environment:
Last Closed: 2010-07-01 19:00:40 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: 608787    

Description Stefan Sørensen 2010-05-04 07:56:23 UTC
Description of problem:
gzip fails to decompress valid compressed files.


Version-Release number of selected component (if applicable):
gzip-1.3.13-3.fc13.i686 

How reproducible:
Always

Steps to Reproduce:
1. wget http://downloads.sourceforge.net/expat/expat-2.0.1.tar.gz
2. gzip -t expat-2.0.1.tar.gz
  
Actual results:
Fails with "invalid compressed data--crc error"

Expected results:
Test succeeds.

Additional info:
Same file runs fine on F12 box with all updates.

Comment 1 Stefan Sørensen 2010-05-04 10:24:02 UTC
The build is broken by gzip-1.3.13-rsync.patch - rebuilding without solves the problem.

Comment 2 Karel Klíč 2010-05-05 12:02:33 UTC
I cannot reproduce it on my machine (i686). 

`gzip -t expat-2.0.1.tar.gz` succeeds both with F-12 and F-13.

Do you use x86_64?

Comment 3 Karel Klíč 2010-05-05 12:15:31 UTC
Ah, you also have i686, sorry.

I also tested it on F-13 x86_64 and `gzip -t expat-2.0.1.tar.gz` works there as well. 

Do we have the same expat-2.0.1.tar.gz?

$ md5sum expat-2.0.1.tar.gz 
ee8b492592568805593f81f8cdf2a04c  expat-2.0.1.tar.gz

Comment 4 Stefan Sørensen 2010-05-05 12:24:03 UTC
Yes, same md5sum. Ubuntu seems to have the same bug: https://bugs.launchpad.net/bugs/524366

Comment 5 Karel Klíč 2010-05-10 15:31:29 UTC
The preferred solution for me is to remove the rsync patch. It failed to find its way to the upstream release, and now it causes problems that cannot be easily reproduced.

I'll remove that patch from Rawhide if no fix is found in reasonable time.

Comment 6 Karel Klíč 2010-06-28 14:48:48 UTC
Most likely the issue was not caused by the rsync patch.
Via launchpad:
http://git.savannah.gnu.org/cgit/gzip.git/commit/?id=b9e94c93df914bd1d9eec9f150b2e4e00702ae7b

Comment 7 Fedora Update System 2010-06-28 14:52:12 UTC
gzip-1.3.13-4.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/gzip-1.3.13-4.fc13

Comment 8 Fedora Update System 2010-06-28 23:36:54 UTC
gzip-1.3.13-4.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gzip'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gzip-1.3.13-4.fc13

Comment 9 Stefan Sørensen 2010-06-29 07:22:37 UTC
gzip-1.3.13-4.fc13 fixes the problem for me.

Comment 10 Fedora Update System 2010-07-01 19:00:35 UTC
gzip-1.3.13-4.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.