-
Notifications
You must be signed in to change notification settings - Fork 721
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
[Jtreg/FFI]Crash in getArgPointer() in upcall on Aarch64 #16237
Comments
Hi @knn-k, could you help determine what happened to |
I tried to run the test on macOS, but I got an
Where should the |
I see it in the test image, under test-images\jdk\jtreg\native |
Hi @knn-k, you could choose to download the test image from the link nightly build as Peter mentioned above or to compile a build locally in which all native libraries intended for jtreg tests will be generated at
All you need to do next is to move or copy |
I reproduced the crash locally, and found that |
I opened PR #16268 as a (partial) fix. TestUpcallStack.java still seems to fail. |
Hi @knn-k, please make sure you rebase your branch with the merged changes for libffi/Aarch64 at #16252. I verified with your PR at #16268 and all upcall specific test suites passed on Aarch64, including
except
According to the test suite (confirmed in debugging), |
Debugging shows the problem still came from
|
@knn-k Do you think this will be resolved within 2 weeks? |
Yes, I believe so. |
|
PR #16332 fixes the failure with TestUpcallHighArity.java. TestUpcallAsync.java TestUpcallStack.java on macOS failed, but that is not caused by the fix. All other tests passed. |
Hi @knn-k, I'd like to know what test failures with |
@ChengJin01
#16332 fixes the assertion failure with "f0_V_IS_FF". I would like #16332 to be reviewed anyway. |
TestupcallStack.java passes on Linux, with or without #16332. |
I opened a separate issue for the crash with TestupcallStack.java on macOS as #16336, because it is not related to |
The dump indicates the crash occurred in
getArgPointer()
in upcall on both Linux/Aarch64 and macOS/Aarch64 when running https://github.com/ibmruntimes/openj9-openjdk-jdk19/blob/openj9/test/jdk/java/foreign/TestUpcallAsync.javain which the failing test might be
test TestUpcallAsync.testUpcallsAsync(476, "f0_V_SI_IPP", VOID, [STRUCT, INT], [INT, POINTER, POINTER])
based on the results from other platforms.Note:
All upcall specific test suites with the same subtests at https://github.com/ibmruntimes/openj9-openjdk-jdk19/blob/openj9/test/jdk/java/foreign crashed at the same place, including:
The text was updated successfully, but these errors were encountered: