Bug 588644 - CRC error on valid file
Summary: CRC error on valid file
Alias: None
Product: Fedora
Classification: Fedora
Component: gzip
Version: 13
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Karel Klíč
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 608787
TreeView+ depends on / blocked
Reported: 2010-05-04 07:56 UTC by Stefan Sørensen
Modified: 2013-03-03 23:00 UTC (History)
3 users (show)

Fixed In Version: gzip-1.3.13-4.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 608787 (view as bug list)
Last Closed: 2010-07-01 19:00:40 UTC
Type: ---

Attachments (Terms of Use)

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):

How reproducible:

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:

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.

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.

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