mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
7-zip 23.01 #573
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Quetzalcoatl2435 on GitHub (Jul 8, 2023).
I've recently updated 7-zip to v23.01 and files compressed with it can be extracted properly on linux-x64, but fails on linux-arm (e.g. Raspberry Pi) with unsupported method error message.
Reverted back to 7-zip v22.01 and everything works properly again.
Not a very big deal, but would be nice to get 7-zip 23.01 support, 'cause every other lib I've tried only supports Windows, so this library is really a life saver.
Thanks!
@adamhathcock commented on GitHub (Jul 10, 2023):
Please give me a stacktrace. ARM isn't somehing I explicity test.
@Quetzalcoatl2435 commented on GitHub (Jul 10, 2023):
@adamhathcock commented on GitHub (Jul 10, 2023):
There must be a decoder stream ID we don't have any code for that's being used here.
I would debug and see what's different. Not sure why the older works as there was additive changes in the registry but nothing ARM specific
@Quetzalcoatl2435 commented on GitHub (Jul 11, 2023):
Did some more testing and now I get the same error in linux-x64. I didn't catch it before because I tested different files on x64/ARM. This time I tested the same files and got the same error. Weird thing is that it works for some files and not for others. Same compression settings for all files. The only difference I can see so far between the files where extraction fails/succeeds is size. Files < 10 MB fail, files > 10 MB are OK.
Test files:
Test.zip
Results:
libHarfBuzzSharp.7z -> exception
libmongocrypt.7z -> OK
libSkiaSharp.7z -> exception
libSystem.IO.Ports.Native.7z -> exception