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

Decoding Exception #24

Open
Zetanova opened this issue Apr 19, 2018 · 4 comments
Open

Decoding Exception #24

Zetanova opened this issue Apr 19, 2018 · 4 comments
Labels

Comments

@Zetanova
Copy link

An archive was created with 7-zip.exe 9.20 and 18.01
with pw and multiple files.

A NotSupportedException is thrown on the first file stream:
at ManagedLzma.SevenZip.Reader.BcjArchiveDecoder.DecodeInto(Byte[] buffer, Int32 offset, Int32 count)
at ManagedLzma.SevenZip.Reader.BcjArchiveDecoder.Read(Byte[] buffer, Int32 offset, Int32 count)
at ManagedLzma.SevenZip.Reader.DecodedStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Stream.InternalCopyTo(Stream destination, Int32 bufferSize)

@Zetanova
Copy link
Author

without a password and a single file (700kb)
it is landing in a live lock where 1core is at 100%

@Zetanova
Copy link
Author

LZMA and LZMA2 makes the same problems.
I reseted the 7-zip to the default compression settings.

Using .net4.6.2

@weltkante
Copy link
Owner

I'll take a look at the weekend and see if I can reproduce this behavior.

@weltkante weltkante added the bug label Apr 23, 2018
@weltkante
Copy link
Owner

I was able to reproduce both issues using 7zip 18.01 but it needs further investigation to determine what causes them. Maybe the updated 7zip/lzma codebase changed something and now triggers unexpected codepaths. I'll have a look at what code has changed in the recent releases.

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