Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upStack overflow (still) in `cargo build` #1897
Comments
This was referenced Aug 12, 2015
This comment has been minimized.
This comment has been minimized.
olsonjeffery
commented
Aug 14, 2015
|
Same here, on OSX Yosemite
|
This comment has been minimized.
This comment has been minimized.
olsonjeffery
commented
Aug 14, 2015
|
updating to latest nightly seems to have fixed this for me. hm. |
This comment has been minimized.
This comment has been minimized.
|
@olsonjeffery Which nightly is that? I’m still seeing the issue in 1f24be7 2015-08-13. |
This comment has been minimized.
This comment has been minimized.
olsonjeffery
commented
Aug 15, 2015
|
@SimonSapin happy to oblige! btw i'm on the
As an aside, I've also noticed the issue was transient when I was experiencing it, and often seemed tied to when cargo was making a trip to github to get dependent crate info. |
alexcrichton
added a commit
to alexcrichton/cargo
that referenced
this issue
Aug 16, 2015
This comment has been minimized.
This comment has been minimized.
|
The failure mode here is definitely dependent on the system and the size of the dependency graph in question. Servo, for example, has a very large dependency graph and OSX has a smaller default stack size than Linux, which explains the OSX-only failure for what looks like only Servo and also why I didn't catch it on Linux :). I've submitted #1908 which should fix this for now. |
SimonSapin commentedAug 12, 2015
When upgrading from Cargo nightly 2015-06-24 to 2015-08-05, Servo hit an issue with the same symptoms as #1875. On Mac (not Linux),
cargo buildends withthread '<main>' has overflowed its stackafterUpdatinglines but before anyCompilingline in the output.Upgrading to bfadd9a 2015-08-12, which as far as I can tell includes #1887 which closed #1875, does not fix this for Servo.
I haven’t managed to get a stack trace out of LLDB yet, but I can try some more if it helps.