Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6646 Discussions

Intel IPP-patched bzip2 library generates wrong file during compression with level 1

Valentyn
Novice
358 Views

Intel IPP-patched bzip2 library returns BZ_DATA_ERROR on decompression.

Attached example creates data in memory, compresses it using compression level 1 (compression succeeds), and decompresses (decompression fails).

bz2 file that was compressed using IPP-patched version of bz2 library cannot be decompressed even with original (non-patched) version of bz2 library, so it seems that the issue is in compression.

Steps to reproduce:

# Modify the following paths in `bzip2_ipp_example/CMakeLists.txt`:
IPPROOT
BZIP2_ROOT_WITH_IPP
BZIP2_ROOT_WITHOUT_IPP

# Clean
rm -rf build

# Configure
cmake -B build .

# Build
cmake --build build -j

# Run
build/problem4_noipp/problem4_noipp
build/problem4_ipp/problem4_ipp

 

Intel IPP version: 2021.4

bzip2 library version: 1.0.8

OS: Ubuntu 21.10 (Impish Indri)

Compiler: GCC 8.5.0

C++ standard: C++17

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
327 Views

Valentyn,

Thanks for bringing this topic here. The problem has been confirmed and escalated. We will keep this thread updated with the status of this problem.


Reply