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.exe hangs on windows and can't be killed #384

Open
brson opened this Issue Apr 30, 2016 · 4 comments

Comments

4 participants
@brson
Copy link
Contributor

brson commented Apr 30, 2016

Another more severe issue is that rustup.exe process seem to be hanging and it cannot be killed from the Windows Task Manager. Due to this issue, I cannot remove the .cargo and .multirust directories and I have to_force_ reboote the PC to recover (using the power button).

Source.

@brson

This comment has been minimized.

Copy link
Contributor Author

brson commented Apr 30, 2016

@retep998 suggested it could be interaction with antivirus.

@mhristache

This comment has been minimized.

Copy link

mhristache commented May 2, 2016

Not sure if this is of any help, but this is what I get when trying to kill it with taskkill:

$ tasklist.exe | grep -a rustup
rustup.exe                    1356 Console                    1      6▒480 K
rustup.exe                   11096 Console                    1      7▒072 K
C:\windows\system32>taskkill.exe /pid 1356 /f
ERROR: The process with PID 1356 could not be terminated.
Reason: There is no running instance of the task.

Regarding the antivirus, I cannot find a way to stop it as I am using a work PC and I don't have access to change the antivirus settings.

cc @retep998

@bbigras

This comment has been minimized.

Copy link

bbigras commented Aug 24, 2016

I have a similar problem on a Win 7 64-bit virtual machine. No anti-virus.

I'm trying to build files from the host using virtualbox's shared folder feature.

@hh9527

This comment has been minimized.

Copy link

hh9527 commented Apr 18, 2017

I was hit by this issue. But I found that manual coping the proxy binary will make it works.

@echo off
setlocal
set dir=%~dp0
set files=cargo rustc rustdoc rust-gdb rust-lldb rls
for %%f in (%files%) do (
    del /q %dir%.\%%f.exe
    copy /y /b %dir%rustup.exe %dir%.\%%f.exe
)
endlocal

Run this .cmd file evertime after rustup updated.

@Diggsey Diggsey added this to Insufficient detail in Issue Categorisation May 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.