-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
[Bug]: file data error #275
Comments
Hi!
The reason for the low performance might be that Also, you didn't post all the code, but if you happen to call
As I said, I have some ideas for improving the performance of |
Your analysis process inspired me
} |
Good! |
bit7z version
4.0.x
Compilation options
BIT7Z_7ZIP_VERSION, BIT7Z_AUTO_FORMAT, BIT7Z_USE_NATIVE_STRING
7-zip version
v23.01
7-zip shared library used
7z.dll / 7z.so
Compilers
MSVC
Compiler versions
vs2022
Architecture
x86
Operating system
Windows
Operating system versions
windows11
Bug description
BitFileExtractor extractor{ lib, BitFormat::Auto };
I have a file that is damaged and has a size of 1.5GB
If I use the extractor. extract (zipFile, strOutDir) function, I may only be able to extract a few files and exit abnormally
If I use the extractor.xtractMatching function to extract all files in sequence, I can continue to extract many more files
But the performance is really low and the speed is very slow!
try
{
extractor.extractMatching(zipFile, iten.first, strTemp.GetString());
}
catch (const bit7z::BitException& ex)
{
string strMsg = ex.what();
auto failedFiles = ex.failedFiles();
//auto errorType = ZipErrorType(strMsg);
OutputDebugStringA(strMsg.c_str());
}
Is there any way to solve this problem?
The exception reported in this file is:
Failed to extract the archive: Data error.
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: