Skip to content
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]: #274

Open
1 task done
ywapple opened this issue Feb 6, 2025 · 0 comments
Open
1 task done

[Bug]: #274

ywapple opened this issue Feb 6, 2025 · 0 comments
Assignees
Labels

Comments

@ywapple
Copy link

ywapple commented Feb 6, 2025

bit7z version

3.2.x, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants