-
Notifications
You must be signed in to change notification settings - Fork 82
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
Panic (slice indexes) when encoding with brotli #103
Comments
Looks most likely to be a bug in |
Thanks for looking into it. Hopefully it's just a fluke. I'll add some more metadata around the exception to try and figure out under what conditions this happened. I noticed other panic have happened with different slice indexes:
This could be because we're using adaptive http/2 window sizes? Else, I would expect to always see "ends at 8192" if it was using the default. |
This is still a serious issue. Might have to disable Brotli entirely in my application. It's also most definitely the result of undefined behavior, as it can occur or not occur with the same file between builds.
And here is the file if it can help, it's just a WOFF2 font file that I know has been successfully compressed before: It seems random and rare which file it can affect, but it always happens repeatably with that file when it presents itself, at least until a recompile with changes. |
We just started getting that last night:
I don't have much details about the actual body that's causing these issues. We're running a reverse-proxy with varying responses and workloads.
The text was updated successfully, but these errors were encountered: