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

Application crash while getting Entries | System.AccessViolationException: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." #51

Open
tushinivan opened this issue May 23, 2021 · 0 comments

Comments

@tushinivan
Copy link

Hi!
I have a project on .net 5 and I get an error when I try to unzip all occurrences, after which the application gets an unhandled exception and crashes.

My code:

using (ArchiveFile archiveFile = new ArchiveFile("D:\\01.zip"))
{
      var x = archiveFile.Entries;
      archiveFile.Extract("D:\\tmp\\", true);
}

Archive for testing: https://yadi.sk/d/dd3ZYRe5D89xzw

Error:
System.AccessViolationException: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

Thanks for any help on this issue.

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

No branches or pull requests

1 participant