Skip to content

Extraction fails with Unknown filter id 8 #98

@ajeetdsouza

Description

@ajeetdsouza

Test code

fn main() {
    let file = std::fs::File::open("/tmp/dump.xz").unwrap();
    lzma_rs::xz_decompress(&mut std::io::BufReader::new(file), &mut std::io::sink()).unwrap();
}

Output of above program

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: XzError("Unknown filter id 8")', src/main.rs:5:86
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Output of xz -l dump.xz

Strms  Blocks   Compressed Uncompressed  Ratio  Check   Filename
    1       1    683.7 KiB  2,048.0 KiB  0.334  None    dum

Link to file (please extract the dump.zip to get xz file): dump.zip

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions