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

C2 crashed with 'assert(is_Loop()) failed: invalid node class'

    XMLWordPrintable

Details

    Description

      During stress testing C2 fails with
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/scratch/mesos/slaves/9190d864-6621-4810-ba08-d8d8c75ba674-S67/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/43042788-757f-448c-9eb8-491421042e78/runs/2deac9ef-875f-450a-9133-e440091ffb33/workspace/open/src/hotspot/share/opto/node.hpp:823), pid=28644, tid=19459
      # assert(is_Loop()) failed: invalid node class
      #
      # JRE version: Java(TM) SE Runtime Environment (11.0) (fastdebug build 11-internal+0-2018-05-17-2347403.leonid.mesnik.hs-bigapps-stability)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 11-internal+0-2018-05-17-2347403.leonid.mesnik.hs-bigapps-stability, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
      # Core dump will be written. Default location: /cores/core.28644
      #
      # 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: -Dhadoop.home.dir=/scratch/mesos/jib-master/install/org/apache/hadoop/common/hadoop/2.7.3/hadoop-2.7.3.tar.gz/hadoop-2.7.3 -Dspark.master=local[2] -Dspark.sql.warehouse.dir=spark_tmp -Djava.io.tmpdir=spark_tmp -XX:MaxRAMPercentage=6 -XX:+UseG1GC -Djava.net.preferIPv4Stack=true -Xmx8192M -XX:-PrintVMOptions -XX:+DisplayVMOutputToStderr -XX:+UsePerfData -Xlog:gc*:gc.log -XX:+DisableExplicitGC -XX:+PrintFlagsFinal -Dhadoop.root.logger=WARN,console -DSEED=1526602765 --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED applications.spark.ExampleLoop /scratch/mesos/jib-master/install/org/apache/spark/spark-bin/2.2.0/spark-bin-2.2.0-without-hadoop.tar.gz/spark-2.2.0-bin-without-hadoop/jars/*:/scratch/mesos/jib-master/install/org/apache/spark/spark-bin/2.2.0/spark-bin-2.2.0-without-hadoop.tar.gz/spark-2.2.0-bin-without-hadoop/examples/jars/*:/scratch/mesos/jib-master/install/org/apache/hadoop/common/hadoop/2.7.3/hadoop-2.7.3.tar.gz/hadoop-2.7.3/etc/hadoop:/scratch/mesos/jib-master/install/org/apache/hadoop/common/hadoop/2.7.3/hadoop-2.7.3.tar.gz/hadoop-2.7.3/share/hadoop/common/lib/*:/scratch/mesos/jib-master/install/org/apache/hadoop/common/hadoop/2.7.3/hadoop-2.7.3.tar.gz/hadoop-2.7.3/share/hadoop/common/*:/scratch/mesos/jib-master/install/org/apache/hadoop/common/hadoop/2.7.3/hadoop-2.7.3.tar.gz/hadoop-2.7.3/share/hadoop/hdfs:/scratch/mesos/jib-master/install/org/apache/hadoop/common/hadoop/2.7.3/hadoop-2.7.3.tar.gz/hadoop-2.7.3/share/hadoop/hdfs/lib/*:/scratch/mesos/jib-master/install/org/apache/hadoop/common/hadoop/2.7.3/hadoop-2.7.3.tar.gz/hadoop-2.7.3/share/hadoop/hdfs/*:/scratch/mesos/jib-master/install/org/apache/hadoop/common/hadoop/2.7.3/hadoop-2.7.3.tar.gz/hadoop-2.7.3/share/hadoop/yarn/lib/*:/scratch/mesos/jib-master/install/org/apache/hadoop/common/hadoop/2.7.3/hadoop-2.7.3.tar.gz/hadoop-2.7.3/share/hadoop/yarn/*:/scratch/mesos/jib-master/install/org/apache/hadoop/common/hadoop/2.7.3/hadoop-2.7.3.tar.gz/hadoop-2.7.3/share/hadoop/mapreduce/lib/*:/scratch/mesos/jib-master/install/org/apache/hadoop/common/hadoop/2.7.3/hadoop-2.7.3.tar.gz/hadoop-2.7.3/share/hadoop/mapreduce/*:/scratch/mesos/jib-master/install/org/apache/hadoop/common/hadoop/2.7.3/hadoop-2.7.3.tar.gz/hadoop-2.7.3/contrib/capacity-scheduler/*.jar 1440

      Host: scaaa998.us.oracle.com, MacPro6,1 x86_64 3700 MHz, 8 cores, 16G, Darwin 14.5.0
      Time: Fri May 18 03:53:45 2018 PDT elapsed time: 38061 seconds (0d 10h 34m 21s)

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

      Current thread (0x00007fd21d14e000): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=19459, stack(0x0000000135e56000,0x0000000135f56000)]


      Current CompileTask:
      C2:38061546 63025 % 4 java.util.concurrent.ConcurrentSkipListMap::findPredecessor @ 18 (113 bytes)

      Stack: [0x0000000135e56000,0x0000000135f56000], sp=0x0000000135f50660, free space=1001k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0xdafa06] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x552
      V [libjvm.dylib+0xdb01d4] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x4a
      V [libjvm.dylib+0x4cdc9d] report_vm_error(char const*, int, char const*, char const*, ...)+0xd3
      V [libjvm.dylib+0x9d0806] Node::as_Loop() const+0x66
      V [libjvm.dylib+0x9c1461] IdealLoopTree::compute_trip_count(PhaseIdealLoop*)+0x21
      V [libjvm.dylib+0x9ce0c8] IdealLoopTree::iteration_split_impl(PhaseIdealLoop*, Node_List&)+0x28
      V [libjvm.dylib+0x9ce663] IdealLoopTree::iteration_split(PhaseIdealLoop*, Node_List&)+0x123
      V [libjvm.dylib+0x9ce57f] IdealLoopTree::iteration_split(PhaseIdealLoop*, Node_List&)+0x3f
      V [libjvm.dylib+0x9e754f] PhaseIdealLoop::build_and_optimize(bool, bool)+0xad3
      V [libjvm.dylib+0x466f43] Compile::Optimize()+0x849
      V [libjvm.dylib+0x465589] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0xbe9
      V [libjvm.dylib+0x4682e5] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x31
      V [libjvm.dylib+0x34d610] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x130
      V [libjvm.dylib+0x47a910] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x668
      V [libjvm.dylib+0x47a13d] CompileBroker::compiler_thread_loop()+0x2f1
      V [libjvm.dylib+0xd2389d] JavaThread::thread_main_inner()+0x1ed
      V [libjvm.dylib+0xd23376] JavaThread::run()+0x3da
      V [libjvm.dylib+0xb6d7c8] thread_native_entry(Thread*)+0x12b
      C [libsystem_pthread.dylib+0x405a] _pthread_body+0x83
      C [libsystem_pthread.dylib+0x3fd7] _pthread_body+0x0
      C [libsystem_pthread.dylib+0x13ed] thread_start+0xd

      Attachments

        Issue Links

          Activity

            People

              neliasso Nils Eliasson (Inactive)
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: