-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
segfault during stage2 build of dist x86_64-apple-darwin xcode 7.3 #48866
Comments
Interestingly this seems to be quite deterministic on #48326. The bug happened twice so far and only on that PR (besides the miri PR). |
[WIP] Nothing to see here either. Just debugging #48866. ( r? @no_body please. )
Also happened on #48757 |
Reproduced on Travis and the offending artifact should have been uploaded to S3. Edit: That artifacts segfaults locally.
|
From the stack trace it is obviously caused by the The instruction throwing the error is
where
The If you've got a Mac you may try to debug it yourself. There's no line info though.
Also, we may be switching to Xcode 9 for dist in #48891, and that bug might go away naturally 🤔 |
Now #48891 has been merged, if we don't see any more errors like this next week we may close this issue as no-longer-reproducible. |
I'll still check why it isn't aligned. This is something I can check on Linux |
I give up. There's absolutely no reason the address of |
I think this was fixed with the xcode 9 updates, so presuambly this was a linker bug? |
…xcrichton Do not allow LLVM to increase a TLS's alignment on macOS. This addresses the various TLS segfault on macOS 10.10. Fix rust-lang#51794. Fix rust-lang#51758. Fix rust-lang#50867. Fix rust-lang#48866. Fix rust-lang#46355. Fix rust-lang#44056.
So far not reproducible on newer xcode versions.
cc @varkor @kennytm
52dec0e obviously did not fix it and can be reverted.
Happens inside
whenever it happens, but it's random during which crate's compilation it happens or whether it occurs at all.
Guesses so far are
Span
, which isrepr(packed)
and only has au32
fieldCACHE
thread_local (just because miri touched statics)Is is possible to produce better stacktraces (with line info e.g.) on macs?
The text was updated successfully, but these errors were encountered: