-
Notifications
You must be signed in to change notification settings - Fork 146
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
Corrupted block detected error reported in -hb mode #95
Comments
Thanks for the report @michaelmaniscalco, I'll look into it. |
Sorry, I completely forgot this old ticket. The lesson here is that the error message is really unspecific, it doesn't help understanding and fixing the situation. |
I think the real bug here is that the benchmark module does not check and handle the 128kB limit. It should handle the issue by either giving an error (passing the buck) or perform the splitting necessary to eliminate the issue itself. Without providing either the splitting at the I/O layer or an appropriate error message, can result in a corrupted block at some later and perhaps confusing point in time. Adding an error for the 128kB limit (or alternatively implementing the appropriate splitting and removing the limitation) should eliminate the corrupted block error unless it is the result of some other condition. The moral here is that the limitations of an algorithm should always be checked even if you do not want to handle it beyond providing an error. |
The following file produces the following error:
./programs/fse -bh ./badfile FSE : Finite State Entropy, 64-bits demo by Yann Collet (Nov 9 2018) !! Error decompressing block 986 of cSize 12110 !! => (Corrupted block detected)
File is way too large to attach to ticket. It can be downloaded off my personal webiste:
www.michael-maniscalco.com/download/badfile.zip
The text was updated successfully, but these errors were encountered: