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

C2 compilation fails with assert(tp->base() != Type::AnyPtr) failed: not a bare pointer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • 13
    • 13
    • hotspot

      runtime/Metaspace/FragmentMetaspace.java fails due to a fatal error detected by the Java Runtime Environment.

      See:
      ----------System.out:(26/1937)----------
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/machnode.cpp:381
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (open/src/hotspot/share/opto/machnode.cpp:381), pid=27808, tid=27839
      # assert(tp->base() != Type::AnyPtr) failed: not a bare pointer
      #
      # JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-internal+0-jdk13-jdk.856)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-internal+0-jdk13-jdk.856, mixed mode, tiered, z gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x11636d4] MachNode::adr_type() const+0x274
      #
      # Core dump will be written. Default location: /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S77542/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/07aabe41-2ecd-4af9-aa15-6d264fb2b9b4/runs/ee364d45-970f-4489-b5ef-f3c2b5a042af/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/2/core.27808
      #
      # An error report file with more information is saved as:
      # /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S77542/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/07aabe41-2ecd-4af9-aa15-6d264fb2b9b4/runs/ee364d45-970f-4489-b5ef-f3c2b5a042af/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/2/hs_err_pid27808.log
      #
      # Compiler replay data is saved as:
      # /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S77542/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/07aabe41-2ecd-4af9-aa15-6d264fb2b9b4/runs/ee364d45-970f-4489-b5ef-f3c2b5a042af/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_runtime/scratch/2/replay_pid27808.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #
      Current thread is 27839
      Dumping core ...

      Current CompileTask:
      C2: 29489 7736 4 com.sun.tools.javac.file.CacheFSInfo::isFile (27 bytes)

      Stack: [0x00007f206fafb000,0x00007f206fbfc000], sp=0x00007f206fbf6a50, free space=1006k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x11636d4] MachNode::adr_type() const+0x274
      V [libjvm.so+0xcaa2ca] PhaseCFG::insert_anti_dependences(Block*, Node*, bool)+0x5a
      V [libjvm.so+0xcb0ed0] PhaseCFG::schedule_late(VectorSet&, Node_Stack&)+0xab0
      V [libjvm.so+0xcb1389] PhaseCFG::global_code_motion()+0x309
      V [libjvm.so+0xcb3aa1] PhaseCFG::do_global_code_motion()+0x51
      V [libjvm.so+0x9949ac] Compile::Code_Gen()+0x29c
      V [libjvm.so+0x998e35] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x1125
      V [libjvm.so+0x7d554d] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x10d
      V [libjvm.so+0x9a55ae] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x42e
      V [libjvm.so+0x9a64c8] CompileBroker::compiler_thread_loop()+0x378
      V [libjvm.so+0x1635dba] JavaThread::thread_main_inner()+0x26a
      V [libjvm.so+0x163e397] JavaThread::run()+0x227
      V [libjvm.so+0x163b4d6] Thread::call_run()+0xf6
      V [libjvm.so+0x135674d] thread_native_entry(Thread*)+0x10d

            neliasso Nils Eliasson (Inactive)
            wenjyang Crystal Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: