You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to compress a file called "xxx.zip", compressFile throws an exception: "Error while compressing files: Unspecified error _DoFree=true". There will be problems with nested compression. The compressed file is about 1G.
Steps to reproduce
No response
Expected behavior
No response
Relevant compilation output
Code of Conduct
By submitting this issue, I agree to follow bit7z's Code of Conduct
The text was updated successfully, but these errors were encountered:
If the file size is larger than 2G, an error will occur. The same is true when using minizip. After investigation, it was found that the problem with minizip is that it uses 32-bit file streams. After removing the USE_FILE32API macro, minizip can compress normally. See if this helps you.
Strange, I've tried to replicate the issue, but I didn't have success so far.
I tested the compression of a ~5GB zip file to a second zip file, similarly to your case but with an even bigger file, and it succeeded both when building for x86 and for x86_64.
Bit7z v4.0 uses the standard file streams for reading/writing files, so there's should not be any issue in reading such large files, as far as I know.
bit7z version
4.0.x
Compilation options
No response
7-zip version
v23.01
7-zip shared library used
7z.dll / 7z.so
Compilers
MSVC
Compiler versions
No response
Architecture
x86_64
Operating system
Windows
Operating system versions
Windows 10
Bug description
When I try to compress a file called "xxx.zip", compressFile throws an exception: "Error while compressing files: Unspecified error _DoFree=true". There will be problems with nested compression. The compressed file is about 1G.
Steps to reproduce
No response
Expected behavior
No response
Relevant compilation output
Code of Conduct
The text was updated successfully, but these errors were encountered: