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

cargo hangs on Windows 7 #1075

Open
rofrol opened this issue Apr 18, 2017 · 9 comments
Open

cargo hangs on Windows 7 #1075

rofrol opened this issue Apr 18, 2017 · 9 comments

Comments

@rofrol
Copy link
Contributor

rofrol commented Apr 18, 2017

To overcome this I need to:

  1. backup rust installation to tmp
  2. remove original rust installation
  3. copy rust installation from tmp

I use script like this:

mkdir -p tmp && \
cp -r ~/.cargo ~/.rustup tmp/ && \
rm -rf ~/.cargo ~/.rustup && \
cp -r tmp/.cargo ~/ && \
cp -r tmp/.rustup ~/ && \
rm -rf tmp

It does work on Windows 10.

@Diggsey
Copy link
Contributor

Diggsey commented May 3, 2017

Are you able to reproduce this issue - ie. if you uninstall rustup and reinstall, do you have to go through this backup/restore procedure before it will work again?

I don't have a windows 7 machine to test this on, but I think if it was happening to all windows 7 machines we would be getting more reports - do you know of anything else specific to this machine that might be related?

@Diggsey Diggsey added this to Insufficient detail in Issue Categorisation May 3, 2017
@rofrol
Copy link
Contributor Author

rofrol commented May 3, 2017

Yes. I have reproduced it many times. And it hangs windows so much that I have to hard-reset computer.

This is a corporate machine so maybe something with privilieges?

@Diggsey
Copy link
Contributor

Diggsey commented May 3, 2017

it hangs windows so much that I have to hard-reset computer

I'm afraid this is very suggestive of a badly-behaving virus scanner on the corporate machine. Nothing rustup can do, even if it was buggy, should be able to cause that kind of problem. Do you use non-microsoft antivirus software?

@rofrol
Copy link
Contributor Author

rofrol commented May 3, 2017

Symantec

@LivingInSyn
Copy link

I also have this bug, also with Symantec. Windows 7 enterprise. Anything I can give you to help troubleshoot this

@NMZXYCDRL
Copy link

I have this bug too, also with Win 7 + SEP (Symantec Endpoint Protection).

@critch
Copy link

critch commented Nov 10, 2017

I am having this issue with Windows 7 Profesional + SEP as well.

Curious though, I haven't found anything in SEP logs that show it blocking anything. Being a corporate machine, I can't disable it to verify that it is SEP being the problem.

@Geobert
Copy link

Geobert commented Nov 7, 2018

I have this issue on Win 7 Pro + McAffee, corporate machine

@busyscout
Copy link

I also had this problem with Win7 Ultimate. After installation via rustup-init in ~/.cargo directory all files were blocked as if they were downloaded from network ("this file came from another computer and might be blocked to help protect this computer").

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
Insufficient detail
Development

No branches or pull requests

7 participants