-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
ICE "thread 'rustc' has overflowed its stack" on Windows (1.5 nightly x86_64 msvc toolchain) #28946
Comments
I can't reproduce on
|
If anyone needs help adding a test for this, please let me know! |
I guess I missed the part about this occurring only when compiling the entire crate. I'm getting an error when I try to build the whole repo, so I'm not sure if this was actually fixed. |
@steveklabnik I would love to put together a better test case for this! Just let me know what I need to do :) |
@excaliburHisSheath so, the basic idea is to put a file with the program into https://github.com/rust-lang/rust/tree/master/src/test/run-pass . Everything in that directory should compile successfully, so by just copying it in, we can test it. However, @apasel422 seems to suggest that we haven't actually figured out a small reproduction, it requires the whole crate. So, for now, I'm going to remove those tags, as that's what we need first before we can do that. |
Cool, I'll work on paring down the case until I have a minimal example. |
As of the latest nightly (Rust 1.6 MSVC 10/31/2015) this no longer causes an ICE, instead giving the following compile error:
If it would still be useful to have a reproducible case as a regression test I can still put one together with an older version of the compiler. |
Not sure whether it's helpful for you or not, but in my case the code to reproduce stack overflow is
After I change it to I'm running Rust 1.5.0 on Windows 10. |
Marking as E-needstest, for the test case in the previous issue comment. |
Triage: not aware of any tests added. |
I haven't seen this ICE in a long time, and I'm not working on the code that caused it anymore. Probably makes sense to just close this ticket, though I'll leave that at your discretion. |
Will do :) Thanks! |
I've got the following trait and impl:
When I change the impl to:
I get the error
thread 'rustc' has overflowed its stack
.This is happening on the current nightly build (10/10/2015) with the x86_64 Windows MSVC toolchain. I tried to reproduce the error with just the above code but that didn't cause the error, but compiling the entire crate it's in did. The full crate (including commented out code that causes error) can be found here, the code that causes the error is in src/lib.rs.
Misc. Notes
The text was updated successfully, but these errors were encountered: