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

testDDRExt_General_0 Mac crash vmState=0x0005ff04 #12836

Open pshipton opened 3 years ago

pshipton commented 3 years ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_extended.functional_x86-64_mac_Nightly_testList_0/14/ - osx1011-x86-2 testDDRExt_General_0

https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk8_j9_extended.functional_x86-64_mac_Nightly_testList_0/14/functional_test_output.tar.gz

TCK.run.tests.ddrext:
     [echo] Running the DDR Extension Test
     [java] openjdk version "1.8.0_302-internal"
     [java] OpenJDK Runtime Environment (build 1.8.0_302-internal-jenkins_2021_06_02_22_37-b00)
     [java] Eclipse OpenJ9 VM (build master-d5c68ca0c2c, JRE 1.8.0 Mac OS X amd64-64-Bit Compressed References 20210602_14 (JIT enabled, AOT enabled)
     [java] OpenJ9   - d5c68ca0c2c
     [java] OMR      - 76bff2099ee
     [java] JCL      - 51b5281513e based on jdk8u302-b04)
     [java] 
     [java] Unhandled exception
     [java] Type=Segmentation error vmState=0x0005ff04
     [java] J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000000
     [java] Handler1=0000000006436CD0 Handler2=0000000005B2C990
     [java] RDI=0000000007AABD92 RSI=0000700000257614 RAX=0000000000000000 RBX=0000000007AABD92
     [java] RCX=0000000000000000 RDX=00007FC8E9F00720 R8=00000000FFFFFFE7 R9=0000000000000019
     [java] R10=00007FC8E9F00720 R11=B000000000000000 R12=000000002799F001 R13=00000000279A3C40
     [java] R14=0000000000000000 R15=0000000000000000
     [java] RIP=00007FFF874637D4 GS=0000 FS=0000 RSP=00007000002575E0
     [java] RFlags=0000000000010202 CS=002B RBP=0000700000257600 ERR=06AC9C9700000000
     [java] TRAPNO=000000000000000D CPU=9C97000000000000 FAULTVADDR=0000000006AC9C97
     [java] XMM0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
     [java] XMM1 0000000027ad7ca0 (f: 665681024.000000, d: 3.288901e-315)
     [java] XMM2 0000000027ad8720 (f: 665683712.000000, d: 3.288915e-315)
     [java] XMM3 0000000027ad8720 (f: 665683712.000000, d: 3.288915e-315)
     [java] XMM4 0000000027ad8920 (f: 665684224.000000, d: 3.288917e-315)
     [java] XMM5 0000000000000000 (f: 0.000000, d: 0.000000e+00)
     [java] XMM6 0000000000000000 (f: 0.000000, d: 0.000000e+00)
     [java] XMM7 0000000000000000 (f: 0.000000, d: 0.000000e+00)
     [java] XMM8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
     [java] XMM9 0000000000000000 (f: 0.000000, d: 0.000000e+00)
     [java] XMM10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
     [java] XMM11 0000000000000000 (f: 0.000000, d: 0.000000e+00)
     [java] XMM12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
     [java] XMM13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
     [java] XMM14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
     [java] XMM15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
     [java] Module=/usr/lib/system/libsystem_c.dylib
     [java] Module_base_address=00007FFF87404000 Symbol=__findenv
     [java] Symbol_address=00007FFF87463780
     [java] 
     [java] Method_being_compiled=java/util/zip/InflaterInputStream.read([BII)I
     [java] Target=2_90_20210602_14 (Mac OS X 10.11.6)
     [java] CPU=amd64 (4 logical CPUs) (0x200000000 RAM)
     [java] ----------- Stack Backtrace -----------
     [java] ---------------------------------------
fjeremic commented 3 years ago

Results file is empty in that it doesn't contain the javacore, jitdump, etc.:

fjeremic@Filips-MacBook-Pro temp % tar xvf functional_test_output-f.tar.gz
x ./openjdk-tests/TKG/output_1622698626500/
x ./openjdk-tests/TKG/output_1622698626500/testDDRExt_General_0/
x ./openjdk-tests/TKG/output_1622698626500/testDDRExt_General_0/DDREXT.J9CORE.DMP
x ./openjdk-tests/TKG/output_1622698626500/TestTargetResult.tap
pshipton commented 3 years ago

@llxia fyi the missing diagnostics.

llxia commented 3 years ago

From the output, core files are written to /Users/jenkins/workspace/Test_openjdk8_j9_extended.functional_x86-64_mac_Nightly_testList_0/jvmtest/functional/DDR_Test. Talked with @renfeiw , the test is not running from TKG REPORTDIR. @OscarQQ could you please update the test to run in REPORTDIR? Thanks

llxia commented 3 years ago

Also, I cannot reproduce Unhandled exception. Tried x100 on osx1011-x86-2 https://openj9-jenkins.osuosl.org/job/Grinder/53/

llxia commented 3 years ago

Thanks to @OscarQQ #12882 is delivered. The DDR tests will run from the expected folder so we can collect the output.

llxia commented 3 years ago

Tried x300 on osx1011-x86-2 and all passed https://openj9-jenkins.osuosl.org/job/Grinder/73/