Skip to content

Snappy module error when decompressing memory dump with avml-convert #760

@ekt0-syn

Description

@ekt0-syn

AVML version: 0.17.0

When I try to decompress a memory dump with avml-convert, the following error is produced:

Error: error: unable to create snapshot
caused by:
    0: io error: unable to copy compressed data
    1: snappy: corrupt input (expected stream header but got unexpected chunk type byte 65)

The output dump is around 1GB or 2GB depending on serveral tests I performed. Steps to reproduce:

$ sudo ./avml --compress test.avml
$ sudo ./avml-convert test.avml test.lime
Error: error: unable to create snapshot
caused by:
    0: io error: unable to copy compressed data
    1: snappy: corrupt input (expected stream header but got unexpected chunk type byte 65)
$ ls -l test*
-rw------- 1 root root 17106358360 15 mars  12:53 test.avml
-rw------- 1 root root  1057613855 15 mars  12:53 test.lime

Tested both AVML commands on Debian Trixie and Ubuntu 24.04.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions