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

rustup update hang #1464

Closed
Geobert opened this issue Jul 19, 2018 · 8 comments
Closed

rustup update hang #1464

Geobert opened this issue Jul 19, 2018 · 8 comments

Comments

@Geobert
Copy link

Geobert commented Jul 19, 2018

On my corporate laptop, rust-docs takes a very long time to install but the process manage to complete.
The long time is due to bad SSD + encryption + McAfee anti virus I think.

The issue is that rustup doesn't end after the display of the toolchains version at the end of the update process. Had to kill it, and if I run rustup update again, everything is up to date.

So no big deal, but strange nonetheless. Looks like a timeout of somekind.

Windows 7 64 bits, powershell 5

@Diggsey Diggsey added this to Unfixable / upstream problem in Issue Categorisation Jul 28, 2018
@Diggsey
Copy link
Contributor

Diggsey commented Jul 28, 2018

Making docs optional is an existing feature request, which is blocked on the ability to have optional-but-default components. Other than that, this sounds like an issue which is out of our control.

If there's a different pattern of file access we can use which is less likely to cause your antivirus to lock up, then I would consider accepting a PR.

@leonardo-m
Copy link

Why was this issue closed?

@Diggsey
Copy link
Contributor

Diggsey commented Nov 29, 2018

There are already several issues covering making docs optional/slow docs installation/etc. There's nothing actionable in this ticket that isn't covered by others - antiviruses make file access even slower than it is to begin with, particularly non-microsoft ones, that's just their inherent trade off.

@leonardo-m
Copy link

At the end of the updating done by Rustup it hangs. The CPU and disk usages are both zero. I don't know what's happening but it's not copying files, nor scanning them. And I've kept the shell open for hours with no changes.

@johnthagen
Copy link
Contributor

johnthagen commented Dec 2, 2018

@leonardo-m The OP cited Windows 7 and Powershell 5. For the sake of comparison, are you also using this configuration or some other version of Windows and/or shell?

In Windows 10 / cmd, rust-docs takes a very long time to install, but there is always CPU/disk activity for me and it will finally complete (doesn't hang forever).

@leonardo-m
Copy link

I am using Windows 8.1, a regular shell, and I am installing the x86_64-pc-windows-gnu. The CPU/disk activity ends in a minute (I have a SSD) and then it hangs.

@leonardo-m
Copy link

Now the problem is solved for real in the last Nighties.

@Geobert
Copy link
Author

Geobert commented Mar 1, 2019

I don't think rustup is tied to Rust nightly. I just had the issue this morning updating to Rust 1.33.
with rustup 1.16.0 (beab5ac2b 2018-12-06)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Issue Categorisation
Unfixable / upstream problem
Development

No branches or pull requests

4 participants