Menu

#1551 7zip fails when compressing symlinks that point to large files

None
open-accepted
nobody
None
5
2015-09-02
2015-09-01
Oleg Isakov
No
  1. Have a directory with a symlink that points to a large file (I have a file of 20GB size)
  2. Compress the directory using tzip format and -r -mx0 -mmt -bd options

Result:

System ERROR:
Unspecified error

If you don't use -bd option, you can observe that the console prints really large % numbers. This is probably because archive process is using the size of symlink vs link target to compute compression percentages. This might cause overflow errors in other parts of the code even with "-bd" options.

Discussion

  • Igor Pavlov

    Igor Pavlov - 2015-09-02

    Yes, it's BUG.
    7-Zip thinks that file is small and reserves small block for local zip header.
    And then 7-Zip can't write big zip64 header to that block.

    I'll try to fix the problem in next version.
    Thanks for report!

     
  • Igor Pavlov

    Igor Pavlov - 2015-09-02
    • status: open --> open-accepted
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB