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

Frequent crashes on macOS #312

Closed
jdm opened this issue Apr 23, 2020 · 2 comments
Closed

Frequent crashes on macOS #312

jdm opened this issue Apr 23, 2020 · 2 comments

Comments

@jdm
Copy link
Contributor

jdm commented Apr 23, 2020

Per rust-lang/rust#71397 (comment), the latest update to backtrace-rs now frequently causes segfaults on macOS.

@jdm
Copy link
Contributor Author

jdm commented Apr 23, 2020

The issue reproduces easily when using RUST_BACKTRACE=1 and the sample program in rust-lang/rust#71397 (comment). Trying to adapt it to use backtrace-rs directly (println!("{:?}", backtrace::Backtrace::new())) is not causing the crash to appear, however.

@alexcrichton
Copy link
Member

Thanks for the heads up! I've confirmed locally that it looks like this is the same as #310 which has been fixed and published. To fix the rust-lang/rust bug I believe the dependency just needs an update.

Thomasdezeeuw added a commit to Thomasdezeeuw/stored that referenced this issue Apr 28, 2020
Caused by a problem in libbacktrace first reported to rust repo in
rust-lang/rust#71397, than to backtrac-rs in
rust-lang/backtrace-rs#312, fixed in
backtrace-rs here:
rust-lang/backtrace-rs@b53c52b.

Update of backtrace-rs for rustc is here:
rust-lang/rust#71577, no yet merged.
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