-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
x.py has exponental resource usage with no progress #72523
Comments
I believe I've found part of the problem, the shebang was doing something really weird and hiding all output. Changing the shebang in |
This may be partially due to the fact that on my system I have |
What do you mean? |
That would break building inside MSYS2 (and maybe Git for Windows) shell.
Maybe it doesn't like the alias?
What do you mean? Runinng |
|
After a little investigation, it seems that |
So, ultimately, it's a problem with your setup, and not in x.py or rust itself? |
I guess so, closing for that reason |
I attempted to use
x.py
with all of the following commandsbut instead of doing what it's supposed to do, there was instead zero terminal output and and continuously increasing number of spawned python processes, ranging from 3827 pythons with
x.py --help
to well over 10000 pythons withpython x.py build -j1 --stage 1 src/libstd
. This number was steadily increasing though, I just had to kill it before my computer crashed. Killing the builds was also incredibly difficult,ctrl+c
s do nothing, task manager crashes when it's opened and x'ing the window does nothing. The only semi-reliable way I found to kill the process was to kill every python process that was running, thenx.py
exited with still no output. On thepython x.py build -i --stage 1 src/libstd
command in particular, the spawning was so out of control that I had to restart my entire system in order to regain control.This was the first build of rustc that I've done, so there were no prior or cached artifacts
Meta
Arch
Windows 10 Pro version 1909, OS build 18363.836
Python 3.7.3
The results were the same in both Powershell and CMD
Git
This occurred on 4774f9b, but I haven't attempted to bisect for the root cause yet
config.toml
These were the only configuration values that I changed
The text was updated successfully, but these errors were encountered: