Closed pshipton closed 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
//// 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])
@zl-wang fyi
@IBMJimmyk please take a look ... looks like unexpected shift amount.
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
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
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.
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
.
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
@a7ehuo it will assert at binary encoding time. right-shift 0 is equal to rotate-left 32 (for 32bit data).
if 0 is allowed in language, we should take out the assertion. on the other hand, the IL should be simplified, isn't it?
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);
...
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?
@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.
Okay, I can do that.
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
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
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.
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
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
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?
Yeah. The recently merged fix should address the issues seen so far.
Fixed under OMR pull request eclipse/omr#7057
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