-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
rustc panic: "range start index 274090 out of range for slice of length 266240" #120065
Comments
I'll add that |
Can you please provide the rust code (or project) that causes this issue? As well as rustc version. |
Here's my rustc version:
AFAIU it's failing in |
It does look like it is failing in reqwest, but I can't seem to reproduce it on 1.{72,73,74}. If you were to clone the reqwest library from git and compile that, does it also crash? (also probably should have noticed the rustc version from the backtrace, oops). |
Does this reproduce after a |
I think the root cause of this issue was rustc incorrectly handling/reporting I/O errors. I've landed a number of PRs to address the problem; the most recent of those is #119510 which is now part of the latest stable toolchain, 1.77. Therefore, even though I have not reproduced exactly what you've reported here, I'm going to close this because I am reasonably confident that this bug is now fixed on stable. Of course it is possible that I am wrong and the bug you've reported here is not fixed. If you happen to run into problems like this in 1.77 or later please do not hesitate to open a new issue. |
Compiler panic:
The text was updated successfully, but these errors were encountered: