Repository navigation
Closed
Labels
blockercomp:jitsegfaultIssues that describe segfaults / JVM crashesIssues that describe segfaults / JVM crashestest failure
Description
Failure link
From an internal build job/Test_openjdk17_j9_extended.openjdk_x86-64_linux/29/ (cent7x64-1-7):
openjdk version "17.0.1" 2021-10-19
IBM Semeru Runtime Certified Edition 17.0.1+12 (build 17.0.1+12)
Eclipse OpenJ9 VM 17.0.1+12 (build master-0f828acf4, JRE 17 Linux amd64-64-Bit Compressed References 20211120_41 (JIT enabled, AOT enabled)
OpenJ9 - 0f828acf4
OMR - 83214375c
JCL - df273956de9 based on jdk-17.0.1+12)
Rerun in Grinder - Change TARGET to run only the failed test targets.
Optional info
Failure output (captured from console output)
[2021-11-20T17:30:47.586Z] Running test jdk_nio_0 ...
[2021-11-20T17:30:47.586Z] ===============================================
[2021-11-20T17:30:47.586Z] jdk_nio_0 Start Time: Sat Nov 20 09:30:45 2021 Epoch Time (ms): 1637429445080
[2021-11-20T17:30:47.586Z] "/home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:destroyAll; "/home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/openjdkbinary/j2sdk-image/bin/java" -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done";
[2021-11-20T17:30:47.586Z] JVMSHRC005I No shared class caches available
[2021-11-20T17:30:47.586Z] JVMSHRC005I No shared class caches available
[2021-11-20T17:30:47.586Z] cache cleanup done
[2021-11-20T17:30:47.586Z] variation: Mode150
[2021-11-20T17:30:47.586Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2021-11-20T17:39:41.532Z] --------------------------------------------------
[2021-11-20T17:39:41.532Z] TEST: sun/nio/cs/FindDecoderBugs.java
[2021-11-20T17:39:41.536Z] STDERR:
[2021-11-20T17:39:41.536Z] java.nio.charset.CoderMalfunctionError: java.lang.IllegalArgumentException: newPosition > limit: (1 > 0)
[2021-11-20T17:39:41.536Z] at java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:587)
[2021-11-20T17:39:41.536Z] at FindDecoderBugs$CharsetTester.recode(FindDecoderBugs.java:225)
[2021-11-20T17:39:41.536Z] at FindDecoderBugs$CharsetTester.recode2(FindDecoderBugs.java:256)
[2021-11-20T17:39:41.536Z] at FindDecoderBugs$CharsetTester.test(FindDecoderBugs.java:279)
[2021-11-20T17:39:41.536Z] at FindDecoderBugs$CharsetTester.testExhaustively(FindDecoderBugs.java:296)
[2021-11-20T17:39:41.536Z] at FindDecoderBugs$CharsetTester.testExhaustively(FindDecoderBugs.java:298)
[2021-11-20T17:39:41.536Z] at FindDecoderBugs$CharsetTester.testPrefix(FindDecoderBugs.java:319)
[2021-11-20T17:39:41.543Z] at FindDecoderBugs.testCharset(FindDecoderBugs.java:399)
[2021-11-20T17:39:41.543Z] at FindDecoderBugs.realMain(FindDecoderBugs.java:420)
[2021-11-20T17:39:41.543Z] at FindDecoderBugs.main(FindDecoderBugs.java:446)
[2021-11-20T17:39:41.543Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-20T17:39:41.543Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-20T17:39:41.543Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-20T17:39:41.543Z] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-20T17:39:41.543Z] at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
[2021-11-20T17:39:41.543Z] at java.base/java.lang.Thread.run(Thread.java:884)
[2021-11-20T17:39:41.543Z] Caused by: java.lang.IllegalArgumentException: newPosition > limit: (1 > 0)
[2021-11-20T17:39:41.543Z] at java.base/java.nio.Buffer.createPositionException(Buffer.java:341)
[2021-11-20T17:39:41.618Z] at java.base/java.nio.Buffer.position(Buffer.java:316)
[2021-11-20T17:39:41.618Z] at java.base/java.nio.CharBuffer.position(CharBuffer.java:1516)
[2021-11-20T17:39:41.618Z] at java.base/sun.nio.cs.ISO_8859_1$Decoder.decodeArrayLoop(ISO_8859_1.java:93)
[2021-11-20T17:39:41.618Z] at java.base/sun.nio.cs.ISO_8859_1$Decoder.decodeLoop(ISO_8859_1.java:122)
[2021-11-20T17:39:41.618Z] at java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:585)
[2021-11-20T17:39:41.618Z] ... 15 more
[2021-11-20T17:39:41.641Z] java.lang.AssertionError: Some tests failed
[2021-11-20T17:39:41.641Z] at FindDecoderBugs.main(FindDecoderBugs.java:448)
[2021-11-20T17:39:41.641Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-20T17:39:41.641Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2021-11-20T17:39:41.641Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2021-11-20T17:39:41.641Z] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2021-11-20T17:39:41.641Z] at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
[2021-11-20T17:39:41.641Z] at java.base/java.lang.Thread.run(Thread.java:884)
[2021-11-20T17:39:41.641Z]
[2021-11-20T17:39:41.641Z] JavaTest Message: Test threw exception: java.lang.AssertionError
[2021-11-20T17:39:41.644Z] -----
[2021-11-20T17:39:41.644Z] Unexpected exception: ISO-8859-1 CoderMalfunctionError "??"[1/2] => null "u????"[1/1]
[2021-11-20T17:39:41.644Z] failures=1
[2021-11-20T17:39:41.644Z] -----
[2021-11-20T17:39:41.644Z] Unexpected exception: ISO-8859-1 CoderMalfunctionError "??"[2/2] => null "u???? u????"[2/19]
[2021-11-20T17:39:41.644Z] failures=9999
[2021-11-20T17:39:41.644Z]
[2021-11-20T17:39:41.644Z] Passed = 523056008, failed = 10000
[2021-11-20T17:39:41.644Z]
[2021-11-20T17:39:41.644Z]
[2021-11-20T17:39:41.644Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
[2021-11-20T17:39:41.644Z] --------------------------------------------------
[2021-11-20T17:40:09.687Z] Test results: passed: 436; failed: 1
[2021-11-20T17:40:16.257Z] Report written to /home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/jvmtest/openjdk/report/html/report.html
[2021-11-20T17:40:16.257Z] Results written to /home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_16374238157347/jdk_nio_0/work
[2021-11-20T17:40:16.257Z] Error: Some tests failed or other problems occurred.
[2021-11-20T17:40:16.257Z]
[2021-11-20T17:40:16.257Z] jdk_nio_0_FAILED
Another failure job/Test_openjdk17_j9_extended.openjdk_x86-64_linux/29/ followed by a segmentation error.
[2021-11-20T17:48:36.867Z] Unhandled exception
[2021-11-20T17:48:36.867Z] Type=Segmentation error vmState=0x00000000
[2021-11-20T17:48:36.867Z] J9Generic_Signal_Number=00000018 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001
[2021-11-20T17:48:36.867Z] Handler1=00007F43856754D0 Handler2=00007F43853D3BA0 InaccessibleAddress=00000000D07402D8
[2021-11-20T17:48:36.867Z] RDI=00007F42D10DC198 RSI=00007F42C035E200 RAX=00000000000001D8 RBX=00007F43040B6630
[2021-11-20T17:48:36.867Z] RCX=00007F4370610198 RDX=00007F43706100A0 R8=0000000000000000 R9=00007F4387207B78
[2021-11-20T17:48:36.867Z] R10=00007F437600EDC0 R11=00007F4387241B90 R12=00007F42D10DC180 R13=00007F42D10DBF20
[2021-11-20T17:48:36.867Z] R14=00007F42D0647B48 R15=00007F42D0423782
[2021-11-20T17:48:36.867Z] RIP=00007F43856EF074 GS=0000 FS=0000 RSP=00007F43040B62C0
[2021-11-20T17:48:36.867Z] EFlags=0000000000010246 CS=0033 RBP=00000000D0740100 ERR=0000000000000004
[2021-11-20T17:48:36.867Z] TRAPNO=000000000000000E OLDMASK=0000000000000000 CR2=00000000D07402D8
[2021-11-20T17:48:36.867Z] xmm0 0000000000000005 (f: 5.000000, d: 2.470328e-323)
[2021-11-20T17:48:36.867Z] xmm1 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2021-11-20T17:48:36.867Z] xmm2 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2021-11-20T17:48:36.867Z] xmm3 000000003a11d8da (f: 974248128.000000, d: 4.813425e-315)
[2021-11-20T17:48:36.867Z] xmm4 000000003e1d4485 (f: 1042105472.000000, d: 5.148685e-315)
[2021-11-20T17:48:36.867Z] xmm5 000000003963f3ba (f: 962851776.000000, d: 4.757120e-315)
[2021-11-20T17:48:36.867Z] xmm6 000000003eb1a2fd (f: 1051828992.000000, d: 5.196726e-315)
[2021-11-20T17:48:36.867Z] xmm7 0000000042b7f1ee (f: 1119351296.000000, d: 5.530330e-315)
[2021-11-20T17:48:36.867Z] xmm8 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2021-11-20T17:48:36.867Z] xmm9 000000003e17cee7 (f: 1041747712.000000, d: 5.146917e-315)
[2021-11-20T17:48:36.867Z] xmm10 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2021-11-20T17:48:36.867Z] xmm11 0000ff0000000000 (f: 0.000000, d: 1.385239e-309)
[2021-11-20T17:48:36.867Z] xmm12 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2021-11-20T17:48:36.868Z] xmm13 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2021-11-20T17:48:36.868Z] xmm14 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2021-11-20T17:48:36.868Z] xmm15 0000000000000000 (f: 0.000000, d: 0.000000e+00)
[2021-11-20T17:48:36.868Z] Module=/home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/openjdkbinary/j2sdk-image/lib/default/libj9vm29.so
[2021-11-20T17:48:36.868Z] Module_base_address=00007F4385635000
[2021-11-20T17:48:36.868Z] Target=2_90_20211120_41 (Linux 3.10.0-1160.45.1.el7.x86_64)
[2021-11-20T17:48:36.868Z] CPU=amd64 (4 logical CPUs) (0x1e8d0d000 RAM)
[2021-11-20T17:48:36.868Z] ----------- Stack Backtrace -----------
[2021-11-20T17:48:36.868Z] (0x00007F43856EF074 [libj9vm29.so+0xba074])
[2021-11-20T17:48:36.868Z] (0x00007F43856E8C25 [libj9vm29.so+0xb3c25])
[2021-11-20T17:48:36.868Z] (0x00007F438576A952 [libj9vm29.so+0x135952])
[2021-11-20T17:48:36.868Z] ---------------------------------------
[2021-11-20T17:48:36.868Z] JVMDUMP039I Processing dump event "gpf", detail "" at 2021/11/20 09:48:34 - please wait.
[2021-11-20T17:48:36.868Z] JVMDUMP032I JVM requested System dump using '/home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_16374238157347/jdk_nio_1/work/scratch/1/core.20211120.094834.22784.0001.dmp' in response to an event
[2021-11-20T17:48:36.868Z] JVMDUMP010I System dump written to /home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_16374238157347/jdk_nio_1/work/scratch/1/core.20211120.094834.22784.0001.dmp
[2021-11-20T17:48:36.868Z] JVMDUMP032I JVM requested Java dump using '/home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_16374238157347/jdk_nio_1/work/scratch/1/javacore.20211120.094834.22784.0002.txt' in response to an event
[2021-11-20T17:48:36.868Z]
[2021-11-20T17:48:36.868Z]
[2021-11-20T17:48:36.868Z] *** Invalid JIT return address 00007F43706100A0 in 00007F43040AC6B0
[2021-11-20T17:48:36.868Z]
[2021-11-20T17:48:36.868Z] JVMDUMP010I Java dump written to /home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_16374238157347/jdk_nio_1/work/scratch/1/javacore.20211120.094834.22784.0002.txt
[2021-11-20T17:48:36.868Z] JVMDUMP032I JVM requested Snap dump using '/home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_16374238157347/jdk_nio_1/work/scratch/1/Snap.20211120.094834.22784.0003.trc' in response to an event
[2021-11-20T17:48:36.868Z] JVMDUMP010I Snap dump written to /home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_16374238157347/jdk_nio_1/work/scratch/1/Snap.20211120.094834.22784.0003.trc
[2021-11-20T17:48:36.868Z] JVMDUMP032I JVM requested JIT dump using '/home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_16374238157347/jdk_nio_1/work/scratch/1/jitdump.20211120.094834.22784.0004.dmp' in response to an event
[2021-11-20T17:48:36.868Z] JVMDUMP051I JIT dump occurred in 'AgentVMThread' thread 0x00007F42C035E100
[2021-11-20T17:48:36.868Z] JVMDUMP053I JIT dump is recompiling java/lang/Thread.run()V
[2021-11-20T17:48:36.868Z] JVMDUMP010I JIT dump written to /home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_16374238157347/jdk_nio_1/work/scratch/1/jitdump.20211120.094834.22784.0004.dmp
[2021-11-20T17:48:36.868Z] JVMDUMP013I Processed dump event "gpf", detail "".
[2021-11-20T17:48:36.868Z]
[2021-11-20T17:48:36.868Z] TEST RESULT: Error. Agent communication error: java.io.EOFException; check console log for any additional details
[2021-11-20T17:48:36.868Z] --------------------------------------------------
[2021-11-20T17:49:32.077Z] Test results: passed: 436; error: 1
[2021-11-20T17:49:38.793Z] Report written to /home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/jvmtest/openjdk/report/html/report.html
[2021-11-20T17:49:38.793Z] Results written to /home/jenkins/workspace/Test_openjdk17_j9_extended.openjdk_x86-64_linux/aqa-tests/TKG/output_16374238157347/jdk_nio_1/work
[2021-11-20T17:49:38.793Z] Error: Some tests failed or other problems occurred.
[2021-11-20T17:49:38.793Z]
[2021-11-20T17:49:38.793Z] jdk_nio_1_FAILED
Edit: 50x grinder at job/Grinder/19666/ failed w/ a different exception:
20:25:03 java.nio.charset.CoderMalfunctionError: java.lang.NullPointerException: Cannot load from byte/boolean array because "ba" is null
20:25:03 at java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:587)
20:25:03 at FindDecoderBugs$CharsetTester.recode(FindDecoderBugs.java:206)
20:25:03 at FindDecoderBugs$CharsetTester.recode2(FindDecoderBugs.java:256)
20:25:03 at FindDecoderBugs.isStateChanger(FindDecoderBugs.java:367)
20:25:03 at FindDecoderBugs.testCharset(FindDecoderBugs.java:403)
20:25:03 at FindDecoderBugs.realMain(FindDecoderBugs.java:420)
20:25:03 at FindDecoderBugs.main(FindDecoderBugs.java:446)
20:25:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:25:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
20:25:03 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:25:03 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
20:25:03 at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
20:25:03 at java.base/java.lang.Thread.run(Thread.java:884)
20:25:03 Caused by: java.lang.NullPointerException: Cannot load from byte/boolean array because "ba" is null
20:25:03 at java.base/java.lang.StringCoding.hasNegatives(StringCoding.java:40)
20:25:03 at java.base/java.lang.String.decodeASCII(String.java:1202)
20:25:03 at java.base/java.lang.Access.decodeASCII(Access.java:375)
20:25:03 at java.base/sun.nio.cs.DoubleByte$Decoder.decodeArrayLoop(DoubleByte.java:173)
20:25:03 at java.base/sun.nio.cs.DoubleByte$Decoder.decodeLoop(DoubleByte.java:233)
20:25:03 at java.base/java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:585)
20:25:03 ... 12 more
20:25:03 java.lang.AssertionError: Some tests failed
20:25:03 at FindDecoderBugs.main(FindDecoderBugs.java:448)
20:25:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:25:03 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
20:25:03 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:25:03 at java.base/java.lang.reflect.Method.invoke(Method.java:568)
20:25:03 at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
20:25:03 at java.base/java.lang.Thread.run(Thread.java:884)
20:25:03
20:25:03 JavaTest Message: Test threw exception: java.lang.AssertionError
Metadata
Metadata
Assignees
Labels
blockercomp:jitsegfaultIssues that describe segfaults / JVM crashesIssues that describe segfaults / JVM crashestest failure
Activity
pshipton commentedon Nov 23, 2021
Is this a new test, regression, highly intermittent, or what?
nbhuiyan commentedon Nov 24, 2021
I have seen this failure recently in
jdk_util_1runningCodePointTest. Occurrence is about 1/15.JasonFengJ9 commentedon Nov 29, 2021
Observed at
job/Test_openjdk17_j9_extended.openjdk_x86-64_linux/30/job/Test_openjdk17_j9_extended.openjdk_x86-64_linux/30/(ub18x64rt1-3)Also occurred at
job/Test_openjdk17_j9_extended.openjdk_x86-64_mac/28/(osxrt6)An different segmentation error at
job/Test_openjdk17_j9_extended.openjdk_x86-64_mac/28/(osxrt6)pshipton commentedon Nov 29, 2021
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_windows_Nightly/99
java/util/ResourceBundle/UTF8Properties/CodePointTest.java
pshipton commentedon Nov 30, 2021
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_mac_Nightly/98/
java/util/ResourceBundle/UTF8Properties/CodePointTest.java
pshipton commentedon Nov 30, 2021
@0xdaryl this appears a regression, which I'm going to blame on the JIT due to the intermittent nature. Can somebody take a look?
0xdaryl commentedon Nov 30, 2021
@a7ehuo : could you have a look at this please?
pshipton commentedon Dec 1, 2021
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_linux_Nightly/99/
jdk_util_1
-Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:-UseCompressedOopsjava/util/ResourceBundle/UTF8Properties/CodePointTest.java
a7ehuo commentedon Dec 2, 2021
I'm still looking at this issue.
jdk_nio_0seems to fail consistently for me. So far I have issues with getting logs. The test passes if I ran the test command on the command line as a standalone test like below. If fails when it rans as part ofjdk_nio_0test.24 remaining items
pshipton commentedon Dec 23, 2021
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_linux_Nightly/122/
pshipton commentedon Jan 4, 2022
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_mac_Release/18/
pshipton commentedon Jan 5, 2022
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_mac_Nightly/123/
pshipton commentedon Jan 7, 2022
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_linux_Nightly/125/
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_mac_Nightly/125/
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_windows_Nightly/127/
pshipton commentedon Jan 11, 2022
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_mac_Nightly/128/
DanHeidinga commentedon Jan 11, 2022
@a7ehuo is there an update on this issue? It's currently a blocker for the 0.30 release in about a week
a7ehuo commentedon Jan 11, 2022
Sorry for the delay. I was off last week. I'll update as soon as I find out more
a7ehuo commentedon Jan 12, 2022
Still under investigation. No new findings yet.
a7ehuo commentedon Jan 13, 2022
Doing binary search on the commits, continuing to narrow it down:
FAIL
PASS
OpenJ9: 1c72aaf...b16777a
OMR: eclipse-openj9/openj9-omr@f76321a...8321437
a7ehuo commentedon Jan 14, 2022
I narrowed the failure down to #12657. The failure also goes away by commenting out the following line that enables the support for inlining StringLatin1.inflate in codegen:
openj9/runtime/compiler/x/codegen/J9CodeGenerator.cpp
Line 78 in 3f123a1
java/lang/StringLatin1.inflateis called by the inlined code insun/nio/cs/ISO_8859_1$Decoder.decodeLoopinblock_70. It's unclear how it causes the exception (block_35) yet.PASS
FAIL
a7ehuo commentedon Jan 14, 2022
Many thanks to @jdmpapin for helping look at the log files! The issue is rooted in
block_70that inlinesjava/lang/StringLatin1.inflatein codegen. He found whenrdx(dst) is spilled to the stack beforeblock_70, it is not restored properly at the end of the internal control flow. The issue happens becausesrcBufferReganddestBufferRegare not added on the register dependency list and the start of the internal control flow is not set up at the right position. The fix is under testing.rdxis spilled to the stack beforeblock_70. Ifr10dis0, it jumps toL0240. The instruction (0x7f21dc57e7b0) that stores back the value on the stack tor8is skipped.Fix the start of internal control flow and deps