Skip to content
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 test failure serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default #18053

Closed
fengxue-IS opened this issue Aug 30, 2023 · 2 comments

Comments

@fengxue-IS
Copy link
Contributor

Failure output (captured from console output)

[2023-08-29T18:40:49.709Z] STDOUT:
[2023-08-29T18:40:49.709Z] created class VThreadStackRefTest$VThreadUnmountedReferenced
[2023-08-29T18:40:49.709Z] created class VThreadStackRefTest$VThreadUnmountedEnded
[2023-08-29T18:40:49.709Z] created class VThreadStackRefTest$VThreadMountedReferenced
[2023-08-29T18:40:49.709Z] created class VThreadStackRefTest$VThreadMountedJNIReferenced
[2023-08-29T18:40:49.709Z] created class VThreadStackRefTest$PThreadReferenced
[2023-08-29T18:40:49.709Z] threads:
[2023-08-29T18:40:49.709Z]   - vthreadUnmounted: VirtualThread[#27]/waiting
[2023-08-29T18:40:49.709Z]   - vthreadEnded: VirtualThread[#30]/terminated
[2023-08-29T18:40:49.709Z]   - vthreadMounted: VirtualThread[#31]/runnable@ForkJoinPool-1-worker-1
[2023-08-29T18:40:49.709Z]   - pthread: Thread[#32,Thread-1,5,MainThreadGroup]
[2023-08-29T18:40:49.709Z] test classes:
[2023-08-29T18:40:49.709Z]   (0) class VThreadStackRefTest$VThreadUnmountedReferenced
[2023-08-29T18:40:49.709Z]   (1) class VThreadStackRefTest$VThreadUnmountedJNIReferenced
[2023-08-29T18:40:49.709Z]   (2) class VThreadStackRefTest$VThreadMountedReferenced
[2023-08-29T18:40:49.709Z]   (3) class VThreadStackRefTest$VThreadMountedJNIReferenced
[2023-08-29T18:40:49.709Z]   (4) class VThreadStackRefTest$PThreadReferenced
[2023-08-29T18:40:49.709Z]   (5) class VThreadStackRefTest$VThreadUnmountedEnded
[2023-08-29T18:40:49.709Z] Thread VirtualThread[#27]/waiting: unmounted
[2023-08-29T18:40:49.709Z] Thread VirtualThread[#31]/runnable@ForkJoinPool-1-worker-1: mounted
[2023-08-29T18:40:49.709Z] Stack local: index = 2, thread_id = 31
[2023-08-29T18:40:49.709Z] STDERR:
[2023-08-29T18:40:49.709Z] Unhandled exception
[2023-08-29T18:40:49.709Z] Type=Segmentation error vmState=0x00040000
[2023-08-29T18:40:49.709Z] J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000002
[2023-08-29T18:40:49.709Z] Handler1=0000000102C44DE0 Handler2=000000010701E000 InaccessibleAddress=0000000000000018
[2023-08-29T18:40:49.709Z] x0=0000000000000000 x1=000000017E110E50 x2=0000000000000000 x3=00000001247B5030
[2023-08-29T18:40:49.709Z] x4=FFFFFFFFFFFFFFFF x5=0000000000000000 x6=000000000000006D x7=0000000000000004
[2023-08-29T18:40:49.709Z] x8=0000000000000000 x9=0000000000000010 x10=0000000000000010 x11=0000000000000002
[2023-08-29T18:40:49.709Z] x12=0000000000000002 x13=0000000000000000 x14=0000000115800000 x15=0000000000000000
[2023-08-29T18:40:49.709Z] x16=0000000191E0E2A0 x17=0000000200765AB0 x18=000000017E112C10 x19=000000017E112070
[2023-08-29T18:40:49.709Z] x20=000000013581C820 x21=0000000000000000 x22=00000001247B5008 x23=000000017E1120B8
[2023-08-29T18:40:49.709Z] x24=000000011832D400 x25=0000000000000000 x26=0000000000000000 x27=000000017E111B58
[2023-08-29T18:40:49.709Z] x28=0000000000000000 x29(FP)=000000017E110EB0 x30(LR)=00000001085A09E0 x31(SP)=000000017E110E20
[2023-08-29T18:40:49.709Z] PC=00000001085A09FC SP=000000017E110E20
[2023-08-29T18:40:49.709Z] v0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v1 00000001381c3da0 (f: 941374848.000000, d: 2.587097e-314)
[2023-08-29T18:40:49.709Z] v2 000001be0000013e (f: 318.000000, d: 9.464101e-312)
[2023-08-29T18:40:49.709Z] v3 000001be000001be (f: 446.000000, d: 9.464101e-312)
[2023-08-29T18:40:49.709Z] v4 00000000000001be (f: 446.000000, d: 2.203533e-321)
[2023-08-29T18:40:49.709Z] v5 0000013e0000013e (f: 318.000000, d: 6.747947e-312)
[2023-08-29T18:40:49.709Z] v6 000000000000013e (f: 318.000000, d: 1.571129e-321)
[2023-08-29T18:40:49.709Z] v7 0000013e00000000 (f: 0.000000, d: 6.747947e-312)
[2023-08-29T18:40:49.709Z] v8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v16 bfd0000000000000 (f: 0.000000, d: -2.500000e-01)
[2023-08-29T18:40:49.709Z] v17 3fd5655529815555 (f: 696341824.000000, d: 3.343099e-01)
[2023-08-29T18:40:49.709Z] v18 bf7007d959559201 (f: 1498780160.000000, d: -3.913735e-03)
[2023-08-29T18:40:49.709Z] v19 3fe62e42fefa39ef (f: 4277811712.000000, d: 6.931472e-01)
[2023-08-29T18:40:49.709Z] v20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] v31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2023-08-29T18:40:49.709Z] Module=/Users/jenkins/workspace/Test_openjdk21_j9_extended.openjdk_aarch64_mac_Personal/openjdkbinary/j2sdk-image/lib/default/libj9jvmti29.dylib
[2023-08-29T18:40:49.709Z] Module_base_address=0000000108590000 Symbol=followReferencesCallback
[2023-08-29T18:40:49.709Z] Symbol_address=00000001085A02FC
[2023-08-29T18:40:49.709Z] Target=2_90_20230829_50 (Mac OS X 11.4)
[2023-08-29T18:40:49.709Z] CPU=aarch64 (8 logical CPUs) (0x400000000 RAM)
[2023-08-29T18:40:49.709Z] ----------- Stack Backtrace -----------
[2023-08-29T18:40:49.709Z] ---------------------------------------
[2023-08-29T18:40:49.709Z] JVMDUMP039I Processing dump event "gpf", detail "" at 2023/08/29 14:40:22 - please wait.
[2023-08-29T18:40:49.709Z] JVMDUMP032I JVM requested System dump using '/Users/jenkins/workspace/Test_openjdk21_j9_extended.openjdk_aarch64_mac_Personal/aqa-tests/TKG/output_16933343398437/serviceability_jvmti_j9_1/work/scratch/3/core.20230829.144022.74577.0001.dmp' in response to an event
[2023-08-29T18:40:49.709Z] JVMDUMP010I System dump written to /Users/jenkins/workspace/Test_openjdk21_j9_extended.openjdk_aarch64_mac_Personal/aqa-tests/TKG/output_16933343398437/serviceability_jvmti_j9_1/work/scratch/3/core.20230829.144022.74577.0001.dmp
[2023-08-29T18:40:49.709Z] JVMDUMP032I JVM requested Java dump using '/Users/jenkins/workspace/Test_openjdk21_j9_extended.openjdk_aarch64_mac_Personal/aqa-tests/TKG/output_16933343398437/serviceability_jvmti_j9_1/work/scratch/3/javacore.20230829.144022.74577.0002.txt' in response to an event
[2023-08-29T18:40:49.709Z] JVMDUMP010I Java dump written to /Users/jenkins/workspace/Test_openjdk21_j9_extended.openjdk_aarch64_mac_Personal/aqa-tests/TKG/output_16933343398437/serviceability_jvmti_j9_1/work/scratch/3/javacore.20230829.144022.74577.0002.txt
[2023-08-29T18:40:49.709Z] JVMDUMP032I JVM requested Snap dump using '/Users/jenkins/workspace/Test_openjdk21_j9_extended.openjdk_aarch64_mac_Personal/aqa-tests/TKG/output_16933343398437/serviceability_jvmti_j9_1/work/scratch/3/Snap.20230829.144022.74577.0003.trc' in response to an event
[2023-08-29T18:40:49.709Z] JVMDUMP010I Snap dump written to /Users/jenkins/workspace/Test_openjdk21_j9_extended.openjdk_aarch64_mac_Personal/aqa-tests/TKG/output_16933343398437/serviceability_jvmti_j9_1/work/scratch/3/Snap.20230829.144022.74577.0003.trc
[2023-08-29T18:40:49.709Z] JVMDUMP032I JVM requested JIT dump using '/Users/jenkins/workspace/Test_openjdk21_j9_extended.openjdk_aarch64_mac_Personal/aqa-tests/TKG/output_16933343398437/serviceability_jvmti_j9_1/work/scratch/3/jitdump.20230829.144022.74577.0004.dmp' in response to an event
[2023-08-29T18:40:49.709Z] JVMDUMP051I JIT dump occurred in 'MainThread' thread 0x0000000124832D00
[2023-08-29T18:40:49.709Z] JVMDUMP010I JIT dump written to /Users/jenkins/workspace/Test_openjdk21_j9_extended.openjdk_aarch64_mac_Personal/aqa-tests/TKG/output_16933343398437/serviceability_jvmti_j9_1/work/scratch/3/jitdump.20230829.144022.74577.0004.dmp
[2023-08-29T18:40:49.709Z] JVMDUMP013I Processed dump event "gpf", detail "".
@fengxue-IS fengxue-IS changed the title JTReg test failure serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java JTReg test failure serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default Aug 30, 2023
@fengxue-IS
Copy link
Contributor Author

This seem to be caused by identical failure as #17712

fengxue-IS added a commit to fengxue-IS/aqa-tests that referenced this issue Aug 30, 2023
java/lang/Thread/virtual/CarrierThreadWaits.java#id0 eclipse-openj9/openj9#18051
java/lang/Thread/virtual/GetStackTrace.java eclipse-openj9/openj9#18052
serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default eclipse-openj9/openj9#18053
serviceability/jvmti/vthread/ThreadStateTest/ThreadStateTest.java eclipse-openj9/openj9#18054

Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
@babsingh
Copy link
Contributor

Closing: This issue and #17712 are duplicates. There are two variants of the test: default and no-vmcontinuations. The failure is the same in both variants.

@babsingh babsingh added this to the Java 21 (0.42) milestone Aug 30, 2023
fengxue-IS added a commit to fengxue-IS/aqa-tests that referenced this issue Aug 31, 2023
java/lang/Thread/virtual/CarrierThreadWaits.java#id0 eclipse-openj9/openj9#18051
java/lang/Thread/virtual/GetStackTrace.java eclipse-openj9/openj9#18052
serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default eclipse-openj9/openj9#18053
serviceability/jvmti/vthread/ThreadStateTest/ThreadStateTest.java eclipse-openj9/openj9#18054

Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
fengxue-IS added a commit to fengxue-IS/aqa-tests that referenced this issue Aug 31, 2023
java/lang/Thread/virtual/CarrierThreadWaits.java#id0 eclipse-openj9/openj9#18051
java/lang/Thread/virtual/GetStackTrace.java eclipse-openj9/openj9#18052
serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default eclipse-openj9/openj9#18053
serviceability/jvmti/vthread/ThreadStateTest/ThreadStateTest.java eclipse-openj9/openj9#18054

Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
karianna pushed a commit to adoptium/aqa-tests that referenced this issue Sep 1, 2023
java/lang/Thread/virtual/CarrierThreadWaits.java#id0 eclipse-openj9/openj9#18051
java/lang/Thread/virtual/GetStackTrace.java eclipse-openj9/openj9#18052
serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default eclipse-openj9/openj9#18053
serviceability/jvmti/vthread/ThreadStateTest/ThreadStateTest.java eclipse-openj9/openj9#18054

Signed-off-by: Jack Lu <Jack.S.Lu@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants