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

EXCEPTION_INT_DIVIDE_BY_ZERO in TypeAryPtr::dump2 with -XX:+TracePhaseCCP

XMLWordPrintable

    • b05

      memory 891 StoreL === 82 87 892 129 [[ 90 ]] @long[int:>=0]:exact+any *, idx=7; Memory: @rawptr:NotNull, idx=Raw; !orig=[131] !jvms: UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:51 (line 161)
      {0:control, 1:abIO, 2:memory, 3:rawptr:BotPTR, 4:return_address} 90 Initialize === 82 1 93 1 1 89 891 [[ 91 92 ]] !jvms: UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:6 (line 155)
      control 91 Proj === 90 [[ 142 94 877 128 ]] #0 !jvms: UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:6 (line 155)
      {0:control, 1:control} 142 If === 91 139 [[ 143 144 ]] P=0.999999, C=-1.000000 !jvms: UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:58 (line 162)
      long[int:1]:NotNull:exact * 94 CheckCastPP === 91 89 [[ 808 494 463 877 443 130 130 163 ]] #long[int:1]:NotNull:exact * !jvms: UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:6 (line 155)
      control 143 IfTrue === 142 [[ 157 151 ]] #1 !jvms: UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:58 (line 162)
      memory 92 Proj === 90 [[ 772 755 755 440 460 460 460 419 419 419 440 440 140 140 140 440 382 185 159 159 159 185 185 755 140 460 159 419 185 ]] #2 Memory: @rawptr:BotPTR, idx=Raw; !orig=893,[131] !jvms: UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:6 (line 155)
      bottom[int:1]:NotNull * 877 CMoveP === 91 106 94 63 [[ 377 377 443 463 494 190 163 758 758 ]] #bottom[int:1]:NotNull * !orig=[115] !jvms: UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:22 (line 157)
      control 144 IfFalse === 142 [[ 146 ]] #0 !jvms: UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:58 (line 162)
      int[int:>=0]:NotNull:exact * 151 CastPP === 143 136 [[ 173 153 153 163 173 172 768 768 ]] #int[int:>=0]:NotNull:exact * !orig=[767] !jvms: UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:58 (line 162)
      {0:top, 1:top} 157 RangeCheck === 143 156 [[ 158 161 ]] P=0.999999, C=-1.000000 !jvms: UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:58 (line 162)
      memory 772 StoreB === 766 92 771 27 [[ 755 ]] @rawptr:BotPTR, idx=Raw; Memory: @rawptr:BotPTR, idx=Raw; !jvms: Unsafe::copyMemory @ bci:29 (line 806) UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:76 (line 164)
      bottom[int:1]:NotNull+8 * [narrowklass] 377 AddP === _ 877 877 74 [[ 378 ]] !jvms: Unsafe::checkPrimitivePointer @ bci:12 (line 579) Unsafe::copyMemoryChecks @ bci:9 (line 832) Unsafe::copyMemory @ bci:9 (line 800) UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:76 (line 164)
      long[int:1]:NotNull:exact[0] * 130 AddP === _ 94 94 72 [[ 819 ]] !jvms: UnsafeCopyMemory::testHeapToHeapLocalSrcMismatched @ bci:51 (line 161)
      bottom[int:1]:NotNull#
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_INT_DIVIDE_BY_ZERO (0xc0000094) at pc=0x00007ffc6d879bd3, pid=11228, tid=18256
      #
      # JRE version: Java(TM) SE Runtime Environment (18.0+24) (fastdebug build 18-ea+24-1542)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-ea+24-1542, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      # Problematic frame:
      # V [jvm.dll+0xd29bd3] TypeAryPtr::dump2+0x143

      This only reproduces on Windows with -XX:+TracePhaseCCP and compiler/unsafe/UnsafeCopyMemory.java

        1. hs_err_pid11228.log
          141 kB
          Tobias Hartmann
        2. replay_pid11228.log
          139 kB
          Tobias Hartmann

            tholenstein Tobias Holenstein
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: