[Bug 1901528] Re: [Ubuntu 20.10] - When zlib acceleration is enabled, gzip fails when given multiple files larger than 5KB (gzip)
Steve Langasek
1901528 at bugs.launchpad.net
Tue Jan 19 21:39:10 UTC 2021
Hello bugproxy, or anyone else affected,
Accepted gzip into groovy-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/gzip/1.10-2ubuntu1.1
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
groovy to verification-done-groovy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-groovy. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: gzip (Ubuntu Groovy)
Status: Confirmed => Fix Committed
** Tags added: verification-needed verification-needed-groovy
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zlib in Ubuntu.
https://bugs.launchpad.net/bugs/1901528
Title:
[Ubuntu 20.10] - When zlib acceleration is enabled, gzip fails when
given multiple files larger than 5KB (gzip)
Status in Ubuntu on IBM z Systems:
New
Status in gzip package in Ubuntu:
Fix Released
Status in zlib package in Ubuntu:
Invalid
Status in gzip source package in Groovy:
Fix Committed
Status in zlib source package in Groovy:
Invalid
Bug description:
When zlib acceleration is enabled, gzip fails when given multiple
files larger than 5KB.
This problem does not happen when running gzip against a single file
at a time. It only happens when you provide multiple files as gzip
arguments.
So this works whether zlib acceleration is enabled or not:
for file in file1 file2; do gzip $file ; done
But this fails (when zlib acceleration is enabled):
gzip file1 file2
The patch to fix this has been accepted upstream:
https://git.savannah.gnu.org/cgit/gzip.git/commit/?id=be0a534ba2b6e77da289de8da79e70843b1028cc
[Impact]
* With zlib acceleration enabled, attempting to compress multiple files
over 5MB would cause a segmentation fault.
* The files could still be compressed in separate commands
[Test Case]
* Create two files that are larger than 5MB
* Enable zlib acceleration (z15 hardware required)
* Run the command gzip <file1> <file2>
* NOTE: we do not have access to z15 hardware and therefore are relying
on IBM to verify this fix
[Where problems could occur]
* Due to lack of testing resources, it's possible the bug has not been
fully fixed, and the segmentation fault could still occur.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1901528/+subscriptions
More information about the foundations-bugs
mailing list