-
Notifications
You must be signed in to change notification settings - Fork 105
Stuck at a certain percent while extracting encrypted 7z fileΒ #183
Description
Hello, when I'm using extractor to extract certain encypted 7zip files, the process will be not responded. I used "extractor.Extracting" and " extractor.ExtractionFinished" to check out what happened, and it prints out the last percent and just trigger deadlock. Here is the print out info.
Normal situation:
// Start Printing 7z Info
13
3294407
Headers Size = 494
Method = LZMA2:12m LZMA:20 BCJ2
Solid = True
Number of blocks = 2
[0] a.file
......
[12] l.file
// Start Printing Extract Percent
1
......
100
Done!
Error situation:
// Start Printing 7z Info
6
18377458
Headers Size = 338
Method = LZMA2:18 7zAES
Solid = True
Number of blocks = 3
[0] a.file
......
[5] f.file
// Start Printing Extract Percent
1
Nothing printed out after that, 30 seconds later, "ContextSwitchDeadlock" triggered
Compressor is working fine.
Extractor will randomly work on certain files. Just some of the 7z files will freeze the process. Some will not.
There is a strange fact that I use the compressor to compress some files into 7zip format, but I cannot extract it using extractor after that.
Update: I noticed that when "CompressionMethod = CompressionMethod.Lzma2", this will most likely to happen. Changing it to Lzma for temporary fix. Although it costs much more time to compress.