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

Upgrade to macOS sierra: rustc randomly running @ 100% CPU #36751

Closed
allthetime opened this issue Sep 26, 2016 · 3 comments
Closed

Upgrade to macOS sierra: rustc randomly running @ 100% CPU #36751

allthetime opened this issue Sep 26, 2016 · 3 comments

Comments

@allthetime
Copy link

So I've read that there are some outstanding issues with the new OSX, on top of that I have run into a perplexing issue.

I have a temperature and CPU monitor running at all times, and once in a while suddenly it jumps to 90 degrees and 100% CPU. The reason is rustc

I installed rust from source and wasn't aware that rust ran any background processes, so this activity is concerning. I usually have to kill it a few times before it stops, and I have no idea why, or where it is running from. Is this possible some kind of security issue on my end, or is there some cron job included in the rust installation for updating or something?

@alexcrichton
Copy link
Member

Thanks for the report! What version of rustc were you compiling and/or running? There's a known pre 1.11.0-bug which we believe causes an issue like this.

@allthetime
Copy link
Author

allthetime commented Sep 27, 2016

@alexcrichton Hmm, I'm not sure actually. Doing rustc --version just returns

rustc(69126,0x7fffb9a413c0) malloc: *** malloc_zone_unregister() failed for 0x7fffb9a37000

I think it is 1.9.0 though, according the files in my RUST_SRC_PATH

I've attempted to install 1.13.0-dev but am getting an error during make install

install: error: Option '--docdir=/usr/local/share/doc/rust' is not recognized

I see it's referenced here though: #36451 but I'm unclear on what the work around is... install nightly??

 

 

Sorry to dump this load on you, but can you offer any insight as to why rustc is trying to run in the background without any input from me? I've checked all my bash profiles and there's nothing there. It could be racer trying to start up in sublime or something.

Thanks for your attention on this issue.

@allthetime
Copy link
Author

I installed nightly for now and everything is running smoothly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants