Skip to content
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

Segmentation fault when compiling v0.2 (compile_and_link) #2784

Closed
jameshfisher opened this issue Jul 2, 2012 · 3 comments
Closed

Segmentation fault when compiling v0.2 (compile_and_link) #2784

jameshfisher opened this issue Jul 2, 2012 · 3 comments

Comments

@jameshfisher
Copy link

I've just attempted to compile Rust 0.2, but I get a segmentation fault when running make.

I'm on Ubuntu 12.04 on x64.

The entire output from my session is in this gist: https://gist.github.com/3036276

@brson
Copy link
Contributor

brson commented Jul 2, 2012

Can you reproduce the segfault when compiling from the git master branch? 0.2 is several months old.

@jameshfisher
Copy link
Author

Good news: no problems with master branch. Thanks.

@brson
Copy link
Contributor

brson commented Jul 4, 2012

Thanks for testing, eegg!

RalfJung pushed a commit to RalfJung/rust that referenced this issue Feb 26, 2023
Add tests for moving data across await point

This patch adds a few tests to assert the current behavior when passing data across an await point. This will help to test out an upcoming fix for the issue of arguments in async functions growing in size because of the generator upvar that is generated when we desugar the async function.

See rust-lang#62958

Also relates to rust-lang#107500

FYI `@oli-obk` `@pnkfelix`
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Source changes required by the following upstream commits:

* rust-lang/rust@5a0a1ff0cd move ConstValue into mir
* rust-lang/rust@ea22adbabd adjust constValue::Slice to work for
arbitrary slice types
* rust-lang/rust@c94410c145 rename mir::Constant -> mir::ConstOperand,
mir::ConstKind -> mir::Const

Fixes: rust-lang#2784
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants