Skip to content
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

Also emit ICE dump files on stable rustc #133209

Closed
wants to merge 3 commits into from

Conversation

jieyouxu
Copy link
Member

@jieyouxu jieyouxu commented Nov 19, 2024

BLOCKED: waiting on MCP rust-lang/compiler-team#809

See On nightly, dump ICE backtraces to disk #108714 where originally we made it nightly-only in case there was some problems with the ICE dumping infra breaking stable users. However, a good amount of time has since passed (Jun 2023 when #108714 was merged vs Nov 2024 when this PR ws opened). It was waiting for cargo gc work, but the timeline of that is unclear so imo should not block this.

Also note that ICE dumping is perma-unstable behavior, so if this somehow is problematic it is very easy to revert.

This run-make test was flaky on windows-gnu but not msvc cc #128911.

Closes #132245.

Unresolved concerns

  • Check-on-save can dump ICE files to the crate multiple times, can we figure out somewhere to place the ICE files that are not so disruptive?

cf. <rust-lang#132245> where originally
we made it nightly-only in case there was some problems with the ICE
dumping infra breaking stable users. However, a good amount of time has
since passed and such bugs have not materialized. It was also waiting
for cargo gc work, but the timeline of that is unclear.

Also note that ICE dumping is already perma-unstable behavior, so if
this somehow is problematic it is very easy to revert.
It was only flaky for i686-mingw (windows-gnu), it seemed reasonably
reliable for msvc.
@rustbot

This comment was marked as outdated.

@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 19, 2024
@jieyouxu
Copy link
Member Author

r? @estebank (or wg-diagnostics or compiler)

@rustbot rustbot assigned estebank and unassigned Mark-Simulacrum Nov 19, 2024
@jieyouxu jieyouxu added S-waiting-on-MCP Status: PR has a compiler MCP and is waiting for the compiler MCP to complete. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 19, 2024
@jieyouxu jieyouxu added the S-blocked Status: Blocked on something else such as an RFC or other implementation work. label Nov 19, 2024
@jieyouxu
Copy link
Member Author

Closing due to unresolved concerns:

  • ICE dumps can become very annoying if they get dumped to $CWD, dumping to target/ is... not clear if there can be problems.
  • ICE dumps and diagnostics can still leak user info cc ICE dumps leak user names etc #128594.

@jieyouxu jieyouxu closed this Nov 20, 2024
@jieyouxu jieyouxu deleted the stable-ice branch November 20, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-run-make Area: port run-make Makefiles to rmake.rs S-blocked Status: Blocked on something else such as an RFC or other implementation work. S-waiting-on-MCP Status: PR has a compiler MCP and is waiting for the compiler MCP to complete. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stable compilers don't emit ICE files?
4 participants