Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up`thread '<main>' has overflowed its stack` #1875
Comments
This comment has been minimized.
This comment has been minimized.
|
What platform was this on? Also, you were using a nightly build, right? There also doesn't seem to be a |
This comment has been minimized.
This comment has been minimized.
|
OSX 10.9.5
Link to Cargo.lock https://gist.github.com/bvssvni/54ac9c648e9acf739f20 |
This was referenced Aug 7, 2015
This comment has been minimized.
This comment has been minimized.
|
Seems to work with Rust 1.1:
|
This comment has been minimized.
This comment has been minimized.
|
With:
and nothing else in the directory, on MacOS 10.10.4, I get:
This still happens after I |
This comment has been minimized.
This comment has been minimized.
|
After building from git, the stack trace is a deep loop of:
Some of these are tail-calls, so would do better with optimization, but you'll still be sacrificing your ability to run cargo in debug mode where tail-call opt is generally off, and even with optimization there's a loop between:
(Why aren't Rust/LLVM managing to tail-optimize the cargo/core/resolver/mod.rs:293 call in tail position?) |
alexcrichton
added a commit
to alexcrichton/cargo
that referenced
this issue
Aug 11, 2015
alexcrichton
referenced this issue
Aug 11, 2015
Merged
Use a custom trace! macro in resolution #1887
bors
added a commit
that referenced
this issue
Aug 11, 2015
bors
closed this
in
#1887
Aug 11, 2015
This was referenced Aug 16, 2015
This comment has been minimized.
This comment has been minimized.
|
Is it possible to create a new stable release (1.2.1) with this fix backported? It makes the stable distribution impossible to use with several popular crates (glium, this hyper/regex combo). |
This comment has been minimized.
This comment has been minimized.
|
Never mind, I think I misunderstood how releases are done (rustc is versioned separately from cargo). But if one were to run edit: erm, I guess that the stable rust installer for OS X also comes with Cargo, although it's a quite old one ( |
This comment has been minimized.
This comment has been minimized.
|
The default distribution of of Rust comes with a specific version of rustc paired with a specific version of cargo. You can upgrade them separately, but I don’t know if it’ll work. For example, #1830 makes Cargo pass |
bvssvni commentedAug 5, 2015
Getting this on
cargo updatefor https://github.com/pistondevelopers/piston-examples: