eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 721 forks source link

TestIBMJlmRemoteMemoryAuth_0 crash vmState=0x00000000 #15414

Closed pshipton closed 2 years ago

pshipton commented 2 years ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk18_j9_sanity.system_aarch64_mac_Nightly_testList_0/82 TestIBMJlmRemoteMemoryAuth_0 -Xjit -Xgcpolicy:gencon -Xnocompressedrefs

No other diagnostics (no core, javacore, etc).

STF 12:49:33.005 - +------ Step 5 - Wait for the processes to complete
STF 12:49:33.005 - | Wait for processes to meet expectations
STF 12:49:33.005 - |   Processes: [LT1, CL1]
STF 12:49:33.005 - |
STF 12:49:33.005 - Monitoring processes: CL1 LT1
CL1 j> 2022/06/23 12:49:33.314 ServerURL=service:jmx:rmi:///jndi/rmi://localhost:1234/jmxrmi
CL1 j> 2022/06/23 12:49:33.353 Attempting to connect
CL1 j> 2022/06/23 12:49:33.472 Monitored VM not ready at Jun 23, 2022, 12:49:33 PM (attempt 1, elapsed 107ms).
CL1 j> 2022/06/23 12:49:33.472 Waiting 5 secs and trying again...
STF 12:49:36.224 - **FAILED** Process LT1 has ended unexpectedly

3.LT1.stderr

Unhandled exception
Type=Segmentation error vmState=0x00000000
J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000002
Handler1=00000001029479F8 Handler2=0000000102B0EE14 InaccessibleAddress=F2A720C1D29E4A29
x0=0000000141197100 x1=0000000141197100 x2=0000000148DBC100 x3=00000000000001D0
x4=000000016E5468E8 x5=000000016E5468D8 x6=000000016E5468D0 x7=000000016E5468C8
x8=F2A720C1D29E4A21 x9=0000000115FF81F4 x10=000000016E5468D0 x11=000000016E5468D8
x12=000000016E5468E8 x13=000000016E5468C0 x14=00000001029B0408 x15=000000010298CF04
x16=000000016E546920 x17=00000001FC0F9AB0 x18=0000000280015190 x19=0000000040000000
x20=F2A720C1D29E4A01 x21=000000016E5468C0 x22=0000000102A5F014 x23=000000016E5468D0
x24=000000016E5468D8 x25=0000000115E4AF60 x26=000000016E5468D0 x27=000000016E546920
x28=000000016E5468C8 x29(FP)=000000016E5468B0 x30(LR)=000000010298CAF8 x31(SP)=000000016E546610
PC=00000001029A1638 SP=000000016E546610
v0 00000000bf800000 (f: 3212836864.000000, d: 1.587352e-314)
v1 000000013112c998 (f: 823314816.000000, d: 2.528767e-314)
v2 0000000040000000 (f: 1073741824.000000, d: 5.304989e-315)
v3 0000007f0000007f (f: 127.000000, d: 2.694935e-312)
v4 0000000000000003 (f: 3.000000, d: 1.482197e-323)
v5 0000000000000002 (f: 2.000000, d: 9.881313e-324)
v6 0000080000000800 (f: 2048.000000, d: 4.345847e-311)
v7 0000000000000004 (f: 4.000000, d: 1.976263e-323)
v8 000000003f6b86d4 (f: 1064011456.000000, d: 5.256915e-315)
v9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
v10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
v11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
v12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
v13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
v14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
v15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
v16 0000000000000001 (f: 1.000000, d: 4.940656e-324)
v17 0000000000000001 (f: 1.000000, d: 4.940656e-324)
v18 0000000000000001 (f: 1.000000, d: 4.940656e-324)
v19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
v20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
v21 ffffffffffffffff (f: 4294967296.000000, d: nan)
v22 ffffffffffffffff (f: 4294967296.000000, d: nan)
v23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
v24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
v25 bca8000000000000 (f: 0.000000, d: -1.665335e-16)
v26 b948000000000000 (f: 0.000000, d: -9.244464e-33)
v27 bc90000000000000 (f: 0.000000, d: -5.551115e-17)
v28 3ff0000000000000 (f: 0.000000, d: 1.000000e+00)
v29 3ff0000000000000 (f: 0.000000, d: 1.000000e+00)
v30 00000000bf800000 (f: 3212836864.000000, d: 1.587352e-314)
v31 00000000bf800000 (f: 3212836864.000000, d: 1.587352e-314)
Module=/Users/jenkins/workspace/Test_openjdk18_j9_sanity.system_aarch64_mac_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9vm29.dylib
Module_base_address=0000000102924000 Symbol=_ZN26VM_BytecodeInterpreterFull3runEP10J9VMThread
Symbol_address=000000010298CB04
Target=2_90_20220623_84 (Mac OS X 11.4)
CPU=aarch64 (8 logical CPUs) (0x400000000 RAM)
----------- Stack Backtrace -----------
---------------------------------------
JVMDUMP039I Processing dump event "gpf", detail "" at 2022/06/23 12:49:36 - please wait.
0000000141197100: Object neither in heap nor stack-allocated in thread load-0
0000000141197100:   O-Slot=00000001411C7928
0000000141197100:   O-Slot value=0000000107667178
0000000141197100:   PC=0000000140F42AEC
0000000141197100:   framesWalked=0
0000000141197100:   arg0EA=00000001411C79E8
0000000141197100:   walkSP=00000001411C78C0
0000000141197100:   literals=0000000141987778
0000000141197100:   jitInfo=0000000000000000
0000000141197100:   method=0000000141987778 (java/lang/invoke/LambdaForm$NFI/0x0000000040f429c0.invoke_LLF_F(Ljava/lang/invoke/MethodHandle;[Ljava/lang/Object;)Ljava/lang/Object;) (Interpreted)
0000000141197100:   stack=00000001411C2840-00000001411C8080

@knn-k fyi

knn-k commented 2 years ago

It seems to be something in invokeBasic(). x20 is broken. But it is not clear what x20 means here, and where the value (0xF2A720C1D29E4A01) came from.

   7d630: 08 e1 47 f9   ldr     x8, [x8, #4032]
   7d634: 08 01 14 8b   add     x8, x8, x20
   7d638: 08 05 40 f9   ldr     x8, [x8, #8] <- PC points here
knn-k commented 2 years ago

No failures in 20x Grinder job: https://openj9-jenkins.osuosl.org/job/Grinder/1081/

knn-k commented 2 years ago

This failure was originally reported for JDK 18. I ran TestIBMJlmRemoteMemoryAuth_0 with JDK 19 on AArch64 macOS 40 times, and got no failures. https://openj9-jenkins.osuosl.org/job/Grinder/1309/