-
Notifications
You must be signed in to change notification settings - Fork 888
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
error: rustup is not installed at '/home/n/.cargo' #691
Comments
I tried renaming ~/.cargo, but rustup still segfaults. |
Running valgrind produces some interesting uninitialized writes (strange valgrind worked, given jemalloc supposedly dropped support for it)!
|
Likely the problem is in here. It would appear that everything is OK if ~/.multirust/version has a trailing lf, but if the file is only two bytes, BOOM. This should let you reproduce it:
|
@nathanaeljones Thanks for the investigation. I can reproduce the segfault with your instructions. And I've verified that rustup 0.6.0 does not crash, the link for which is https://static.rust-lang.org/rustup/archive/0.6.0/x86_64-unknown-linux-gnu/rustup-init. |
related to arm7 crash #687 |
Slight tweak for the repro
|
Should be fixed. |
Trying to run https://github.com/public-awesome/terra-spacecamp from gitpod But when it gets to the last line of Dockerfile https://github.com/public-awesome/terra-spacecamp/blob/main/.gitpod.Dockerfile :
and i get:
|
@Bulletninja That sounds like a Docker related problem. If you continue to have issues then please open a fresh issue, don't respond to ancient issues. |
I haven't touched this box for a few weeks. I came back, and (forgetting I already installed rustup), tried
This produces
I check my system versions and info:
Let me try using my existing rustup installation
Hmm. Before I attempt to wipe everything away, is there any detail I should preserve (if this is worth fixing)?
I did note that 'multirust' is not present:
At one time, I used multirust, but I rid myself of it and got a working rustup installation (or, at one time, so I believed. Rust 1.8 is working, so...)
EDIT: It looks like ~/.multirust was still hanging around. Renaming the folder did nothing. It's ~89MB compressed, if it would help.
Deleting the folder did something.
Before deletion:
After:
And it would appear that ~/.multirust/version keeps getting recreated with the contents
12
./usr/local/lib/rustlib/uninstall.sh
doesn't exist, so I'm not sure how to complete the exorcism.The text was updated successfully, but these errors were encountered: