-
Notifications
You must be signed in to change notification settings - Fork 728
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
jdk22 java/foreign/TestAddressDereference crash vmState=0x00000000 #18999
Comments
We need to take some action asap to stop this test from failing every night, either backing out the cause or excluding the test. |
I didn't see there is any connection between the crash and the PR with the heap argument at #18930 which is only enabled by the
In any case, I will exclude it for the time being via https://github.com/adoptium/aqa-tests. |
The only other change other than the openj9 changes was ibmruntimes/openj9-openjdk-jdk22@7ef956c...441da50 but it seems unrelated. |
I will need to investigate at first to see what happened to the crash after excluding it. |
The change disables the failing FFI test suite detected in JDK22+ for the moment and will be re-enabled once the issue is resolved. Related: #eclipse-openj9/openj9/issues/18999 Signed-off-by: ChengJin01 <[email protected]>
The PR is created at adoptium/aqa-tests#5088 to exclude the failing test suite. |
The change disables the failing FFI test suite detected in JDK22+ for the moment and will be re-enabled once the issue is resolved. Related: #eclipse-openj9/openj9/issues/18999 Signed-off-by: ChengJin01 <[email protected]>
The change disables the failing FFI test suite detected in JDK22+ for the moment and will be re-enabled once the issue is resolved. Related: #eclipse-openj9/openj9/issues/18999 Signed-off-by: ChengJin01 <[email protected]>
[1] The javacore shows it crashed when performing the downcall as follows:
and debugging indicates the crash occurs when it unexpectedly read the invalid address value from the heap related code at:
by passing the
plus the data provider at https://github.com/ibmruntimes/openj9-openjdk-jdk22/blob/cdc12a56665796db5270385de01dc6a30804ba03/test/jdk/java/foreign/TestAddressDereference.java#L160
The intent of the test case is to intentionally pass one of the alignment values (
[2] Looking at our code at openj9/jcl/src/java.base/share/classes/openj9/internal/foreign/abi/InternalDowncallHandler.java Line 97 in 9f3f3c7
in which we set the heap address ID to 0x1 which incidentally has conflict with the invalid address value in the failing test. So we have to choose a more generic value to identify the heap address to avoid these kind of issues. |
The tiny changes modify the constant used to identify the heap address in downcall to avoid any potential conflict with the address value passed to downcall. Fixes: eclipse-openj9#18999 Signed-off-by: ChengJin01 <[email protected]>
The tiny changes modify the constant used to identify the heap address in downcall to avoid any potential conflict with the address value passed to downcall. Fixes: eclipse-openj9#18999 Signed-off-by: ChengJin01 <[email protected]>
Happening across platforms
https://openj9-jenkins.osuosl.org/job/Pipeline-Build-Test-JDK22/19/
https://openj9-jenkins.osuosl.org/job/Pipeline-Build-Test-JDK22-with-System/9/
https://openj9-jenkins.osuosl.org/job/Test_openjdk22_j9_sanity.openjdk_x86-64_linux_Nightly_testList_0/12
java/foreign/TestAddressDereference.java
https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk22_j9_sanity.openjdk_x86-64_linux_Nightly_testList_0/12/openjdk_test_output.tar.gz
@ChengJin01
da2c022...4b15be6
I assume #18930
The text was updated successfully, but these errors were encountered: