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
Verification sporadically fails on 7z creation #1318
Comments
Thanks a lot for the feedback @akrabu. Did you used a password for all the operations? Was it the same password on all of them? |
Sure did, and yes it was. I put in a password, and drug them all in at once. Ps. Thanks for the follow-back on Mastadon haha :) |
Just one last question to try to replicate, were all the operations ~40GB? |
I also just extracted that specific file, and checked the CRC32 of it (I embed the CRC32 in the filenames), and it checked out just fine. So the archive really is fine, it appears! I'm going to redo just 2010 and see if it does it again. Might help narrow it down. |
Sure it feels like there is an issue with the verification + password. I'll do some tests tomorrow 🙌🏻 |
Second attempt verified successfully. The file hashes ARE different - but I'm guessing 7z salts the passwords, making that a moot point. |
I did roughly around 2TBs worth in tests and have not been able to reproduce the issue. Hashes should be different because of the encryption, that is expected. So at this point I'm not sure what the issue was there... I'll recheck the code and leave this issue open in case anyone replicates the issue. Thanks for all the feedback and test @akrabu 🙇♂️ |
It's a lot of data. Could it be errors from a failing storage device? |
@gingerbeardman Yeah also thought it may be because of the operation being in an external device so I did my tests using an external device. Maybe you’re right and it was just a temporary read issue, because later tests where valid. @akrabu how that RAID disk connects to your Mac? |
I was concerned about that at first, too. This is a Samsung T7 Shield 2TB external SSD. I've had it a little under a year. It's my main drive for personal photos / videos. Every file has a CRC32 code in the filename, courtesy of Rhash. As of last Friday, they also have the SHA256 code AND the last modified date as of summing, stored in extended attributes for each file, courtesy of Cshatag. I checked with both, and all ~900GB checks out fine. I don't think it's my SSD.
The RAID-1 array is a SoftRAID volume. I have three 5TB drives, all mirrored, and mounted over USB. I've received no errors from the array. This is one of several backups (including a cloud backup, courtesy of Restic), cause I'm pretty paranoid about losing my photos haha This verification "bug" has also happened to me on non-encrypted archives, I'm fairly certain. I'll turn on debug mode and just use it like that for awhile. Perhaps I'll catch it eventually. It's very sporadic, though. Happened on both my work and home Macs - but only like 2-3 times since the verification feature was rolled out. The actual archives always test out fine on a manual check, so it's not ACTUALLY failing. It's happened on much smaller ~5GB archives, as well. |
Configuration
Describe the bug
I was creating about 20 7z AES encrypted archives, with splitting turned on, and verification. One did not verify properly. When tested using 7z-cli, it checked out just fine.
To Reproduce
This happens sporadically, and I'm not certain I can reproduce it.
Expected behavior
Verification to succeed, provided it would succeed using 7z-cli.
Screenshots
Keka:
7z-cli:
Lastly, here's Keka's output log:
The text was updated successfully, but these errors were encountered: