Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8187811AFE for ; Mon, 11 Aug 2014 05:58:12 +0000 (UTC) Received: (qmail 90232 invoked by uid 500); 11 Aug 2014 05:58:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 90138 invoked by uid 500); 11 Aug 2014 05:58:12 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 90126 invoked by uid 99); 11 Aug 2014 05:58:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2014 05:58:12 +0000 Date: Mon, 11 Aug 2014 05:58:12 +0000 (UTC) From: "Stefan Bodewig (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COMPRESS-284) Multi Thread Uncompress TGZ - CRC32 ERROR MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COMPRESS-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092477#comment-14092477 ] Stefan Bodewig commented on COMPRESS-284: ----------------------------------------- Is anybody else ever going to use the archiveData stream? Does switching to {{java.util.zip.GZIPInputStream}} rather than our version solve the issue? > 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)