Skip to content

Windows nightly build crashing #13839

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

Closed
alexkoay opened this issue Apr 29, 2014 · 5 comments
Closed

Windows nightly build crashing #13839

alexkoay opened this issue Apr 29, 2014 · 5 comments

Comments

@alexkoay
Copy link

When I try to run rustc -v it gives me a The instruction at ##### referenced memory at ####. The memory could not be read. error.
Anybody else facing this issue?
I downloaded the nightly installer from the website.
This did not happen a few builds back, and v0.10 works fine.
On a related note, are older nightly builds archived somewhere?

@alexcrichton
Copy link
Member

What version of mingw do you have, along with the version of gcc?

@alexkoay
Copy link
Author

I'm using GCC 4.8.1 rev5 from the MinGW-w64 project, grabbed the latest afaik.
I've tried isolating the PATH to just Rust and MinGW, but still no dice.

@alexcrichton
Copy link
Member

I would suspect that there's some previous rust installation somewhere in your PATH. The nightlies work fine for me. Could you try blowing away the entire rust installation and reinstalling from scratch?

@alexkoay
Copy link
Author

Gosh. It turned out to be something with the ConEmu hook that causes it to crash. Never did occur to me to try the debugger, and it solved my problem.
Sorry for taking up your time, and thanks a lot for the help.

@alexcrichton
Copy link
Member

No worries, and thanks for the report! I'm glad things got sorted out!

bors pushed a commit to rust-lang-ci/rust that referenced this issue Jan 28, 2025
1.83 stabilized `CONST_MUT_REFS`, also allowing for `const fn` to mutate
through mutable references. This ensures `missing_const_for_fn` is
emitted for those cases.

changelog: [`missing_const_for_fn`]: Now suggests marking some functions
taking mutable references `const`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants