Problem unpacking large tar.gz files.

Apr 28, 2011 at 7:13 PM

SevenZip generating error below. The code is:

FileStream fs = new FileStream(inputFilePath, FileMode.Open);
SevenZipExtractor extr = new SevenZipExtractor(fs);
MemoryStream TarMemoryStream = new MemoryStream();
extr.ExtractFile(0, TarMemoryStream);
extr.Dispose();
extr = new SevenZipExtractor(TarMemoryStream);
for (int i = 0; i < extr.FilesCount; ++i)
{
        Console.WriteLine(extr.ArchiveFileNames[i]);
        extr.ExtractFiles(outputFilePath, extr.ArchiveFileNames[i]);
}
extr.Dispose();

Error generated when 'extr.ExtractFile(0, TarMemoryStream);' line is executed:

+  [SevenZip.SevenZipException] {"The execution has failed due to the bug in the SevenZipSharp.\nPlease report about it to http://sevenzipsharp.codeplex.com/WorkItem/List.aspx, post the release number and attach the archive."} SevenZip.SevenZipException

Files less than 1GB seem to work. 1GB and lager (I have up to 3GB) are blowing up. The archives could have hundreds or possibly up to a thousand files in them. I am on Win 7 x64 using 0.64 SevenZip version and latest 7z.dll from August 2010.

Any help or feedback would be appreciated.

Thanks

Christian

Dec 6, 2011 at 2:45 PM

I had the same problem , anyone can help?

Jan 5, 2013 at 7:18 AM
<html />