-
Notifications
You must be signed in to change notification settings - Fork 712
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
TestJlmRemoteThreadAuth crash LT1 vmState=0x00000000 #18149
Comments
@knn-k fyi |
PC = R30 (LR) = InaccessibleAddress = 0x009772B0 |
I ran the following Grinder jobs (30x2). I don't see the SEGV above, and there are different exceptions instead.
|
Looks like SEGV was actually happening in the Grinder jobs.
|
It seems that the link register value saved into the native stack in
The location where the link register is saved in openj9/runtime/oti/j9nonbuilder.h Lines 6294 to 6297 in 20fb92b
The reason why openj9/runtime/compiler/aarch64/codegen/ARM64JNILinkage.cpp Lines 1061 to 1111 in 20fb92b
|
On power, openj9/runtime/oti/j9nonbuilder.h Lines 6226 to 6241 in 20fb92b
On AArch64, openj9/runtime/oti/j9nonbuilder.h Lines 6294 to 6297 in 20fb92b
|
x avoids this problem by implementing |
Opened #18227. |
This commit adds outgoingArguments array to J9CInterpreterStackFrame for AArch64 VM to avoid overwriting preservedGPRs and preservedFPRs when calling out to jitReleaseVMAccess helper from JNI invocation sequence. This commit also updates ARM64JNILinkage to store JNI method arguments that are passed by stack to the area where the outgoingArguments array resides. Adding outgoingArguments makes the size of J9CInterpreterStackFrame large and some slots are not accessible with ldp/stp instructions using sp as a base register. Thus, this commit also updates m4 macros in arm64helpers.m4. They use the start of slots for saving JIT GPRs as the base address and x16 as the base register. Issue: eclipse-openj9#18149 Signed-off-by: Akira Saitoh <saiaki@jp.ibm.com>
I merged #18227 yesterday. |
Nightly sanity.system failed earlier this week in TestJlmRemoteThreadAuth_1.
|
I opened Issue #18280 for the UnmarshalException above. |
…StackFrame This commit adds outgoingArguments array to J9CInterpreterStackFrame for AArch64 VM to avoid overwriting preservedGPRs and preservedFPRs when calling out to jitReleaseVMAccess helper from JNI invocation sequence. This commit also updates ARM64JNILinkage to store JNI method arguments that are passed by stack to the area where the outgoingArguments array resides. Adding outgoingArguments makes the size of J9CInterpreterStackFrame large and some slots are not accessible with ldp/stp instructions using sp as a base register. Thus, this commit also updates m4 macros in arm64helpers.m4. They use the start of slots for saving JIT GPRs as the base address and x16 as the base register. Issue: eclipse-openj9#18149 Signed-off-by: Akira Saitoh <saiaki@jp.ibm.com>
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.system_aarch64_linux_Nightly_testList_1/531
TestJlmRemoteThreadAuth_0
https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk17_j9_sanity.system_aarch64_linux_Nightly_testList_1/531/system_test_output.tar.gz
The text was updated successfully, but these errors were encountered: