-
Notifications
You must be signed in to change notification settings - Fork 814
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
ucontext_t fpregs ABI incompatibility #2555
Comments
@alexrp - Thanks for posting, could you share an strace so I can narrow down what's happening? |
@benhillis - I don't know if a Richard's tight repro from unrelated #1692 (message) demonstrates the problem. Besides his
|
To be clear, the |
Yep. In the test case I cited it is:
They were trapping |
On WSL1, this value is always NULL. See microsoft/WSL#2555 for more details.
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.15063]
Given a
ucontext_t *ctx
pointer, I'm trying to accessctx->uc_mcontext.fpregs->_xmm[0]
.The
ctx->uc_mcontext.fpregs
field contains aNULL
pointer. On a normal Linux system, thectx->uc_mcontext.fpregs
field is always a non-NULL
pointer, presumably pointing toctx->__fpregs_mem
. Indeed, if I dig intoctx->__fpregs_mem
, all the data is there as expected. So it seems WSL is simply not setting thectx->uc_mcontext.fpregs
field as it should.The text was updated successfully, but these errors were encountered: