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.29k stars 722 forks source link

crash vmState=0x0005ffff #18871

Closed pshipton closed 10 months ago

pshipton commented 10 months ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_extended.system_ppc64_aix_Nightly_testList_1/715 SharedClasses.SCM23.MultiCL_1 -Xcompressedrefs -Xjit -Xgcpolicy:gencon

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk8_j9_extended.system_ppc64_aix_Nightly_testList_1/715/system_test_output.tar.gz

03:01:25  MCL1 stderr Type=Unhandled trap vmState=0x0005ffff
03:01:25  MCL1 stderr J9Generic_Signal_Number=00000108 Signal_Number=00000005 Error_Value=00000000 Signal_Code=00000009
03:01:25  MCL1 stderr Handler1=09001000A0C65B48 Handler2=09001000A0A4FB10
03:01:25  MCL1 stderr R0=FFFFFFFFFFFFFFFF R1=0000010021606130 R2=FFFFFFFFFFFFFFFF R3=0000000000000000
03:01:25  MCL1 stderr R4=FFFFFFFFFFFFFFFF R5=FFFFFFFFFFFFFFFF R6=FFFFFFFFFFFFFFFF R7=FFFFFFFFFFFFFFFF
03:01:25  MCL1 stderr R8=FFFFFFFFFFFFFFFF R9=FFFFFFFFFFFFFFFF R10=FFFFFFFFFFFFFFFF R11=FFFFFFFFFFFFFFFF
03:01:25  MCL1 stderr R12=FFFFFFFFFFFFFFFF R13=0000010021610800 R14=0000000000000000 R15=0000000000000000
03:01:25  MCL1 stderr R16=0A00010000DB4B3E R17=0000000000000686 R18=0A00010000DB44B8 R19=0A00010000DB4A28
03:01:25  MCL1 stderr R20=090000000F972080 R21=0000010021608A78 R22=08001000A0088C64 R23=0A000100012EE390
03:01:25  MCL1 stderr R24=08001000A0005058 R25=0000000000000008 R26=00000100224D1550 R27=00000000305F9D00
03:01:25  MCL1 stderr R28=0000000000000005 R29=0000000000000005 R30=0000000000000000 R31=0000000000000304
03:01:25  MCL1 stderr IAR=0900000000538034 LR=FFFFFFFFFFFFFFFF MSR=A00000000000D032 CTR=FFFFFFFF000C2200
03:01:25  MCL1 stderr CR=00000000FFFFFFFF FPSCR=8202000000000000 XER=FFFFFFFF82020000
03:01:25  MCL1 stderr FPR0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR1 c3e0000000000000 (f: 0.000000, d: -9.223372e+18)
03:01:25  MCL1 stderr FPR2 41cdcd6500000000 (f: 0.000000, d: 1.000000e+09)
03:01:25  MCL1 stderr FPR3 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR4 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR5 c3e0000000000000 (f: 0.000000, d: -9.223372e+18)
03:01:25  MCL1 stderr FPR6 404c000000000000 (f: 0.000000, d: 5.600000e+01)
03:01:25  MCL1 stderr FPR7 412e848000000000 (f: 0.000000, d: 1.000000e+06)
03:01:25  MCL1 stderr FPR8 4000000000000000 (f: 0.000000, d: 2.000000e+00)
03:01:25  MCL1 stderr FPR9 4530000000000000 (f: 0.000000, d: 1.934281e+25)
03:01:25  MCL1 stderr FPR10 412e848000000000 (f: 0.000000, d: 1.000000e+06)
03:01:25  MCL1 stderr FPR11 43300000000f4240 (f: 1000000.000000, d: 4.503600e+15)
03:01:25  MCL1 stderr FPR12 4530000000000000 (f: 0.000000, d: 1.934281e+25)
03:01:25  MCL1 stderr FPR13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR16 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR17 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR18 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR19 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR20 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR21 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR22 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR23 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR24 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR25 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR26 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR27 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR28 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR29 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR30 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr FPR31 0000000000000000 (f: 0.000000, d: 0.000000e+00)
03:01:25  MCL1 stderr Module=/usr/lib/libpthreads.a
03:01:25  MCL1 stderr Module_base_address=090000000051C000
03:01:25  MCL1 stderr 
03:01:25  MCL1 stderr Method_being_compiled=net/openj9/sc/classes/Test_Init_6957.selectDigit()C
03:01:25  MCL1 stderr Target=2_90_20240201_730 (AIX 7.1)
03:01:25  MCL1 stderr CPU=ppc64 (16 logical CPUs) (0x780000000 RAM)
03:01:25  MCL1 stderr ----------- Stack Backtrace -----------
03:01:25  MCL1 stderr _p_raise+0x44 (0x0900000000537888 [libpthreads.a+0x1b888])
03:01:25  MCL1 stderr fatal_assertion__2TRFPCciN21e+0x6c (0x090000000E4975F0 [libj9jit29.so+0xd5f0])
03:01:25  MCL1 stderr offsetInSharedCacheFromPointer__16TR_J9SharedCacheFPv+0xb4 (0x090000000F869738 [libj9jit29.so+0x13df738])
03:01:25  MCL1 stderr rememberClass__16TR_J9SharedCacheFP7J9ClassPPC24AOTCacheClassChainRecordb+0x5ac (0x090000000F86CDB0 [libj9jit29.so+0x13e2db0])
03:01:25  MCL1 stderr preCompilationTasks__Q2_2TR28CompilationInfoPerThreadBaseFP10J9VMThreadP21TR_MethodToBeCompiledP8J9MethodPPCvR9TR_MemoryRbT6P20TR_RelocationRuntime+0x734 (0x090000000F6A5DB8 [libj9jit29.so+0x121bdb8])
03:01:25  MCL1 stderr compile__Q2_2TR28CompilationInfoPerThreadBaseFP10J9VMThreadP21TR_MethodToBeCompiledRQ2_2J917J9SegmentProvider+0x248 (0x090000000F6A0ECC [libj9jit29.so+0x1216ecc])
03:01:25  MCL1 stderr processEntry__Q2_2TR24CompilationInfoPerThreadFR21TR_MethodToBeCompiledRQ2_2J917J9SegmentProvider+0x368 (0x090000000F69F26C [libj9jit29.so+0x121526c])
03:01:25  MCL1 stderr processEntries__Q2_2TR24CompilationInfoPerThreadFv+0x1d8 (0x090000000F736B5C [libj9jit29.so+0x12acb5c])
03:01:25  MCL1 stderr protectedCompilationThreadProc__FP13J9PortLibraryPQ2_2TR24CompilationInfoPerThread+0x41c (0x090000000F735FA0 [libj9jit29.so+0x12abfa0])
03:01:25  MCL1 stderr omrsig_protect+0x4a0 (0x0900000003720B04 [libj9prt29.so+0x5ab04])
03:01:25  MCL1 stderr compilationThreadProc__FPv+0x1a4 (0x090000000F7358A8 [libj9jit29.so+0x12ab8a8])
03:01:25  MCL1 stderr thread_wrapper+0x544 (0x09000000005B1AE8 [libj9thr29.so+0x4ae8])
03:01:25  MCL1 stderr _pthread_body+0xf0 (0x090000000051FE14 [libpthreads.a+0x3e14])

Changes from previous build https://github.com/eclipse-openj9/openj9/compare/40a4d38b2e1f...ac66d8cf7c5 https://github.com/eclipse-openj9/openj9-omr/compare/a74c0935b40f...cbf3bf87cba

mpirvu commented 10 months ago

The assert says

03:01:25  MCL1 stderr Assertion failed at /home/jenkins/workspace/Build_JDK8_ppc64_aix_Nightly/openj9/runtime/compiler/env/J9SharedCache.cpp:703: false
03:01:25  MCL1 stderr   Shared cache pointer a000100012ee390 out of bounds
mpirvu commented 10 months ago

We have a good intuition for what went wrong and @cjjdespres will put a fix soon.

mpirvu commented 10 months ago

Fix available in this PR: https://github.com/eclipse-openj9/openj9/pull/18872

pshipton commented 10 months ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_extended.system_ppc64le_linux_Nightly_testList_1/611 https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_extended.system_aarch64_linux_Nightly_testList_1/154 https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.openjdk_s390x_linux_Nightly_testList_1/151

mpirvu commented 10 months ago

Should be fixed by #18872 which was merged.