-
Notifications
You must be signed in to change notification settings - Fork 894
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
Segfault in rustup-init on OS X 10.10.5/10.11.6 #679
Comments
Same here on mbp running 10.11.6.
lldb output:
|
Updated description to reflect more broken versions. |
I have the same error on 10.12 (Sierra beta). My report: https://gist.github.com/defuz/5d3db5293834c387ea01e9e203ff3f39 |
I'm running into the same issue on multiple MBPs with 10.11 and 10.12. |
I don't have a MBP to test this on, but could you try setting the environment variable |
Yes @Diggsey. That resolves the issue for me. |
Ugly bug. Nice find @Diggsey. We'll try to get a fix out asap. |
I can't reproduce on 10.8.5. |
Was anybody who is affected by this able to install rustup successfully on OS X 10.10+ recently? This code has been in place since late July. The bug is in this block of code. I've read through it several times, and while the transmute could be eliminated and there might be sketchy lifetimes around the For now I'm going to disable this function on macOS, but I'd appreciate help from anyone that can reproduce it. Maybe just some println debugging to see what's going wrong. |
OK, I found a box to reproduce it on. |
Seems like it only happens when built with the nightly compiler, not stable, so that would explain why it hasn't turned up before. We recently switch toolchains. |
Fix mysterious crash on OS X 10.10+. Fixes #679
Fix is landed. Thanks @alexcrichton. Reopening until deployed. |
Fixed. |
This reverts commit e737612.
From rust-lang/rustup#679. This seems to address the segfault we're seeing.
From rust-lang/rustup#679. This seems to address the segfault we're seeing.
rustup-init (whatever is current as of 2016-08-22) segfaulted failed on 2 different mbp models, both running 10.10.5.
lldb output:
The text was updated successfully, but these errors were encountered: