-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Windows installer splats system PATH #1602
Comments
Good god. |
Also #1591 |
I've removed the installer from the servers, will send an update to the mailing list. I hope this hasn't done any irrecoverable damage to your machine ssylvan. |
No worries, System Restore FTW! :-) |
Can you possibly try to catch me on IRC someday so we can try to diagnose this? That's a serious failure. I have a win7 machine here I want to try to reproduce it on. (Alternatively, perhaps a paste of the PATH you had before the corruption?) |
http://venge.net/graydon/rust-0.2-install.exe might also be worth taking a look at, if you trust Random Binaries From Me. That's an Inno Setup installer for a version with seemingly better-behaved path manipulation code, as well as fixed quoting in the compiler driver. Ought to be closer to working. (Less than zero warranty on that; I just built it today on a somewhat random workstation) |
So for the original installer, both the installer and the uninstaller The second installer seems to append the path to the user's PATH The version of rustc.exe installed with that second installer hangs Seb On Tue, Jan 24, 2012 at 7:30 PM, Graydon Hoare
Sebastian Sylvan |
So I dumped the stack trace, unfortunately I don't have symbols for rustrt.dll!rust_process_wait+0x222b wow64cpu.dll!TurboDispatchJumpAddressEnd+0x6c0 It just sits there eating 12% CPU. On Tue, Jan 24, 2012 at 7:55 PM, Sebastian Sylvan
Sebastian Sylvan |
I have heard other reports of rustc.exe successfully producing output but hanging. That wait loop in rust_process_wait could possibly account for the livelocks we see on the windows bots sometimes. |
ssylvan: I think inno permits me to separately flag add-to-user vs. add-to-system path variants. I will experiment with this if I have time (opening a sub-bug) but in the meantime, does it ever run, or always hang? I tried it on another mahcine yesterday and it just ran really slowly during startup. But it doesn't do that on the win7 dev desktop I have here or the win2008 server builder. So I'm curious if you can let it run for a bit, or help diagnose this hang. Thanks for all the help! |
It spit out the executable and I left it running for several minutes Seb On Thu, Jan 26, 2012 at 5:31 PM, Graydon Hoare
Sebastian Sylvan |
FYI I let it run for several hours yesterday and it never finished, so Seb On Thu, Jan 26, 2012 at 6:17 PM, Sebastian Sylvan
Sebastian Sylvan |
Here's the state of one of our hung build machines:
|
I have the same issue with rustc immediately producing the output binary but hanging indefinitely afterwards. It occurs with both the installer posted above by graydon and when I build from source via mingw/msys (and then move stuff around so everything needed is in the path). |
Will open a separate bug on hanging. This one (munged path) is closed by 0bf9929 |
I've repro'd this twice. The windows installer will simply nuke the system PATH and put "C:\Program Files(x86)\rust\bin" in its place.
This is on Windows 7.
The text was updated successfully, but these errors were encountered: