-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
ICE in --emit mir: expected allocation ID to point to memory #66930
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
cc @eddyb |
This comment has been minimized.
This comment has been minimized.
@Alexendoo points out the second example hasn't been fixed yet, dropping E-needstest. |
Is the issue description still accurate? "Can't debug format a mir stmt in DefId" reminds me of a check that I added after we had some ICE issues with debug-printing DefIds. But as far as I can see, no example mentioned here even triggers an ICE with that message. |
I cannot reproduce the ICE on beta or nightly, so it looks pretty fixed to me. @bjorn3 can you still reproduce this issue with latest nightly? The first backtrace has no code, so it is impossible to debug; the second backtrace (the one with self-contained code) does not seem to ICE any more. |
Uhm? I don't think so, did you run with |
Ah, I just ran on playground. It would be good to have up-to-date reproduction instructions in the first post, and not just in the third post below a huge stacktrace. |
Yeah, but I don't have write access :/ |
Ouch, sorry. :( I didn't know. |
Here's a backtrace with debug info
@oli-obk Looks like the |
Triage: I think that ICE is fixed by #72424, no longer occurs with the latest nightly. Marking as E-needs-test. |
Rollup of 12 pull requests Successful merges: - rust-lang#72239 (Implement PartialOrd and Ord for SocketAddr*) - rust-lang#72466 (Stabilize str_strip feature) - rust-lang#72605 (Add working example for E0617 explanation) - rust-lang#72636 (Cleanup `Resolver::<clone|into>_outputs` methods) - rust-lang#72645 (Add myself to .mailmap) - rust-lang#72667 (expand unaligned_references test) - rust-lang#72670 (Fix incorrect comment in generator test) - rust-lang#72674 (Clippy should always build) - rust-lang#72682 (Add test for rust-lang#66930) - rust-lang#72695 (update data layout for illumos x86) - rust-lang#72697 (Remove rustc-ux-guidelines) - rust-lang#72702 (rustc_lint: Remove `unused_crate_dependencies` from the `unused` group) Failed merges: r? @ghost
Minimal reproducer:
Make sure to run rustc with
--emit mir
to reproduce!original issue
Using
-Zmir-opt-level=0
doesn't fix this.The text was updated successfully, but these errors were encountered: