-
Notifications
You must be signed in to change notification settings - Fork 823
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
rustc (segmentation fault) #258
Comments
@tejinderss Thanks for reporting this. We are aware of this and have an internal bug tracking this. Unfortunately, there are no other updates at this moment. |
I have also run into this unfortunate issue, attached is a stack trace.
I'm curious what causes rustc to fail in this way? |
Investigating this somewhat seems to reveal that it's the |
@benpye Awesome debugging here. Yes, WSL currently does has some limitations around the initial stack size, which we have plans to address. Curious to know how rustc behaves with the patch. |
@sunilmut Yeah, seems it is an issue with the stack size as mentioned in that issue. Building rust with the patch (updated for current master) results in a functional build of rust under WSL. I don't suppose there is any way to increase the initial stack size or is this something we're going to have to wait for? |
Recent internal builds fixed the reporting of the stack ulimit and bumped the initial thread stack to 8MB. The change should be coming to insider builds soon. |
That's great to know, look forward to seeing this change going forward! On Tue, 17 May 2016, 22:06 stehufntdev, notifications@github.com wrote:
|
Just built and ran a quick hello world app in Rust. Fixes are in build 14361. |
Ran this curl -sSf https://static.rust-lang.org/rustup.sh | sh
and then tries to start rustc
gave:
Segmentation Fault (core dumped)
The text was updated successfully, but these errors were encountered: