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

OpenJDK java/lang/ProcessBuilder/Basic.java Assertion failed PPCBinaryEncoding.cpp:732 VMState: 0x0005ff09 #17708

Closed pshipton closed 1 year ago

pshipton commented 1 year ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/1 - ub16p8j94 jdk_lang_0 java/lang/ProcessBuilder/Basic.java#id0

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/1/openjdk_test_output.tar.gz

23:06:18  Assertion failed at /home/jenkins/workspace/Build_JDK20_ppc64le_linux_Nightly/omr/compiler/p/codegen/PPCBinaryEncoding.cpp:732: (val & 0x1fu) == val
23:06:18  VMState: 0x0005ff09
23:06:18    Instruction 0x74bafbd22c50 [rlwinm] (generated from node 0x74bafb8bf690 [iushr]): 0x20 is out-of-range for SH(5) field
23:06:18  compiling openj9/internal/tools/attach/target/FileLock.lockFile(ZLjava/lang/String;Z)Z at level: warm
23:06:18  #0: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xb2c680) [0x74bb1bbac680]
23:06:18  #1: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xb3e8cc) [0x74bb1bbbe8cc]
23:06:18  #2: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x7219e4) [0x74bb1b7a19e4]
23:06:18  #3: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x7237e8) [0x74bb1b7a37e8]
23:06:18  #4: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xba05fc) [0x74bb1bc205fc]
23:06:18  #5: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xba6ee4) [0x74bb1bc26ee4]
23:06:18  #6: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xba48e8) [0x74bb1bc248e8]
23:06:18  #7: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xbafc4c) [0x74bb1bc2fc4c]
23:06:18  #8: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x68a2c0) [0x74bb1b70a2c0]
23:06:18  #9: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x68c0f8) [0x74bb1b70c0f8]
23:06:18  #10: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x686700) [0x74bb1b706700]
23:06:18  #11: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x6bf594) [0x74bb1b73f594]
23:06:18  #12: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x1707d4) [0x74bb1b1f07d4]
23:06:18  #13: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x171a44) [0x74bb1b1f1a44]
23:06:18  #14: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9prt29.so(+0x3ab74) [0x74bb20a4ab74]
23:06:18  #15: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16ec6c) [0x74bb1b1eec6c]
23:06:18  #16: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16f260) [0x74bb1b1ef260]
23:06:18  #17: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16da4c) [0x74bb1b1eda4c]
23:06:18  #18: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16e078) [0x74bb1b1ee078]
23:06:18  #19: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16e130) [0x74bb1b1ee130]
23:06:18  #20: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9prt29.so(+0x3ab74) [0x74bb20a4ab74]
23:06:18  #21: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16e698) [0x74bb1b1ee698]
23:06:18  #22: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9thr29.so(+0xd820) [0x74bb209dd820]
23:06:18  #23: /lib/powerpc64le-linux-gnu/libpthread.so.0(+0x8838) [0x74bb21568838]
23:06:18  #24: /lib/powerpc64le-linux-gnu/libc.so.6(clone+0x74) [0x74bb2143b884]
23:06:18  
23:06:18  
23:06:18  Instruction context:
23:06:18  
23:06:18  ...
23:06:18      0x74bb00c3fa58 00000368 [    0x74bafbd22610] 80580004          7  lwz     gr2, [gr24, 4]      # SymRef  java/lang/String.value [B[#762  final Shadow +4] [flags 0x400a0607 0x0 ]
23:06:18      0x74bb00c3fa5c 0000036c [    0x74bafbd22800] 80020004          10     lwz     gr0, [gr2, 4]       # SymRef  <contiguous-array-size>[#305  Shadow +4] [flags 0x603 0x0 ]
23:06:18      0x74bb00c3fa60 00000370 [    0x74bafbd229f0] 80580008          12     lwz     gr2, [gr24, 8]      # SymRef  java/lang/String.coder B[#768  final Shadow +8] [flags 0xa0601 0x0 ]
23:06:18      0x74bb00c3fa64 00000374 [    0x74bafbd22a90] 544206fe          12     rlwinm  gr2, gr2, 0000000000000000, 000000000000001F
23:06:18      0x74bb00c3fa68 00000378 [    0x74bafbd22b40] 7c191430          15     srw     gr25, gr0, gr2
23:06:18   [    0x74bafbd22c50] 15  rlwinm  gr22, gr3, 0000000000000020, 00000000FFFFFFFF
23:06:18   [    0x74bafbd22d70] 48  extsw   gr3, gr25
23:06:18   [    0x74bafbd22e80] 52  addi    gr3, gr3, 3
23:06:18   [    0x74bafbd22f90] 55  extsw   gr0, gr22
23:06:18   [    0x74bafbd230a0] 56  add     gr31, gr3, gr0
23:06:18   [    0x74bafbd23220] 61  lis     gr3, 0000000000007FFF
23:06:18  ...
23:06:18  (Set env var TR_AssertFullContext for full context)
23:06:18  
23:06:18  Node context:
23:06:18  
23:06:18  ...
23:06:18  n11487n   iRegStore gr22                                                                      [    0x74bafb8bf640] bci=[32,44,1766] rc=0 vc=369 vn=- li=742 udi=- nc=1
23:06:18  n11488n     iushr (normalizedShift )                                                          [    0x74bafb8bf690] bci=[36,15,2120] rc=0 vc=369 vn=- li=742 udi=11232 nc=2 flg=0x8000
23:06:18  n4309n        ==>iload
23:06:18  n11508n       ==>iconst 0
23:06:18  ...
23:06:18  (Set env var TR_AssertFullContext for full context)
23:06:18  #0: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xb2c680) [0x74bb1bbac680]
23:06:18  #1: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xb3e8cc) [0x74bb1bbbe8cc]
23:06:18  #2: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x15260c) [0x74bb1b1d260c]
23:06:18  #3: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9prt29.so(+0x39958) [0x74bb20a49958]
23:06:18  #4: function __kernel_sigtramp_rt64+0 [0]
23:06:18  #5: /lib/powerpc64le-linux-gnu/libpthread.so.0(raise+0xd8) [0x74bb2157a6a8]
23:06:18  #6: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x723740) [0x74bb1b7a3740]
23:06:18  #7: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x723820) [0x74bb1b7a3820]
23:06:18  #8: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xba05fc) [0x74bb1bc205fc]
23:06:18  #9: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xba6ee4) [0x74bb1bc26ee4]
23:06:18  #10: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xba48e8) [0x74bb1bc248e8]
23:06:18  #11: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xbafc4c) [0x74bb1bc2fc4c]
23:06:18  #12: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x68a2c0) [0x74bb1b70a2c0]
23:06:18  #13: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x68c0f8) [0x74bb1b70c0f8]
23:06:18  #14: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x686700) [0x74bb1b706700]
23:06:18  #15: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x6bf594) [0x74bb1b73f594]
23:06:18  #16: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x1707d4) [0x74bb1b1f07d4]
23:06:18  #17: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x171a44) [0x74bb1b1f1a44]
23:06:18  #18: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9prt29.so(+0x3ab74) [0x74bb20a4ab74]
23:06:18  #19: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16ec6c) [0x74bb1b1eec6c]
23:06:18  #20: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16f260) [0x74bb1b1ef260]
23:06:18  #21: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16da4c) [0x74bb1b1eda4c]
23:06:18  #22: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16e078) [0x74bb1b1ee078]
23:06:18  #23: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16e130) [0x74bb1b1ee130]
23:06:18  #24: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9prt29.so(+0x3ab74) [0x74bb20a4ab74]
23:06:18  #25: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16e698) [0x74bb1b1ee698]
23:06:18  #26: /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9thr29.so(+0xd820) [0x74bb209dd820]
23:06:18  #27: /lib/powerpc64le-linux-gnu/libpthread.so.0(+0x8838) [0x74bb21568838]
23:06:18  #28: /lib/powerpc64le-linux-gnu/libc.so.6(clone+0x74) [0x74bb2143b884]
23:06:18  Unhandled exception
23:06:18  Type=Unhandled trap vmState=0x0005ff09
23:06:18  J9Generic_Signal_Number=00000108 Signal_Number=00000005 Error_Value=00000000 Signal_Code=fffffffa
23:06:18  Handler1=000074BB20B207A0 Handler2=000074BB20A496C0
23:06:18  R0=00000000000000AE R1=000074BB00A263D0 R2=000074BB215A7F00 R3=0000000000000000
23:06:18  R4=000074BB00A263F8 R5=0000000000000000 R6=0000000000000008 R7=000074BB2157A680
23:06:18  R8=800000000280F033 R9=0000000000000000 R10=0000000000000000 R11=0000000000000000
23:06:18  R12=0000000000000000 R13=000074BB00A368F0 R14=000074BB215A4410 R15=000074BB00A2AAA8
23:06:18  R16=0000000000000000 R17=0000000000000000 R18=000074BB00A2AAA8 R19=000074BB00A2A5A8
23:06:18  R20=0000000010000000 R21=000074BB1C2C5138 R22=000074BB00A2AC68 R23=000074BB00A26928
23:06:18  R24=000074BB00A26908 R25=000074BB1BD96878 R26=000074BAFB007EB0 R27=00000000FFFFFFFF
23:06:18  R28=000074BB1BF80708 R29=000074BB00A263F8 R30=0000000000000005 R31=0000000000000000
23:06:18  NIP=000074BB2157A6A8 MSR=800000000280F033 ORIG_GPR3=0000000000000002 CTR=0000000000000000
23:06:18  LINK=000074BB2157A618 XER=0000000000000000 CCR=0000000024882478 SOFTE=0000000000000001
23:06:18  TRAP=0000000000000C00 DAR=000074BADA812054 dsisr=0000000040000000 RESULT=0000000000000000
23:06:18  FPR0 000000000000011d (f: 285.000000, d: 1.408087e-321)
23:06:18  FPR1 3fe51da380000000 (f: 2147483648.000000, d: 6.598680e-01)
23:06:18  FPR2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR3 0000002e00000021 (f: 33.000000, d: 9.761181e-313)
23:06:18  FPR4 0000002a0000002b (f: 43.000000, d: 8.912382e-313)
23:06:18  FPR5 0000002600000027 (f: 39.000000, d: 8.063584e-313)
23:06:18  FPR6 0000002200000023 (f: 35.000000, d: 7.214786e-313)
23:06:18  FPR7 0000003d0000003e (f: 62.000000, d: 1.294417e-312)
23:06:18  FPR8 000000390000003a (f: 58.000000, d: 1.209538e-312)
23:06:18  FPR9 0000000500000004 (f: 4.000000, d: 1.060998e-313)
23:06:18  FPR10 0000000900000008 (f: 8.000000, d: 1.909796e-313)
23:06:18  FPR11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR13 0000000100000001 (f: 1.000000, d: 2.121996e-314)
23:06:18  FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
23:06:18  Module=/lib/powerpc64le-linux-gnu/libpthread.so.0
23:06:18  Module_base_address=000074BB21560000 Symbol=raise
23:06:18  Symbol_address=000074BB2157A5D0
23:06:18  
23:06:18  Method_being_compiled=openj9/internal/tools/attach/target/FileLock.lockFile(ZLjava/lang/String;Z)Z
23:06:18  Target=2_90_20230628_91 (Linux 5.4.0-146-generic)
23:06:18  CPU=ppc64le (16 logical CPUs) (0x1fc2b0000 RAM)
23:06:18  ----------- Stack Backtrace -----------
23:06:18  raise+0xd8 (0x000074BB2157A6A8 [libpthread.so.0+0x1a6a8])
23:06:18  _ZN2TR4trapEv+0x70 (0x000074BB1B7A3740 [libj9jit29.so+0x723740])
23:06:18  _ZN2TR27fatal_assertion_with_detailERKNS_16AssertionContextEPKciS4_S4_z+0x80 (0x000074BB1B7A3820 [libj9jit29.so+0x723820])
23:06:18  _ZL12fillFieldSH5PN2TR11InstructionEPjj+0xdc (0x000074BB1BC205FC [libj9jit29.so+0xba05fc])
23:06:18  _ZN2TR26PPCTrg1Src1Imm2Instruction24fillBinaryEncodingFieldsEPj+0x154 (0x000074BB1BC26EE4 [libj9jit29.so+0xba6ee4])
23:06:18  _ZN3OMR5Power11Instruction22generateBinaryEncodingEv+0x158 (0x000074BB1BC248E8 [libj9jit29.so+0xba48e8])
23:06:18  _ZN3OMR5Power13CodeGenerator16doBinaryEncodingEv+0x12c (0x000074BB1BC2FC4C [libj9jit29.so+0xbafc4c])
23:06:18  _ZN3OMR12CodeGenPhase26performBinaryEncodingPhaseEPN2TR13CodeGeneratorEPNS1_12CodeGenPhaseE+0xc0 (0x000074BB1B70A2C0 [libj9jit29.so+0x68a2c0])
23:06:18  _ZN3OMR12CodeGenPhase10performAllEv+0x148 (0x000074BB1B70C0F8 [libj9jit29.so+0x68c0f8])
23:06:18  _ZN3OMR13CodeGenerator12generateCodeEv+0x80 (0x000074BB1B706700 [libj9jit29.so+0x686700])
23:06:18  _ZN3OMR11Compilation7compileEv+0x804 (0x000074BB1B73F594 [libj9jit29.so+0x6bf594])
23:06:18  _ZN2TR28CompilationInfoPerThreadBase7compileEP10J9VMThreadPNS_11CompilationEP17TR_ResolvedMethodR11TR_J9VMBaseP19TR_OptimizationPlanRKNS_16SegmentAllocatorE+0x504 (0x000074BB1B1F07D4 [libj9jit29.so+0x1707d4])
23:06:18  _ZN2TR28CompilationInfoPerThreadBase14wrappedCompileEP13J9PortLibraryPv+0x364 (0x000074BB1B1F1A44 [libj9jit29.so+0x171a44])
23:06:18  omrsig_protect+0x3e4 (0x000074BB20A4AB74 [libj9prt29.so+0x3ab74])
23:06:18  _ZN2TR28CompilationInfoPerThreadBase7compileEP10J9VMThreadP21TR_MethodToBeCompiledRN2J917J9SegmentProviderE+0x36c (0x000074BB1B1EEC6C [libj9jit29.so+0x16ec6c])
23:06:18  _ZN2TR24CompilationInfoPerThread12processEntryER21TR_MethodToBeCompiledRN2J917J9SegmentProviderE+0x170 (0x000074BB1B1EF260 [libj9jit29.so+0x16f260])
23:06:18  _ZN2TR24CompilationInfoPerThread14processEntriesEv+0x3fc (0x000074BB1B1EDA4C [libj9jit29.so+0x16da4c])
23:06:18  _ZN2TR24CompilationInfoPerThread3runEv+0xa8 (0x000074BB1B1EE078 [libj9jit29.so+0x16e078])
23:06:18  _Z30protectedCompilationThreadProcP13J9PortLibraryPN2TR24CompilationInfoPerThreadE+0xa0 (0x000074BB1B1EE130 [libj9jit29.so+0x16e130])
23:06:18  omrsig_protect+0x3e4 (0x000074BB20A4AB74 [libj9prt29.so+0x3ab74])
23:06:18  _Z21compilationThreadProcPv+0x1a8 (0x000074BB1B1EE698 [libj9jit29.so+0x16e698])
23:06:18  thread_wrapper+0x190 (0x000074BB209DD820 [libj9thr29.so+0xd820])
23:06:18  start_thread+0xe8 (0x000074BB21568838 [libpthread.so.0+0x8838])
23:06:18  clone+0x74 (0x000074BB2143B884 [libc.so.6+0x14b884])
23:06:18  ---------------------------------------
23:06:18  JVMDUMP039I Processing dump event "gpf", detail "" at 2023/06/28 22:26:34 - please wait.
23:06:18  JVMDUMP032I JVM requested System dump using '/home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/aqa-tests/TKG/output_16880049522958/jdk_lang_0/work/scratch/1/core.20230628.222634.304188.0001.dmp' in response to an event
23:06:18  JVMDUMP010I System dump written to /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/aqa-tests/TKG/output_16880049522958/jdk_lang_0/work/scratch/1/core.20230628.222634.304188.0001.dmp
23:06:18  JVMDUMP032I JVM requested Java dump using '/home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/aqa-tests/TKG/output_16880049522958/jdk_lang_0/work/scratch/1/javacore.20230628.222634.304188.0002.txt' in response to an event
23:06:18  JVMDUMP010I Java dump written to /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/aqa-tests/TKG/output_16880049522958/jdk_lang_0/work/scratch/1/javacore.20230628.222634.304188.0002.txt
23:06:18  JVMDUMP032I JVM requested Snap dump using '/home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/aqa-tests/TKG/output_16880049522958/jdk_lang_0/work/scratch/1/Snap.20230628.222634.304188.0003.trc' in response to an event
23:06:18  JVMDUMP010I Snap dump written to /home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/aqa-tests/TKG/output_16880049522958/jdk_lang_0/work/scratch/1/Snap.20230628.222634.304188.0003.trc
23:06:18  JVMDUMP032I JVM requested JIT dump using '/home/jenkins/workspace/Test_openjdk20_j9_sanity.openjdk_ppc64le_linux_Nightly_testList_0/aqa-tests/TKG/output_16880049522958/jdk_lang_0/work/scratch/1/jitdump.20230628.222634.304188.0004.dmp' in response to an event
23:06:18  JVMDUMP051I JIT dump occurred in 'JIT Compilation Thread-000' thread 0x00000000000A2C00
23:06:18  JVMDUMP049I JIT dump notified all waiting threads of the current method to be compiled
23:06:18  JVMDUMP054I JIT dump is tracing the IL of the method on the crashed compilation thread
23:06:18  JVMDUMP052I JIT dump recursive crash occurred on diagnostic thread
23:06:18  JVMDUMP048I JIT dump method being compiled is an ordinary method
23:06:18  JVMDUMP053I JIT dump is recompiling openj9/internal/tools/attach/target/FileLock.lockFile(ZLjava/lang/String;Z)Z
23:06:18  STATUS:Passed.
23:06:18  *** stack smashing detected ***: terminated
pshipton commented 1 year ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/2/ testJITServer_1 -Xcompressedrefs -Xjit -Xgcpolicy:gencon -Xshareclasses:none -Xjit:optLevel=hot

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/2/functional_test_output.tar.gz

//// JITServer is ready to accept incoming requests
//// Assertion failed at /home/jenkins/workspace/Build_JDK21_ppc64le_linux_Nightly/omr/compiler/p/codegen/PPCBinaryEncoding.cpp:732: (val & 0x1fu) == val
//// VMState: 0x0005ff09
////    Instruction 0x769971f03950 [rlwinm] (generated from node 0x7699712e7b20 [iushr]): 0x20 is out-of-range for SH(5) field
//// compiling com/sun/org/apache/xerces/internal/impl/dtd/XMLDTDValidator.getAttributeTypeName(Lcom/sun/org/apache/xerces/internal/impl/dtd/XMLAttributeDecl;)Ljava/lang/String; at level: hot
//// #0: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xb2c680) [0x769ac423c680]
//// #1: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xb3e8cc) [0x769ac424e8cc]
//// #2: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x7219e4) [0x769ac3e319e4]
//// #3: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x7237e8) [0x769ac3e337e8]
//// #4: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xba05fc) [0x769ac42b05fc]
//// #5: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xba6ee4) [0x769ac42b6ee4]
//// #6: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xba48e8) [0x769ac42b48e8]
//// #7: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xbafc4c) [0x769ac42bfc4c]
//// #8: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x68a2c0) [0x769ac3d9a2c0]
//// #9: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x68c0f8) [0x769ac3d9c0f8]
//// #10: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x686700) [0x769ac3d96700]
//// #11: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x6bf594) [0x769ac3dcf594]
//// #12: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x1707d4) [0x769ac38807d4]
//// #13: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x171a44) [0x769ac3881a44]
//// #14: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9prt29.so(+0x3ab74) [0x769ac503ab74]
//// #15: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16ec6c) [0x769ac387ec6c]
//// #16: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x1f0d18) [0x769ac3900d18]
//// #17: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16da4c) [0x769ac387da4c]
//// #18: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16e078) [0x769ac387e078]
//// #19: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16e130) [0x769ac387e130]
//// #20: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9prt29.so(+0x3ab74) [0x769ac503ab74]
//// #21: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16e698) [0x769ac387e698]
//// #22: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9thr29.so(+0xd820) [0x769ac4fcd820]
//// #23: /lib/powerpc64le-linux-gnu/libpthread.so.0(+0x8838) [0x769ac5a68838]
//// #24: /lib/powerpc64le-linux-gnu/libc.so.6(clone+0x74) [0x769ac596b884]
//// 
//// 
//// Instruction context:
//// 
//// ...
////     0x769aa9980364 000002ec [    0x769971f03410] 7c1f1800          38  cmpw    cr0, gr31, gr3
////     0x769aa9980368 000002f0 [    0x769971f034b0] 41820000          38  beq     cr0, Label [    0x7699670d4d80]
////     0x769aa998036c 000002f4 [    0x769971f03550]                   38  fence   Relative[ 713a6bb4 ] (BBEnd (block_91))
////     0x769aa998036c 000002f4 [    0x769971f035e0]                   2   fence   Relative[ 7136b290 ] (BBStart (block_88))
////     0x769aa998036c 000002f4 [    0x769971f036d0]                   2   Label [    0x769971f03670]: 
////  [    0x769971f03950]  57  rlwinm  gr3, gr31, 0000000000000020, 00000000FFFFFFFF
////  [    0x769971f03a00]  31  rlwinm  gr29, gr3, 0000000000000000, 00000000FFFFFFFF
////  [    0x769971f03c00]  2   lwz     gr0, [gr27, 4]      # SymRef  <contiguous-array-size>[#305  Shadow +4] [flags 0x603 0x0 ]
////  [    0x769971f03ca0]  3   cmpw    cr0, gr29, gr0
////  [    0x769971f03f80]  3   beq     cr0, Label [    0x7699670d4de0]
////  PRE: [&GPR_    0x769971f02a70 : gr30] [&GPR_    0x769971f02ae0 : gr28] [&GPR_    0x769971f02b50 : gr27] [GPR_    0x769971f02bc0 : gr26] [&GPR_    0x769971f02c30 : gr25] [&GPR_    0x769971f02ca0 : gr23] [&GPR_    0x769971f02d10 : gr19] [GPR_    0x769971f03870 : gr29] 
//// POST: [&GPR_    0x769971f02a70 : gr30] [&GPR_    0x769971f02ae0 : gr28] [&GPR_    0x769971f02b50 : gr27] [GPR_    0x769971f02bc0 : gr26] [&GPR_    0x769971f02c30 : gr25] [&GPR_    0x769971f02ca0 : gr23] [&GPR_    0x769971f02d10 : gr19] [GPR_    0x769971f03870 : gr29] 
////  [    0x769971f04130]  3   fence   Relative[ 7136b294 ] (BBEnd (block_88))
//// ...
//// (Set env var TR_AssertFullContext for full context)
//// 
//// Node context:
//// 
//// ...
//// n6603n    iRegStore gr29  (privatizedInlinerArg )                                             [    0x7699712effa0] bci=[7,31,243] rc=0 vc=9 vn=- li=88 udi=- nc=1 flg=0x2000
//// n6084n      ishl (normalizedShift )                                                           [    0x7699712e5d70] bci=[7,31,243] rc=0 vc=9 vn=- li=88 udi=14448 nc=2 flg=0x8000
//// n6179n        iushr (normalizedShift )                                                        [    0x7699712e7b20] bci=[8,57,267] rc=0 vc=9 vn=- li=88 udi=14560 nc=2 flg=0x8000
//// n26663n         ==>iRegLoad
//// n26328n         ==>iconst 0
//// n26328n       ==>iconst 0
//// ...
//// (Set env var TR_AssertFullContext for full context)
//// #0: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xb2c680) [0x769ac423c680]
//// #1: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xb3e8cc) [0x769ac424e8cc]
//// #2: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x15260c) [0x769ac386260c]
//// #3: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9prt29.so(+0x39958) [0x769ac5039958]
//// #4: function __kernel_sigtramp_rt64+0 [0]
//// #5: /lib/powerpc64le-linux-gnu/libpthread.so.0(raise+0xd8) [0x769ac5a7a6a8]
//// #6: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x723740) [0x769ac3e33740]
//// #7: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x723820) [0x769ac3e33820]
//// #8: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xba05fc) [0x769ac42b05fc]
//// #9: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xba6ee4) [0x769ac42b6ee4]
//// #10: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xba48e8) [0x769ac42b48e8]
//// #11: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0xbafc4c) [0x769ac42bfc4c]
//// #12: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x68a2c0) [0x769ac3d9a2c0]
//// #13: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x68c0f8) [0x769ac3d9c0f8]
//// #14: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x686700) [0x769ac3d96700]
//// #15: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x6bf594) [0x769ac3dcf594]
//// #16: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x1707d4) [0x769ac38807d4]
//// #17: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x171a44) [0x769ac3881a44]
//// #18: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9prt29.so(+0x3ab74) [0x769ac503ab74]
//// #19: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16ec6c) [0x769ac387ec6c]
//// #20: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x1f0d18) [0x769ac3900d18]
//// #21: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16da4c) [0x769ac387da4c]
//// #22: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16e078) [0x769ac387e078]
//// #23: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16e130) [0x769ac387e130]
//// #24: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9prt29.so(+0x3ab74) [0x769ac503ab74]
//// #25: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so(+0x16e698) [0x769ac387e698]
//// #26: /home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/openjdkbinary/j2sdk-image/lib/default/libj9thr29.so(+0xd820) [0x769ac4fcd820]
//// #27: /lib/powerpc64le-linux-gnu/libpthread.so.0(+0x8838) [0x769ac5a68838]
//// #28: /lib/powerpc64le-linux-gnu/libc.so.6(clone+0x74) [0x769ac596b884]
//// Unhandled exception
//// Type=Unhandled trap vmState=0x0005ff09
//// J9Generic_Signal_Number=00000108 Signal_Number=00000005 Error_Value=00000000 Signal_Code=fffffffa
//// Handler1=0000769AC51107A0 Handler2=0000769AC50396C0
//// R0=00000000000000AE R1=0000769AA8115FF0 R2=0000769AC5AA7F00 R3=0000000000000000
//// R4=0000769AA8116018 R5=0000000000000000 R6=0000000000000008 R7=0000769AC5A7A680
//// R8=800000000280F033 R9=0000000000000000 R10=0000000000000000 R11=0000000000000000
//// R12=0000000000000000 R13=0000769AA81268F0 R14=0000000000000000 R15=0000769AB9868C00
//// R16=0000000000366100 R17=0000000000000006 R18=0000769AA811A6C8 R19=0000769AA811A1C8
//// R20=0000000020000000 R21=000076997C007658 R22=0000769AA811A888 R23=0000769AA8116548
//// R24=0000769AA8116528 R25=0000769AC4426878 R26=0000769971008240 R27=00000000FFFFFFFF
//// R28=0000769AC4610708 R29=0000769AA8116018 R30=0000000000000005 R31=0000000000000000
//// NIP=0000769AC5A7A6A8 MSR=800000000280F033 ORIG_GPR3=0000000000000002 CTR=0000000000000000
//// LINK=0000769AC5A7A618 XER=0000000000000000 CCR=0000000024882478 SOFTE=0000000000000001
//// TRAP=0000000000000C00 DAR=0000769AC424E8A8 dsisr=0000000040000000 RESULT=0000000000000000
//// FPR0 00000000000001fd (f: 509.000000, d: 2.514794e-321)
//// FPR1 ffffffffffffffff (f: 4294967296.000000, d: -nan)
//// FPR2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR3 0000002e00000021 (f: 33.000000, d: 9.761181e-313)
//// FPR4 0000002a0000002b (f: 43.000000, d: 8.912382e-313)
//// FPR5 0000002600000027 (f: 39.000000, d: 8.063584e-313)
//// FPR6 0000002200000023 (f: 35.000000, d: 7.214786e-313)
//// FPR7 0000003d0000003e (f: 62.000000, d: 1.294417e-312)
//// FPR8 000000390000003a (f: 58.000000, d: 1.209538e-312)
//// FPR9 0000003500000036 (f: 54.000000, d: 1.124658e-312)
//// FPR10 0000003100000032 (f: 50.000000, d: 1.039778e-312)
//// FPR11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR12 0000006300000061 (f: 97.000000, d: 2.100776e-312)
//// FPR13 0000000100000001 (f: 1.000000, d: 2.121996e-314)
//// FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
//// Module=/lib/powerpc64le-linux-gnu/libpthread.so.0
//// Module_base_address=0000769AC5A60000 Symbol=raise
//// Symbol_address=0000769AC5A7A5D0
//// 
//// Unhandled exception in signal handler. Protected function: writeCrashDataToConsole (0x0)
//// 
//// ----------- Stack Backtrace -----------
//// raise+0xd8 (0x0000769AC5A7A6A8 [libpthread.so.0+0x1a6a8])
//// _ZN2TR4trapEv+0x70 (0x0000769AC3E33740 [libj9jit29.so+0x723740])
//// _ZN2TR27fatal_assertion_with_detailERKNS_16AssertionContextEPKciS4_S4_z+0x80 (0x0000769AC3E33820 [libj9jit29.so+0x723820])
//// _ZL12fillFieldSH5PN2TR11InstructionEPjj+0xdc (0x0000769AC42B05FC [libj9jit29.so+0xba05fc])
//// _ZN2TR26PPCTrg1Src1Imm2Instruction24fillBinaryEncodingFieldsEPj+0x154 (0x0000769AC42B6EE4 [libj9jit29.so+0xba6ee4])
//// _ZN3OMR5Power11Instruction22generateBinaryEncodingEv+0x158 (0x0000769AC42B48E8 [libj9jit29.so+0xba48e8])
//// _ZN3OMR5Power13CodeGenerator16doBinaryEncodingEv+0x12c (0x0000769AC42BFC4C [libj9jit29.so+0xbafc4c])
//// _ZN3OMR12CodeGenPhase26performBinaryEncodingPhaseEPN2TR13CodeGeneratorEPNS1_12CodeGenPhaseE+0xc0 (0x0000769AC3D9A2C0 [libj9jit29.so+0x68a2c0])
//// _ZN3OMR12CodeGenPhase10performAllEv+0x148 (0x0000769AC3D9C0F8 [libj9jit29.so+0x68c0f8])
//// _ZN3OMR13CodeGenerator12generateCodeEv+0x80 (0x0000769AC3D96700 [libj9jit29.so+0x686700])
//// _ZN3OMR11Compilation7compileEv+0x804 (0x0000769AC3DCF594 [libj9jit29.so+0x6bf594])
//// _ZN2TR28CompilationInfoPerThreadBase7compileEP10J9VMThreadPNS_11CompilationEP17TR_ResolvedMethodR11TR_J9VMBaseP19TR_OptimizationPlanRKNS_16SegmentAllocatorE+0x504 (0x0000769AC38807D4 [libj9jit29.so+0x1707d4])
//// _ZN2TR28CompilationInfoPerThreadBase14wrappedCompileEP13J9PortLibraryPv+0x364 (0x0000769AC3881A44 [libj9jit29.so+0x171a44])
//// omrsig_protect+0x3e4 (0x0000769AC503AB74 [libj9prt29.so+0x3ab74])
//// _ZN2TR28CompilationInfoPerThreadBase7compileEP10J9VMThreadP21TR_MethodToBeCompiledRN2J917J9SegmentProviderE+0x36c (0x0000769AC387EC6C [libj9jit29.so+0x16ec6c])
//// _ZN2TR30CompilationInfoPerThreadRemote12processEntryER21TR_MethodToBeCompiledRN2J917J9SegmentProviderE+0x1658 (0x0000769AC3900D18 [libj9jit29.so+0x1f0d18])
//// _ZN2TR24CompilationInfoPerThread14processEntriesEv+0x3fc (0x0000769AC387DA4C [libj9jit29.so+0x16da4c])
//// _ZN2TR24CompilationInfoPerThread3runEv+0xa8 (0x0000769AC387E078 [libj9jit29.so+0x16e078])
//// _Z30protectedCompilationThreadProcP13J9PortLibraryPN2TR24CompilationInfoPerThreadE+0xa0 (0x0000769AC387E130 [libj9jit29.so+0x16e130])
//// omrsig_protect+0x3e4 (0x0000769AC503AB74 [libj9prt29.so+0x3ab74])
//// _Z21compilationThreadProcPv+0x1a8 (0x0000769AC387E698 [libj9jit29.so+0x16e698])
//// thread_wrapper+0x190 (0x0000769AC4FCD820 [libj9thr29.so+0xd820])
//// start_thread+0xe8 (0x0000769AC5A68838 [libpthread.so.0+0x8838])
//// clone+0x74 (0x0000769AC596B884 [libc.so.6+0x14b884])
pshipton commented 1 year ago

@zl-wang fyi

zl-wang commented 1 year ago

@IBMJimmyk please take a look ... looks like unexpected shift amount.

zl-wang commented 1 year ago

Actually, looks like IL problem. shift-right by 0.

23:06:18  n11487n   iRegStore gr22                                                                      [    0x74bafb8bf640] bci=[32,44,1766] rc=0 vc=369 vn=- li=742 udi=- nc=1
23:06:18  n11488n     iushr (normalizedShift )                                                          [    0x74bafb8bf690] bci=[36,15,2120] rc=0 vc=369 vn=- li=742 udi=11232 nc=2 flg=0x8000
23:06:18  n4309n        ==>iload
23:06:18  n11508n       ==>iconst 0

@hzongaro

hzongaro commented 1 year ago

In the recompilation for FileLock.lockFile, it looks like the problematic trees first appear during Tactical Global Register Allocation. After redundant goto elimination:

n11195n   istore  s3len<auto slot 6>[#916  Auto] [flags 0x3 0x0 ]                             [    0x74ba62449b00] bci=[32,44,1766] rc=0 vc=4904 vn=- li=- udi=121 nc=1
n11196n     iushr (normalizedShift )                                                          [    0x74ba62449b50] bci=[36,15,2120] rc=2 vc=4904 vn=- li=- udi=- nc=2 flg=0x8000
n4017n        ==>iload
n11197n       iload  <temp slot 33>[#1194  Auto] [flags 0x20000003 0x0 ] (X>=0 cannotOverflow )  [    0x74ba62449ba0] bci=[36,12,2120] rc=1 vc=4904 vn=- li=- udi=532 nc=0 flg=0x1100

After GRA:

n11195n   iRegStore gr22                                                                      [    0x74ba62449b00] bci=[32,44,1766] rc=0 vc=12381 vn=- li=-4 udi=121 nc=1
n11196n     iushr (normalizedShift )                                                          [    0x74ba62449b50] bci=[36,15,2120] rc=4 vc=12381 vn=- li=- udi=- nc=2 flg=0x8000
n4017n        ==>iload
n11216n       ==>iconst 0
hzongaro commented 1 year ago

Annabelle @a7ehuo, may I ask you to take a look at this issue? It's not clear whether the iushr is being incorrectly marked with the normalizedShift flag by some earlier optimization, or GRA incorrectly thinks the shift amount is zero.

a7ehuo commented 1 year ago

looks like IL problem. shift-right by 0

I'm still going through the recompiled log file. Just trying to understand the issue itself. I came across the following comments on the shift amount range. @zl-wang It looks to me shifting by 0 is allowed. Or maybe I've misunderstood something? I'm still looking for the code that evaluates the right shift by 0 into the instruction with the immediate value 0x20.

https://github.com/eclipse-openj9/openj9/blob/96f5bb9655ef49c11641dfeceb6ddc63b83912de/runtime/compiler/p/codegen/J9CodeGenerator.cpp#L287-L289

Meanwhile, I'm trying to understand

------------------------------
 n11195n  (  0)  iRegStore gr22                                                                       [    0x74ba62449b00] bci=[32,44,1766] rc=0 vc=11 vn=- li=742 udi=- nc=1
 n11196n  (  2)    iushr (in GPR_    0x74ba615f1440) (normalizedShift )                               [    0x74ba62449b50] bci=[36,15,2120] rc=2 vc=11 vn=- li=742 udi=5184 nc=2 flg=0x8000
 n4017n   (  0)      ==>iload (in GPR_    0x74ba615d1d20) (X>=0 cannotOverflow )
 n11216n  (  1)      ==>iconst 0 (in GPR_    0x74ba615d0dd0) (X==0 X>=0 X<=0 )
------------------------------

 [    0x74ba615f14b0]   15  rlwinm  GPR_    0x74ba615f1440, GPR_    0x74ba615d1d20, 0000000000000020, 00000000FFFFFFFF
zl-wang commented 1 year ago

@a7ehuo it will assert at binary encoding time. right-shift 0 is equal to rotate-left 32 (for 32bit data).

zl-wang commented 1 year ago

if 0 is allowed in language, we should take out the assertion. on the other hand, the IL should be simplified, isn't it?

a7ehuo commented 1 year ago

I'm still looking for the code that evaluates the right shift by 0 into the instruction with the immediate value 0x20.

I think I found the answer to my own question. iushr is evaluated in integerShiftRight. Because rhs is 0 since the second child of iushr is iconst 0, the first immediate value for rlwinm is 0x20 (32 - rhs). @zl-wang Is my understanding correct? I don't see any restriction in integerShiftRight that disallows the value of the second child to be 0

      int32_t rhs = node->getSecondChild()->getInt() & (operandBits > 32 ? 0x3f : 0x1f);
...
            generateTrg1Src1Imm2Instruction(cg, TR::InstOpCode::rlwinm, node, trg, lhs, (32 - rhs), mask);
...
hzongaro commented 1 year ago

if 0 is allowed in language, we should take out the assertion. on the other hand, the IL should be simplified, isn't it?

Ah! I had misread the only description of the meaning of normalizedShift that I could find from OMRSimplifierHelpers.cpp, which says

platforms like PPC need to normalize the shift amount to range (0, 31) before shifting

I took that to be an exclusive range, so 0 and 31 were not allowed - but now I see that doesn't make sense, and the range must be [0, 31]. So, yes, the assertion should go away. Julian @zl-wang, I assume you'll assign the issue.

Annabelle @a7ehuo, may I ask you to open a follow up issue for someone to investigate why the potential simplification is not detected?

zl-wang commented 1 year ago

@IBMJimmyk on a second thought, the binary encoding assertion is still valid, since the instruction itself only allows 5-bit masks. please fix it in the evaluator by special-casing shift-amount 0.

IBMJimmyk commented 1 year ago

Okay, I can do that.

a7ehuo commented 1 year ago

Annabelle @a7ehuo, may I ask you to open a follow up issue for someone to investigate why the potential simplification is not detected?

https://github.com/eclipse-openj9/openj9/issues/17740 is opened to investigate why right shift 0 IL trees are not removed

pshipton commented 1 year ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly_testList_0/5

a7ehuo commented 1 year ago

I'm just wondering what might have changed recently could cause this assert to start happening now. The assert in fillFieldSH5 has been there for three years

IBMJimmyk commented 1 year ago

I opened a PR that should address this issue on the Power evaluator side: https://github.com/eclipse/omr/pull/7057

So a shift right by 0 should be properly encoded once that is merged in. On the optimizer side, it may still be worth looking into why the shift by 0 made it all the way to the end in the IL.

a7ehuo commented 1 year ago

On the optimizer side, it may still be worth looking into why the shift by 0 made it all the way to the end in the IL

This is being investigated in #17740

JasonFengJ9 commented 1 year ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly/14/tapResults/

variation: Mode610 -Xshareclasses:none -Xjit:optLevel=hot
JVM_OPTIONS:  -Xcompressedrefs -Xjit -Xgcpolicy:gencon -Xshareclasses:none -Xjit:optLevel=hot 

//// JITServer is ready to accept incoming requests
//// Assertion failed at /home/jenkins/workspace/Build_JDK21_ppc64le_linux_Nightly/omr/compiler/p/codegen/PPCBinaryEncoding.cpp:732: (val & 0x1fu) == val
//// VMState: 0x0005ff09
////    Instruction 0x71edd9f608e0 [rlwinm] (generated from node 0x71ee0728af00 [iushr]): 0x20 is out-of-range for SH(5) field
//// compiling com/sun/org/apache/xerces/internal/impl/dtd/XMLDTDValidator.getAttributeTypeName(Lcom/sun/org/apache/xerces/internal/impl/dtd/XMLAttributeDecl;)Ljava/lang/String; at level: hot

===============================================
    JITServerTest
    Tests run: 7, Failures: 1, Skips: 0
===============================================

-----------------------------------
testJITServer_1_FAILED

https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.functional_ppc64le_linux_Nightly/15/tapResults/

hzongaro commented 1 year ago

Both the results that are mentioned in the previous comment use versions of OMR prior to eclipse/omr#7057's being merged, so I believe they're expected failures.

Jimmy @IBMJimmyk, I believe this issue can be closed now. Do you agree?

IBMJimmyk commented 1 year ago

Yeah. The recently merged fix should address the issues seen so far.

hzongaro commented 1 year ago

Fixed under OMR pull request eclipse/omr#7057