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

C2 compiled java.math.MutableBigInteger.divideOneWord crashes

    Details

      Description

      The following crash observed during testing:
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fe91ad10303, pid=28645, tid=28710
      #
      # JRE version: Java(TM) SE Runtime Environment (11.0) (fastdebug build 11-internal+0-2018-03-23-0104173.leonid.mesnik.hs-bigapps-stability)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 11-internal+0-2018-03-23-0104173.leonid.mesnik.hs-bigapps-stability, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # J 52313 c2 java.math.MutableBigInteger.divideOneWord(ILjava/math/MutableBigInteger;)I java.base@11-internal (332 bytes) @ 0x00007fe91ad10303 [0x00007fe91ad10240+0x00000000000000c3]
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e" (or dumping to /scratch/opt/mach5/mesos/work_dir/slaves/e283bbd4-d3d7-4cc0-a152-4405cadfe7cb-S496/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f6cbd08c-24da-45eb-8e57-f4a9bc0a66fa/runs/0a4d1467-a4a0-4fa1-b816-952f158d448a/testoutput/jtreg/JTwork/scratch/0/core.28645)
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- S U M M A R Y ------------

      Command Line: -XX:MaxRAMPercentage=50 -XX:+CrashOnOutOfMemoryError -Djava.net.preferIPv6Addresses=false -XX:-PrintVMOptions -XX:+DisplayVMOutputToStderr -XX:+UsePerfData -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+PrintFlagsFinal -XX:+StartAttachListener -XX:+UnlockCommercialFeatures -XX:NativeMemoryTracking=detail -XX:+FlightRecorder --add-exports=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xerces.internal.parsers=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED -Djava.io.tmpdir=/scratch/opt/mach5/mesos/work_dir/slaves/e283bbd4-d3d7-4cc0-a152-4405cadfe7cb-S496/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f6cbd08c-24da-45eb-8e57-f4a9bc0a66fa/runs/0a4d1467-a4a0-4fa1-b816-952f158d448a/testoutput/jtreg/JTwork/scratch/0/java.io.tmpdir -Duser.home=/scratch/opt/mach5/mesos/work_dir/slaves/e283bbd4-d3d7-4cc0-a152-4405cadfe7cb-S496/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f6cbd08c-24da-45eb-8e57-f4a9bc0a66fa/runs/0a4d1467-a4a0-4fa1-b816-952f158d448a/testoutput/jtreg/JTwork/scratch/0/user.home applications.kitchensink.process.stress.Main /scratch/opt/mach5/mesos/work_dir/slaves/e283bbd4-d3d7-4cc0-a152-4405cadfe7cb-S496/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f6cbd08c-24da-45eb-8e57-f4a9bc0a66fa/runs/0a4d1467-a4a0-4fa1-b816-952f158d448a/testoutput/jtreg/JTwork/scratch/0/kitchensink.final.properties

      Host: sca00mlh.us.oracle.com, Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz, 6 cores, 29G, Oracle Linux Server release 7.1
      Time: Fri Mar 23 14:18:06 2018 PDT elapsed time: 71894 seconds (0d 19h 58m 14s)

      --------------- T H R E A D ---------------

      Current thread (0x00007fe92c7a3800): JavaThread "ReferenceStressModule" [_thread_in_vm, id=28710, stack(0x00007fe8aafc7000,0x00007fe8ab0c8000)]

      Stack: [0x00007fe8aafc7000,0x00007fe8ab0c8000], sp=0x00007fe8ab0c6680, free space=1021k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      J 52313 c2 java.math.MutableBigInteger.divideOneWord(ILjava/math/MutableBigInteger;)I java.base@11-internal (332 bytes) @ 0x00007fe91ad10303 [0x00007fe91ad10240+0x00000000000000c3]
      J 25493 c2 java.math.MutableBigInteger.divideKnuth(Ljava/math/MutableBigInteger;Ljava/math/MutableBigInteger;Z)Ljava/math/MutableBigInteger; java.base@11-internal (272 bytes) @ 0x00007fe91d98bd64 [0x00007fe91d98bb80+0x00000000000001e4]
      J 9136 c2 java.math.BigInteger.remainderKnuth(Ljava/math/BigInteger;)Ljava/math/BigInteger; java.base@11-internal (48 bytes) @ 0x00007fe91b692fbc [0x00007fe91b692b60+0x000000000000045c]
      J 9141 c2 java.math.BigInteger.remainder(Ljava/math/BigInteger;)Ljava/math/BigInteger; java.base@11-internal (38 bytes) @ 0x00007fe91b694600 [0x00007fe91b6945c0+0x0000000000000040]
      J 7440 c2 applications.kitchensink.process.stress.modules.ReferenceStressModule.removeMultiplesOf(ILjava/util/LinkedList;)V (69 bytes) @ 0x00007fe91b34060c [0x00007fe91b33fe00+0x000000000000080c]
      J 17162% c2 applications.kitchensink.process.stress.modules.ReferenceStressModule.findPrimes()V (220 bytes) @ 0x00007fe91c17f3fc [0x00007fe91c17f100+0x00000000000002fc]
      j applications.kitchensink.process.stress.modules.ReferenceStressModule.execute()V+1
      j applications.kitchensink.process.stress.modules.StressModule.run()V+111
      v ~StubRoutines::call_stub
      V [libjvm.so+0xec4991] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x7e1
      V [libjvm.so+0xec1c1f] JavaCalls::call_virtual(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x41f
      V [libjvm.so+0xec1e72] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*)+0xa2
      V [libjvm.so+0x1017ad3] thread_entry(JavaThread*, Thread*)+0xa3
      V [libjvm.so+0x1761842] JavaThread::thread_main_inner()+0x242
      V [libjvm.so+0x1761a44] JavaThread::run()+0x144
      V [libjvm.so+0x14933d2] thread_native_entry(Thread*)+0x112

        Attachments

          Activity

            People

            • Assignee:
              dlong Dean Long
              Reporter:
              lmesnik Leonid Mesnik
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: