-
Notifications
You must be signed in to change notification settings - Fork 393
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
getcontext fail with EFAULT on E2K #585
Comments
getcontext() implementation in E2K (which returns EFAULT in some cases): |
Seems to be fixed on the kernel side. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Source: master (92abef5)
Host: Linux 5.4.0-6.9-e8c2 / e2k-v5
Occurrence: ~1/30
Not observed on release-8_2.
How to reproduce (after the modification of code, see below):
gcc -I include -I libatomic_ops/src -D GC_THREADS -D GC_ASSERTIONS -O0 -g -o gctest tests/gctest.c extra/gc.c -lpthread -ldl
while :; do ./gctest; done
Output:
GC Warning: getcontext failed: using another register retrieval method...
Instrument the source code (to abort on getcontext instead of warning):
Note: when reproducing this case, please ignore other gctest failures.
The text was updated successfully, but these errors were encountered: