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

cmdLineTester_decompilationTests_1 decomp002 ASSERTION FAILED at decomp.cpp:1261: ((numberOfFrames >= newNumberOfFrames)) #16640

Open ehrenjulzert opened 1 year ago

ehrenjulzert commented 1 year ago

Failure link

https://hyc-runtimes-jenkins.swg-devops.com/view/Test_grinder/job/Grinder/30809/

openjdk version "20-internal" 2023-03-21
OpenJDK Runtime Environment (build 20-internal-adhoc.jenkins.BuildJDKnexts390xlinuxvtstandardPersonal)
Eclipse OpenJ9 VM (build HEAD-100fa38fbcd, JRE 20 Linux s390x-64-Bit Compressed References 20230120_11 (JIT enabled, AOT enabled)
OpenJ9   - 100fa38fbcd
OMR      - 333650df1c1
JCL      - ec08bb6a687 based on jdk-20+25)

Rerun in Grinder

Optional info

Failure output (captured from console output)

Artifacts: https://na.artifactory.swg-devops.com/artifactory/sys-rt-generic-local/hyc-runtimes-jenkins.swg-devops.com/Grinder/30809/functional_test_output.tar.gz

Testing: decomp002
Test start time: 2023/01/31 13:05:43 Pacific Standard Time
Running command: "/home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/bin/java"  -Xcompressedrefs -Xgcpolicy:gencon -Xjit:enableOSR,count=0  -Xdump -Xgcthreads1  -Xdump:system:events=abort  -agentlib:jvmtitest=test:decomp002 -cp "/home/jenkins/workspace/Grinder/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/jvmtitests/jvmtitest.jar" com.ibm.jvmti.tests.util.TestRunner
Time spent starting: 7 milliseconds
Time spent executing: 30341 milliseconds
Test result: FAILED
Output from test:
 [OUT] *** Testing [1/1]:   testStepping
 [OUT]  Step 10000000 times
 [ERR] 21:06:08.102 0x24c400j9codertvm(j9ji.104    *   ** ASSERTION FAILED ** at /home/jenkins/workspace/Build_JDKnext_s390x_linux_vt_standard_Personal/openj9/runtime/codert_vm/decomp.cpp:1261: ((numberOfFrames >= newNumberOfFrames))
 [ERR] 21:06:08.102 0x263f00j9codertvm(j9ji.104    *   ** ASSERTION FAILED ** at /home/jenkins/workspace/Build_JDKnext_s390x_linux_vt_standard_Personal/openj9/runtime/codert_vm/decomp.cpp:1261: ((numberOfFrames >= newNumberOfFrames))
 [ERR] 21:06:08.102 0x266500j9codertvm(j9ji.104    *   ** ASSERTION FAILED ** at /home/jenkins/workspace/Build_JDKnext_s390x_linux_vt_standard_Personal/openj9/runtime/codert_vm/decomp.cpp:1261: ((numberOfFrames >= newNumberOfFrames))
 [ERR] 21:06:08.102 0x253600j9codertvm(j9ji.104    *   ** ASSERTION FAILED ** at /home/jenkins/workspace/Build_JDKnext_s390x_linux_vt_standard_Personal/openj9/runtime/codert_vm/decomp.cpp:1261: ((numberOfFrames >= newNumberOfFrames))
 [ERR] JVMDUMP039I Processing dump event "traceassert", detail "" at 2023/01/31 13:06:08 - please wait.
 [ERR] JVMDUMP039I Processing dump event "traceassert", detail "" at 2023/01/31 13:06:08 - please wait.
 [ERR] JVMDUMP039I Processing dump event "traceassert", detail "" at 2023/01/31 13:06:08 - please wait.
 [ERR] JVMDUMP039I Processing dump event "traceassert", detail "" at 2023/01/31 13:06:08 - please wait.
 [ERR] Unhandled exception
 [ERR] Type=Segmentation error vmState=0x00000000
 [ERR] J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=015bbe58 Signal_Code=00000001
 [ERR] Handler1=000003FFB88C6698 Handler2=000003FFB87B1CF0 InaccessibleAddress=000003FFC2C35000
 [ERR] gpr0=0000000000000002 gpr1=000003FFC2C35DBB gpr2=000003FFB42DAE80 gpr3=000003FFB4226310
 [ERR] gpr4=0000000000000028 gpr5=000003FFB42DAE98 gpr6=000003FFB42DAE80 gpr7=0000000000000000
 [ERR] gpr8=000003FFB4226310 gpr9=000003FFB42DAF10 gpr10=000003FFAD9D4778 gpr11=000003FFB4226310
 [ERR] gpr12=00000000AC841358 gpr13=000003FFAD9D58B0 gpr14=000003FFAD6E2D0E gpr15=000003FFB8444020
 [ERR] psw=000003FFAD6F3AA2 mask=0705200180000000 fpc=0008ff00 bea=000003FFAD6F3A28
 [ERR] fpr0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr1 48994900a379615b (f: 2742640896.000000, d: 5.506622e+41)
 [ERR] fpr2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr3 3b0216b855555555 (f: 1431655808.000000, d: 1.870333e-24)
 [ERR] fpr4 4899490000000000 (f: 0.000000, d: 5.506619e+41)
 [ERR] fpr5 3e92493d00000000 (f: 0.000000, d: 2.724839e-07)
 [ERR] fpr6 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr7 3e3a334c00000000 (f: 0.000000, d: 6.100251e-09)
 [ERR] fpr8 00000000ac8413f8 (f: 2894337024.000000, d: 1.429992e-314)
 [ERR] fpr9 0000000000162c70 (f: 1453168.000000, d: 7.179604e-318)
 [ERR] fpr10 000003ffb4013830 (f: 3019978752.000000, d: 2.172294e-311)
 [ERR] fpr11 0000000000838d40 (f: 8621376.000000, d: 4.259526e-317)
 [ERR] fpr12 0005f395b1dd8c22 (f: 2984086528.000000, d: 8.276583e-309)
 [ERR] fpr13 000003ff8c396d68 (f: 2352573696.000000, d: 2.171964e-311)
 [ERR] fpr14 0000000000162c78 (f: 1453176.000000, d: 7.179643e-318)
 [ERR] fpr15 000003ff8c340098 (f: 2352218368.000000, d: 2.171964e-311)
 [ERR] Module=/home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so
 [ERR] Module_base_address=000003FFACB00000
 [ERR] Target=2_90_20230120_11 (Linux 3.10.0-1160.83.1.el7.s390x)
 [ERR] CPU=s390x (4 logical CPUs) (0x1ec5df000 RAM)
 [ERR] ----------- Stack Backtrace -----------
 [ERR] JVMDUMP032I JVM requested System dump using '/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_16751991003499/cmdLineTester_decompilationTests_1/core.20230131.130608.26593.0001.dmp' in response to an event
 [ERR] pool_removeElement+0xa2 (0x000003FFAD6F3AA2 [libj9jit29.so+0xbf3aa2])
 [ERR] c_jitDecompileAtExceptionCatch+0x206 (0x000003FFAD6E2D0E [libj9jit29.so+0xbe2d0e])
 [ERR] jitDecompileAtExceptionCatch+0x24 (0x000003FFAD6EE8F4 [libj9jit29.so+0xbee8f4])
 [ERR] ---------------------------------------
 [ERR] JVMDUMP039I Processing dump event "gpf", detail "" at 2023/01/31 13:06:08 - please wait.
 [ERR] JVMPORT030W /proc/sys/kernel/core_pattern setting "|/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e %P %I %h" specifies that the core dump is to be piped to an external program.  Attempting to rename either core or core.26646.  Review the manual for the external program to find where the core dump is written and ensure the program does not truncate it.
 [ERR] 
 [ERR] JVMDUMP010I System dump written to /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_16751991003499/cmdLineTester_decompilationTests_1/core.20230131.130608.26593.0001.dmp
 [ERR] JVMDUMP032I JVM requested System dump using '/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_16751991003499/cmdLineTester_decompilationTests_1/core.20230131.130608.26593.0005.dmp' in response to an event
 [ERR] JVMDUMP032I JVM requested Java dump using '/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_16751991003499/cmdLineTester_decompilationTests_1/javacore.20230131.130608.26593.0006.txt' in response to an event
 [ERR] JVMDUMP010I Java dump written to /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_16751991003499/cmdLineTester_decompilationTests_1/javacore.20230131.130608.26593.0006.txt
 [ERR] JVMPORT030W /proc/sys/kernel/core_pattern setting "|/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e %P %I %h" specifies that the core dump is to be piped to an external program.  Attempting to rename either core or core.26653.  Review the manual for the external program to find where the core dump is written and ensure the program does not truncate it.
 [ERR] 
 [ERR] JVMDUMP010I System dump written to /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_16751991003499/cmdLineTester_decompilationTests_1/core.20230131.130608.26593.0005.dmp
 [ERR] Unhandled exception
 [ERR] Type=Segmentation error vmState=0x00000000
 [ERR] J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=000000a9 Signal_Code=00000001
 [ERR] Handler1=000003FFB88C6698 Handler2=000003FFB87B1CF0 InaccessibleAddress=B12345671046D000
 [ERR] gpr0=0000000000000002 gpr1=000003FF00000000 gpr2=000003FFB4305FD0 gpr3=B12345671046DBBE
 [ERR] gpr4=000003FFAD6E2F7A gpr5=000003FFAD750974 gpr6=FFFFFFFFFFFFFFFE gpr7=0000000000000000
 [ERR] gpr8=000000000026B100 gpr9=000003FFB412DC80 gpr10=000003FFB4305FD0 gpr11=B12345671046DBBE
 [ERR] gpr12=00000000319C1598 gpr13=000003FFAD9D58B0 gpr14=000003FFAD6E2D30 gpr15=000003FF8A8FE0C8
 [ERR] psw=000003FFAD6E2D02 mask=0705100180000000 fpc=0008ff00 bea=000003FFAD6E2D34
 [ERR] fpr0 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr1 4896d5e000000000 (f: 0.000000, d: 4.973120e+41)
 [ERR] fpr2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr3 3a88aa99000a0000 (f: 655360.000000, d: 9.962678e-27)
 [ERR] fpr4 4896d5e0c0000000 (f: 3221225472.000000, d: 4.973123e+41)
 [ERR] fpr5 3e92492c00000000 (f: 0.000000, d: 2.724801e-07)
 [ERR] fpr6 0000000000000000 (f: 0.000000, d: 0.000000e+00)
 [ERR] fpr7 3e3a333000000000 (f: 0.000000, d: 6.100151e-09)
 [ERR] fpr8 00000000319e08a0 (f: 832440448.000000, d: 4.112802e-315)
 [ERR] fpr9 0000000000162c70 (f: 1453168.000000, d: 7.179604e-318)
 [ERR] fpr10 000003ffb4013830 (f: 3019978752.000000, d: 2.172294e-311)
 [ERR] fpr11 0000000000838d40 (f: 8621376.000000, d: 4.259526e-317)
 [ERR] fpr12 0005f395b1dd8c22 (f: 2984086528.000000, d: 8.276583e-309)
 [ERR] fpr13 000003ff8c396d68 (f: 2352573696.000000, d: 2.171964e-311)
 [ERR] fpr14 0000000000162c78 (f: 1453176.000000, d: 7.179643e-318)
 [ERR] fpr15 000003ff8c340098 (f: 2352218368.000000, d: 2.171964e-311)
 [ERR] Module=/home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/lib/default/libj9jit29.so
 [ERR] Module_base_address=000003FFACB00000
 [ERR] Target=2_90_20230120_11 (Linux 3.10.0-1160.83.1.el7.s390x)
 [ERR] CPU=s390x (4 logical CPUs) (0x1ec5df000 RAM)
 [ERR] ----------- Stack Backtrace -----------
 [ERR] c_jitDecompileAtExceptionCatch+0x1fa (0x000003FFAD6E2D02 [libj9jit29.so+0xbe2d02])
 [ERR] jitDecompileAtExceptionCatch+0x24 (0x000003FFAD6EE8F4 [libj9jit29.so+0xbee8f4])
 [ERR] ---------------------------------------
 [ERR] JVMDUMP039I Processing dump event "gpf", detail "" at 2023/01/31 13:06:13 - please wait.
 [ERR] JVMDUMP032I JVM requested Snap dump using '/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_16751991003499/cmdLineTester_decompilationTests_1/Snap.20230131.130608.26593.0007.trc' in response to an event
 [ERR] JVMDUMP010I Snap dump written to /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_16751991003499/cmdLineTester_decompilationTests_1/Snap.20230131.130608.26593.0007.trc
 [ERR] JVMDUMP013I Processed dump event "traceassert", detail "".
>> Success condition was not found: [Return code: 0]
hangshao0 commented 1 year ago

This failure was originally found in https://github.com/eclipse-openj9/openj9/pull/16411

If the failure is only reproducible with the pending change #16411, this can be closed, as the existing OpenJ9 code does not have this issue.

ehrenjulzert commented 1 year ago

The test fails intermittently on existing OpenJ9 code, I was just mentioning the PR to track where the discussion originated.

ehrenjulzert commented 1 year ago

It looks like cmdLineTester_decompilationTests_0 also fails intermittently on decomp002 on the same line with the same assertion error (link to test failure)

pshipton commented 1 year ago

I don't think this is a Java 21 issue, moving it forward for now.