lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File ends unexpectedly at pos XXX when compressing


From: Scott Mcdermott
Subject: File ends unexpectedly at pos XXX when compressing
Date: Sun, 13 Aug 2023 09:11:14 -0700

Hello, I was using tarlz 0.22 / liblz 1.13 like this:

    tarlz -cpf file.tlz dir

to compress a 37GB directory 'dir' containing
approximately 12,000 files.  The output grew
to 15GB and then I received this report:

    File 'dir/foo' ends unexpectedly at pos 106496

with exit code 1.  The file it errored on was an
.exo cache file from the YouTube app (it was an
sdcard backup of a phone), with size 1265209.
It worked fine when I gave it just this file.  The
file was not sparse when checked with 'ls -s'.

I looked at source code and this appears to be
from minilzip.c in do_decompress(), so I am
puzzled why this routine is used with '-c' option.

I am also curious if there are any known bugs
which might cause this error message to occur.
The files were not in use at time of 'tarlz', as
this was an old backup tree of a long-dead
phone sdcard (stored on an unrelated ext4 fs).

Any information is appreciated, thanks.

-- 
Scott



reply via email to

[Prev in Thread] Current Thread [Next in Thread]