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: 11 error on OSX in release mode #489

Closed
bvssvni opened this issue Jun 16, 2018 · 3 comments
Closed

Segmentation fault: 11 error on OSX in release mode #489

bvssvni opened this issue Jun 16, 2018 · 3 comments
Labels

Comments

@bvssvni
Copy link

bvssvni commented Jun 16, 2018

Works in debug mode but fails in release mode.

OSX 10.11.5

Tested with:

  • rustc 1.26.2 (594fb253c 2018-06-01)
  • rustc 1.28.0-nightly (967c1f3be 2018-06-15)
extern crate regex;

use regex::Regex;

fn main() {
    let regex = Regex::new("^1$").unwrap();
    println!("{}", regex.is_match("1"));
}
@BurntSushi
Copy link
Member

I've seen enough of the OSX TLS bug that this is probably a duplicate: rustwasm/wasm-bindgen#186

I'd be happy to re-open this if more evidence reveals that it's a different bug.

@bvssvni
Copy link
Author

bvssvni commented Jun 17, 2018

Wasn't trying to build wasm?

stuhood added a commit to twitter/pants that referenced this issue Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants