-
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
rustc hangs #34858
Comments
I started looking into this, but gave up. Slow compile times and a segfault when I was building rustc effectively lost you a contributor. |
I believe this is the same case as #33502. |
Yep, same thing, same stack trace. |
segfault while building rustc? |
yes |
Is there a work around that works with |
Here's a much smaller test case: fn foo<F, X>(cb: F) -> X
where F : for<'a> FnOnce(&'a u64) -> X {
foo(move |expr1| {
cb(expr1)
})
}
fn main() {
foo(move |_| ());
} |
details? |
@arielb1, I didn't think it would be reproducible, but it was. I have a core dump. Here's a backtrace:
|
This may get fixed by #34743 where we're upgrading LLVM, but that's purely a guess. Maybe worth trying after it's merged though? It may also be possible to not compile with debuginfo as that may be the culprit here |
Hi!
On rustc 1.13.0, no errors are raised, and the compilation hangs forever.
Is it still a known bug, or is there any fix for it? |
It does not hang on 1.16 it seems - is the error given what would you expect, @danielwaterworth ?
|
Yes, much better. |
This issue may well be a duplicate, but I don't know enough about rust internals to make that judgement.
I'm using
rustc 1.10.0 (cfcb716cf 2016-07-03)
. This is the commit in my project that makes it hang.Here's the output with time-passes:
The text was updated successfully, but these errors were encountered: