-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: library/core/src/slice/index.rs:73:5: out of range slice #96259
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
Comments
Good afternoon, I'm having the same issue, any solutions? |
@chiquidev I'm afraid we discovered this using a fuzzer, so we haven't tried to find workarounds! You're running into this in real human-written code? Can you share the context, possibly? I'm always interested when a fuzzer-found bug is something that's a problem for real code! |
Ran into this issue while writing a hand-written parser, both on stable and nightly compiler versionStable:
Nightly:
Error + backtrace on stable
The part which causes issue looks like this:
Collecting into |
@haibane-tenshi your backtrace points to a different place in the compiler, this is probably a different bug. Could you open a new issue with a more complete code snippet? I could not reproduce the ICE with the one you provided. |
Triage: Fixed on the latest nightly (possibly related to #108297), marking as E-needs-test. |
Fixed by #108297, and we already have similar UI for it. |
Code
Minimal "readable" code:
via comby-reducer
Truly minimized:
via
afl-tmin
on the aboveMeta
On nightly
rustc --version --verbose
:Error output
Backtrace
Notes
I searched through ICE issues and believe this is not a duplicate, but let me know! Found with compiler fuzzing tools
comby-decomposer
andafl-compiler-fuzzer
The text was updated successfully, but these errors were encountered: