bzip2 data integrity error when decompressing

Bug #1835404 reported by Leon Anavi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzip2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

With the latest version of bzip2, 1.0.6-8.1ubuntu0.1, I am unable to extract several archives from nvidia.com. For example with archive: https://developer.download.nvidia.com/embedded/L4T/r32_Release_v1.0/jax-tx2/BSP/JAX-TX2-Jetson_Linux_R32.1.0_aarch64.tbz2

Exactly the same archives work perfectly fine with bzip2 version 1.0.6-8 (the previous release before 1.0.6-8.1ubuntu0.1.

I am experiencing these issues with bzip2 1.0.6-8.1ubuntu0 on both Ubuntu 16.04 and 18.04. Here are details to reproduce the issue:

leon@u1804:~$ apt-cache policy bzip2
bzip2:
  Installed: 1.0.6-8.1ubuntu0.1
  Candidate: 1.0.6-8.1ubuntu0.1
  Version table:
 *** 1.0.6-8.1ubuntu0.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.0.6-8.1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
leon@u1804:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
leon@u1804:~$ wget https://developer.download.nvidia.com/embedded/L4T/r32_Release_v1.0/jax-tx2/BSP/JAX-TX2-Jetson_Linux_R32.1.0_aarch64.tbz2
--2019-07-04 10:47:12-- https://developer.download.nvidia.com/embedded/L4T/r32_Release_v1.0/jax-tx2/BSP/JAX-TX2-Jetson_Linux_R32.1.0_aarch64.tbz2
Resolving developer.download.nvidia.com (developer.download.nvidia.com)... 192.229.221.58, 2606:2800:233:ef6:15dd:1ece:1d50:1e1
Connecting to developer.download.nvidia.com (developer.download.nvidia.com)|192.229.221.58|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 125799502 (120M) [application/octet-stream]
Saving to: ‘JAX-TX2-Jetson_Linux_R32.1.0_aarch64.tbz2’

JAX-TX2-Jetson_Linux_R32.1.0_aa 100%[=======================================================>] 119.97M 27.6MB/s in 4.4s

2019-07-04 10:47:32 (27.2 MB/s) - ‘JAX-TX2-Jetson_Linux_R32.1.0_aarch64.tbz2’ saved [125799502/125799502]

leon@u1804:~$ bzip2 -dvv JAX-TX2-Jetson_Linux_R32.1.0_aarch64.tbz2
  JAX-TX2-Jetson_Linux_R32.1.0_aarch64.tbz2:
    [1: huff+mtf rt+rld]
    [2: huff+mtf rt+rld]
    [3: huff+mtf rt+rld]
    [4: huff+mtf rt+rld]
    [5: huff+mtf
bzip2: Data integrity error when decompressing.
 Input file = JAX-TX2-Jetson_Linux_R32.1.0_aarch64.tbz2, output file = JAX-TX2-Jetson_Linux_R32.1.0_aarch64.tar

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

bzip2: Deleting output file JAX-TX2-Jetson_Linux_R32.1.0_aarch64.tar, if it exists.

Best regards,
Leon

Tags: bzip2 tbz2
Revision history for this message
jjqq (jjqq) wrote :

I've encountered the exact same issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.