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.
Description of problem:
gzip --list lists wrong information for files > 4 GB
Version-Release number of selected component (if applicable):
gzip --version
gzip 1.3.12
Copyright (C) 2007 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Jean-loup Gailly.
How reproducible:
always
Steps to Reproduce:
1. create a .gz file larger than 4 GB (e.g)
2. run 'gzip --list file.gz'
Actual results:
$ gzip -l Dpc-209.tar.gz
compressed uncompressed ratio uncompressed_name
5751209016 3408472064 -68.7% Dpc-209.tar
Expected results:
$ ls -l Dpc-209.tar Dpc-209.tar.gz
-rw-rw-r-- 1 root root 7703439360 Nov 8 2011 Dpc-209.tar
-rw-rw-r-- 1 root root 5751209016 Nov 8 2011 Dpc-209.tar.gz
Additional info:
7703439360 % 32bit = 3408472064
so it looks like an integer32 problem.
This bug was reported originally in 2002!
Comment 2RHEL Program Management
2011-11-08 12:28:47 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 3RHEL Program Management
2012-09-07 05:09:40 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 unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.
This is not about 32b integer. This output is specified in RFC 1952 [0], where printed original size is "original size modulo 2^32". This problem was discussed in upstream [1, 2]. RFC won't be changed. Only possible solution is implementation of new option, which decompress data and continuosly will calculate and throw decompressed data. Probably I will implement this new feature during next few months (maybe this August). However, it will be still slow solution for really big archives.
I close this, because solution is future feature and RFC specify this as right output.
[0] http://www.ietf.org/rfc/rfc1952.txt
[1] http://lists.gnu.org/archive/html/bug-gzip/2010-08/msg00009.html
[2] http://lists.gnu.org/archive/html/bug-gzip/2014-06/msg00008.html