[Bug 1901528] Re: [Ubuntu 20.10] - When zlib acceleration is enabled, gzip fails when given multiple files larger than 5KB (gzip)
Frank Heimes
1901528 at bugs.launchpad.net
Wed Jan 20 05:16:05 UTC 2021
** Changed in: ubuntu-z-systems
Status: New => Fix Committed
--
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:
Fix Committed
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