lzip-bug
[Top][All Lists]
Advanced

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

Re: File ends unexpectedly at pos XXX when compressing


From: Antonio Diaz Diaz
Subject: Re: File ends unexpectedly at pos XXX when compressing
Date: Wed, 16 Aug 2023 00:41:45 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Antonio Diaz Diaz wrote:
The diagnostic above does not come from minilzip.c, but from line 476 in
function 'cworker' in create_lz.cc. It happens when the file being read
and archived ends before its expected size. The reading is performed by
the function 'readblock', which reads in a loop until the file ends or
until something fails. So it is probable that the file 'dir/foo' has
indeed some issue.

Tarlz reads and compresses files in parallel (multithreaded) when creating a compressed archive. Therefore the problem may be with parallel accesses to the file system. This could explain why it worked when you archived 'dir/foo' alone. How many processors are in your machine?

Best regards,
Antonio.



reply via email to

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