Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8249538

[AArch64] java/math/BigInteger/largeMemory/SymmetricRangeTests.java fails with java.lang.ArrayIndexOutOfBoundsException

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:

      Description

      JVM parameters:

      -Xmixed -XX:-TieredCompilation -XX:+UseG1GC -XX:+CreateCoredumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -Dseed=985592061905187269

      The random seed (-Dseed...) seems to be important.

      Stdout and stderr:

      Testing BigInteger.toString
      ----------System.err:(37/2866)----------
      java.lang.ArrayIndexOutOfBoundsException: arraycopy: destination index -68608 out of bounds for int[268288]
      at java.base/java.lang.System.arraycopy(Native Method)
      at java.base/java.math.MutableBigInteger.addDisjoint(MutableBigInteger.java:885)
      at java.base/java.math.MutableBigInteger.divide2n1n(MutableBigInteger.java:1329)
      at java.base/java.math.MutableBigInteger.divide3n2n(MutableBigInteger.java:1362)
      at java.base/java.math.MutableBigInteger.divide2n1n(MutableBigInteger.java:1326)
      at java.base/java.math.MutableBigInteger.divide3n2n(MutableBigInteger.java:1362)
      at java.base/java.math.MutableBigInteger.divide2n1n(MutableBigInteger.java:1326)
      at java.base/java.math.MutableBigInteger.divide3n2n(MutableBigInteger.java:1362)
      at java.base/java.math.MutableBigInteger.divide2n1n(MutableBigInteger.java:1326)
      at java.base/java.math.MutableBigInteger.divide3n2n(MutableBigInteger.java:1362)
      at java.base/java.math.MutableBigInteger.divide2n1n(MutableBigInteger.java:1326)
      at java.base/java.math.MutableBigInteger.divide3n2n(MutableBigInteger.java:1362)
      at java.base/java.math.MutableBigInteger.divide2n1n(MutableBigInteger.java:1326)
      at java.base/java.math.MutableBigInteger.divide3n2n(MutableBigInteger.java:1362)
      at java.base/java.math.MutableBigInteger.divide2n1n(MutableBigInteger.java:1326)
      at java.base/java.math.MutableBigInteger.divideAndRemainderBurnikelZiegler(MutableBigInteger.java:1293)
      at java.base/java.math.BigInteger.divideAndRemainderBurnikelZiegler(BigInteger.java:2388)
      at java.base/java.math.BigInteger.divideAndRemainder(BigInteger.java:2320)
      at java.base/java.math.BigInteger.toString(BigInteger.java:4057)
      at java.base/java.math.BigInteger.toString(BigInteger.java:4062)
      at java.base/java.math.BigInteger.toString(BigInteger.java:4062)
      at java.base/java.math.BigInteger.toString(BigInteger.java:3961)
      at SymmetricRangeTests.testToString(SymmetricRangeTests.java:434)
      at SymmetricRangeTests.testToString(SymmetricRangeTests.java:450)
      at SymmetricRangeTests.main(SymmetricRangeTests.java:653)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

        Attachments

          Activity

            People

            • Assignee:
              bpb Brian Burkhalter
              Reporter:
              enikitin Evgeny Nikitin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: