-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Infinite recursion in librustc::metadata::decoder #8707
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
Comments
@pcwalton this looks like your domain. This is blocking the style system unless we can find a workaround. Ideas? |
|
I still have the same issue on rustc 0.8-pre (c822d10 2013-08-27 11:35:51 -0700). The stack trace looks very similar
|
@pcwalton did you make your changes more recently than that? |
And I actually don’t see |
Upgrading to Rust 0ac3e02 fixed this for me. |
Add `await_holding_invalid_type` lint changelog: [`await_holding_invalid_type`] This lint allows users to create a denylist of types which are not allowed to be held across await points. This is essentially a re-implementation of the language-level [`must_not_suspend` lint](rust-lang#83310). That lint has a lot of work still to be done before it will reach Rust stable, and in the meantime there are a lot of types which can trip up developers if they are used improperly. I originally implemented this specifically for `tracing::span::Entered`, until I discovered rust-lang#8434 and read the commentary on that PR. Given this implementation is fully user configurable, doesn't tie clippy to any one particular crate, and introduces no additional dependencies, it seems more appropriate.
I’m working on a patch for Servo (commit c12c7a6) that only adds a bunch of code in its "script" crate. Servo before my patch builds fine. The same code in its own crate builds fine. The script crate itself with my code added builds fine. It’s only Servo’s "main" crate, which links against "script", that sends rust in an infinite loop.
gdb shows the stack trace below, except it goes to 3000 or so frames after a few minutes, and growing.
Rust version: rustc 0.8-pre (72b50e7 2013-08-16 01:56:16 -0700)
Colorized stack trace: http://pastebin.com/Tg7APRi2
The text was updated successfully, but these errors were encountered: