-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Page fault on Redox accessing invalid TLS address #42761
Comments
I have now narrowed it down to this: 4bf5c99...27650ee |
So, the failure is as follows: Where The readelf seems to indicate that the TLS is
Yet, it attempts to access address
Here you can find the good and bad binaries, with their listings: |
I have opened this PR to temporarily fix this issue: #42762 |
Disable repr(simd) in mem::swap on Redox This addresses rust-lang#42761
Triage: this issue is very old. @jackpot51 is it still relevant? |
It hasn't come up again, so maybe not |
Something in this commit range is causing the TLS size to be calculated incorrectly, and the code accesses TLS addresses slightly beyond the size of the TLS:
The first commit and last commit in this range have been tested, with the first working and the last not working:
4bf5c99...0389d40
For example,
Command::new
attempts to access offset0x100
, but the TLS is only0xF0
The text was updated successfully, but these errors were encountered: