-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
p7zip error 2 on extracting big files over 4GB #18
Comments
I've managed to replicate the issue, creating zip files with the bundled mac archiver. Those created with Keka work. |
Seems like macOS system is creating corrupt files if they are bigger than 4GB. Already reported a bug to Apple. |
Though its not really a p7zip fail but a corruption in macOS (and earlier, tested Mac OS X 10.9), maybe Igor Pavlov can enlighten us: https://sourceforge.net/p/sevenzip/bugs/2038 |
Why is the native Archiver still able to unzip it when it is a corrupt file? |
Also unzip (via Terminal) can extract its contents, not without throwing some warnings of data corruption. WinZip is unable of opening the file, and WinRAR extracts it also throwing some corruption messages. |
I just got this error with a *.7z I just created with 1.0.7 (maximum compression). The archive itself is about 18 MB. Got the error when attempting to unpack with 1.0.7 and 1.0.8. However, was able unpack via p7zip 16.02 directly ("7z x *.7z") on CentOS. |
@klou this seems to be another issue, since this one just affects files bigger than 4GB. Is it possible to you to share the file? |
FWIW, I encountered a similar issue (or something similar) on El Capitan too. But it happened with an 11.75 GB file zipped by Keka. The compressed directory on my Mac was named "December 29, 1 (by Keka)". Below are the results of using the built-in/default Unzip utility from Terminal:
Some research uncovered that El Capitan uses an outdated UnZip utility by Info-Zip, i.e., version 5.52, which doesn't support Zip64 files, a format created automatically when an archive begins to approach a 4 GB boundary. (See this answer on StackExchange.) Upgrading to Info-Zip's UnZip version 6.00 via Homebrew and trying again showed that all was actually well with the archive:
Note that I wanted to test the integrity of the Zip file, which is why I used the An aside: Have the Keka developers considered offering a test feature similar to what I was able to do above with UnZip? |
No timeline, but eventually sure #139 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Today I updated to 1.1.5 and this error happened to me with a 30,85 GB (according to Finder) large UDRO DMG source file I cannot share with you. Rolled back to 1.1.4 and it works flawlessly again. This has never occured to me before and I regularly use 7zip on files larger than 4 GB. |
@hipunk I am also experiencing this issue, can't find 1.1.4 in the legacy files since it was relatively recent. How did you manage to roll it back? Thanks so much |
@hipunk @kjolly02 could you enable the reader log and let me know what it says when the process fails? defaults write com.aone.keka DevLog -bool true
defaults write com.aone.keka DevLogReader -bool true @kjolly02 you'll always have all the releases here at GitHub, in Code -> Releases. |
I can shed some light on this error. From my Mac environment after enabling logging (and searching console.app for 'keka') I found this error:
Looks like the directory 'annotations' was missing the owner:execute bit (644). |
// , I get the same error on a 104mb file. Why is this closed?? |
As commented on #15 by @benungs:
Here a test file: big.7z.zip
The first zip (so GitHub accepts the file) contains a 7z file that contains the big and corrupt zip. Thanks to Igor for the steps to this wonderful little big thing.
The text was updated successfully, but these errors were encountered: