APAR status
Closed as program error.
Error description
zlibNX using HW acceleration on P9/P10 can generate incorrect compressed files that can't be uncompressed. This happens in the rare case where deflate is called with Z_FINISH and the "compressed" data is significantly bigger than the input (not compressed) data so that the output buffer passed to the accelerator is too small. In this case, the accelerator returns an error as expected. zlibNX catches it and falls back to SW compression. There is a bug in the fallback path that leads to incorrect compressed data being generated with no error or warning reported. The resulting file can't be uncompressed and the data may be lost. This case has not been seen with the standard compress tools (xgzip or pigz) but has been seen with DB2 compression.
Local fix
Problem summary
when decompressing, the decompression stops on the first BFINAL which is in the middle of the file and it fails With below error. pigz -c -d bad.gz > /tmp/bad pigz: skipping: bad.gz: corrupted -- crc32 mismatch
Problem conclusion
Avoid setting the Completion of the Compression prematurely.
Temporary fix
Comments
APAR Information
APAR number
IJ48364
Reported component name
AIX V7.3
Reported component ID
5765CD300
Reported release
730
Status
CLOSED PER
HIPER
NoHIPER
Submitted date
2023-09-06
Closed date
2023-09-06
Last modified date
2024-12-12
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
AIX V7.3
Fixed component ID
5765CD300
Applicable component levels
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11T","label":"AIX 7.3 HIPERS- APARs and Fixes"},"Platform":[{"code":"PF053","label":"Power Systems"}],"Version":"730","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]
Document Information
Modified date:
13 December 2024