[8.51a problem]CRC error when unpacking file

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
BeckYang
Junior Member
Junior Member
Posts: 29
Joined: 2006-04-02, 10:33 UTC

[8.51a problem]CRC error when unpacking file

Post by *BeckYang »

I have a special zip file created by zip4j (http://www.lingala.net/zip4j/)
It could be unpacked/testing by many software (7z v9.2.0, jar.exe of JRE...)
But when I unpack/test it using TC 8.51a, a error message "CRC error, archive fiel corrupted!" is displayed. Other zip files created by zip4j do NOT have such problem.

Please investigate the problem, thank you.

The zip file and original file(data.bin) could be download from http://www.mediafire.com/download/6a8h6y54tednoh1/tc_851a_unpack_problem.zip.
(Test.java and Test.class are test program, JRE and net.lingala.zip4j_1.3.2.jar are required to run it)
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7012
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

There is no problem with this zip file
Tested with TC 8.51a x64 and x86
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50865
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The inner zip file zip4j_output.zip does give me an error here.

I have checked it - there are 3 extra bytes before the ZIP crc header "PK"07 08, so TC cannot find the CRC after the file. I don't know how other ZIP packers manage to handle this file, but it's definitely not standard ZIP.
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7012
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

ghisler(Author) wrote:The inner zip file zip4j_output.zip does give me an error here.

I have checked it - there are 3 extra bytes before the ZIP crc header "PK"07 08, so TC cannot find the CRC after the file. I don't know how other ZIP packers manage to handle this file, but it's definitely not standard ZIP.
For me only the test function gives an error but I can open this inner zip without any error.
User avatar
Ovg
Power Member
Power Member
Posts: 755
Joined: 2014-01-06, 16:26 UTC

Post by *Ovg »

Horst.Epp wrote: I can open this inner zip without any error.
Try to extract data.bin
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
BeckYang
Junior Member
Junior Member
Posts: 29
Joined: 2006-04-02, 10:33 UTC

Post by *BeckYang »

I try to unpack the file using "jar xvf zip4j_output.zip" and get errors too.
(Execute "jar tvf zip4j_output.zip" does not display any error... )

Maybe it's a issue of zip4j... I have report this case to them, thank you.
Post Reply