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

Fix the size of the _Unwind_Exception struct #11947

Merged
merged 1 commit into from
Jan 31, 2014

Conversation

alexcrichton
Copy link
Member

On OSX 32-bit, the private fields are 5 words long, not 2. I found this
segfaulting before this change, and after this change it no longer segfaulted.

On OSX 32-bit, the private fields are 5 words long, not 2. I found this
segfaulting before this change, and after this change it no longer segfaulted.
@alexcrichton
Copy link
Member Author

Apparently this is also true for linux.

This leads me to believe that this is the source of much of the flakiness we're seeing on the bots (the flakiness only happens during unwinding).

@brson
Copy link
Contributor

brson commented Jan 31, 2014

Ooh, nice find! Wish valgrind had caught this...

@alexcrichton
Copy link
Member Author

I'm actually a little surprised that valgrind never caught this as well...

bors added a commit that referenced this pull request Jan 31, 2014
On OSX 32-bit, the private fields are 5 words long, not 2. I found this
segfaulting before this change, and after this change it no longer segfaulted.
@bors bors closed this Jan 31, 2014
@bors bors merged commit 51b9000 into rust-lang:master Jan 31, 2014
@alexcrichton alexcrichton deleted the osx-unwind branch February 1, 2014 00:26
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 28, 2023
…r=blyxyas,xFrednet

fix: broken GitHub corner

changelog: none

fixes rust-lang#11946
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

Successfully merging this pull request may close these issues.

3 participants