Inspico created COMPRESS-284:
--------------------------------

             Summary: Multi Thread Uncompress TGZ - CRC32 ERROR
                 Key: COMPRESS-284
                 URL: https://issues.apache.org/jira/browse/COMPRESS-284
             Project: Commons Compress
          Issue Type: Bug
    Affects Versions: 1.8.1
         Environment: Linux
            Reporter: Inspico


We have to uncompress ".tar.gz".
So we use an "TarArchiveInputStream(GzipCompressorInputStream)".

An archive extracted alone works perfectly.
But when we have to launch paralleles thread to extract many archives at the 
same time we get the same error for each thread :
java.lang.Exception: Error while extracting list of files from Archive : 
java.io.IOException: Gzip-compressed data is corrupt (CRC32 error)

Sometimes we may have a success for only one archive among all errors.

Is there any problems on the use of TarInputStream or GZIPInputStream in 
multi-thread ?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to