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

C2: assert(argument(0)->bottom_type()->isa_ptr()) failed: must be

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 21, 22, 23
    • hotspot

      Recording this reported failure for the records. It is a duplicate of JDK-8328702.

      emanuel@emanuel-oracle:/oracle-work/triage/current$ /oracle-work/jdk-22.0.1/fastdebug/bin/java -XX:CompileCommand=printcompilation,TestDynamicTypeCheck::* -Xbatch TestDynamicTypeCheck.java
      CompileCommand: PrintCompilation TestDynamicTypeCheck.* bool PrintCompilation = true
      5636 1316 b 3 TestDynamicTypeCheck::verify (20 bytes)
      5637 1317 b 3 TestDynamicTypeCheck::inspect (18 bytes)
      5638 1318 b 3 TestDynamicTypeCheck::analyze (19 bytes)
      5639 1319 b 3 TestDynamicTypeCheck::explore (19 bytes)
      5642 1320 b 4 TestDynamicTypeCheck::verify (20 bytes)
      5643 1321 b 4 TestDynamicTypeCheck::inspect (18 bytes)
      5645 1322 b 4 TestDynamicTypeCheck::analyze (19 bytes)
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/0db9c48f-6638-40d0-9a4b-bd9cc7533eb8-S9823/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d7a39ecb-8e74-462f-9377-5fdd29fc3ad4/runs/e53d9f60-7204-454a-984d-c6ce345ab850/workspace/open/src/hotspot/share/opto/graphKit.hpp:369), pid=268669, tid=268683
      # assert(argument(0)->bottom_type()->isa_ptr()) failed: must be
      #
      # JRE version: Java(TM) SE Runtime Environment (22.0.1+7) (fastdebug build 22.0.1+7-15)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 22.0.1+7-15, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x12163c3] LibraryCallKit::inline_native_getClass()+0x133
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /oracle-work/triage/current/core.268669)
      #
      # An error report file with more information is saved as:
      # /oracle-work/triage/current/hs_err_pid268669.log
      #
      # Compiler replay data is saved as:
      # /oracle-work/triage/current/replay_pid268669.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      Aborted (core dumped)

      Current CompileTask:
      C2:5690 1322 b 4 TestDynamicTypeCheck::analyze (19 bytes)

      Stack: [0x00007f74208aa000,0x00007f74209ab000], sp=0x00007f74209a6c60, free space=1011k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x12163c3] LibraryCallKit::inline_native_getClass()+0x133 (graphKit.hpp:369)
      V [libjvm.so+0x1236134] LibraryIntrinsic::generate(JVMState*)+0x1e4
      V [libjvm.so+0xb88812] Parse::do_call()+0x602
      V [libjvm.so+0x150aa20] Parse::do_one_bytecode()+0x3f0
      V [libjvm.so+0x14f86df] Parse::do_one_block()+0x23f
      V [libjvm.so+0x14f9ba5] Parse::do_all_blocks()+0x135
      V [libjvm.so+0x14fdd6d] Parse::Parse(JVMState*, ciMethod*, float)+0xb2d
      V [libjvm.so+0x83e329] ParseGenerator::generate(JVMState*)+0x169
      V [libjvm.so+0xb88812] Parse::do_call()+0x602
      V [libjvm.so+0x150aa20] Parse::do_one_bytecode()+0x3f0
      V [libjvm.so+0x14f86df] Parse::do_one_block()+0x23f
      V [libjvm.so+0x14f9ba5] Parse::do_all_blocks()+0x135
      V [libjvm.so+0x14fdd6d] Parse::Parse(JVMState*, ciMethod*, float)+0xb2d
      V [libjvm.so+0x83e329] ParseGenerator::generate(JVMState*)+0x169
      V [libjvm.so+0x9ef7ce] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x163e
      V [libjvm.so+0x83bbd7] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1e7
      V [libjvm.so+0x9fb6ec] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x92c
      V [libjvm.so+0x9fc378] CompileBroker::compiler_thread_loop()+0x468
      V [libjvm.so+0xeba3bc] JavaThread::thread_main_inner()+0xcc
      V [libjvm.so+0x17a0de6] Thread::call_run()+0xb6
      V [libjvm.so+0x14ab017] thread_native_entry(Thread*)+0x127


      On product, I get:

      emanuel@emanuel-oracle:/oracle-work/triage/current$ /oracle-work/jdk-22/bin/java -XX:CompileCommand=printcompilation,TestDynamicTypeCheck::* -Xbatch TestDynamicTypeCheck.java
      CompileCommand: PrintCompilation TestDynamicTypeCheck.* bool PrintCompilation = true
      1859 1280 b 3 TestDynamicTypeCheck::verify (20 bytes)
      1859 1281 b 3 TestDynamicTypeCheck::inspect (18 bytes)
      1859 1282 b 3 TestDynamicTypeCheck::analyze (19 bytes)
      1860 1283 b 3 TestDynamicTypeCheck::explore (19 bytes)
      1861 1284 b 4 TestDynamicTypeCheck::verify (20 bytes)
      1862 1285 b 4 TestDynamicTypeCheck::inspect (18 bytes)
      1864 1286 b 4 TestDynamicTypeCheck::analyze (19 bytes)
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007faa05e2d358, pid=270106, tid=270120
      #
      # JRE version: Java(TM) SE Runtime Environment (22.0+19) (build 22-ea+19-1460)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (22-ea+19-1460, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x290358] LoadKlassNode::make(PhaseGVN&, Node*, Node*, Node*, TypePtr const*, TypeKlassPtr const*) [clone .cold]+0x0
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /oracle-work/triage/current/core.270106)
      #
      # An error report file with more information is saved as:
      # /oracle-work/triage/current/hs_err_pid270106.log
      #
      # Compiler replay data is saved as:
      # /oracle-work/triage/current/replay_pid270106.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      Aborted (core dumped)

      Current CompileTask:
      C2:1892 1286 b 4 TestDynamicTypeCheck::analyze (19 bytes)

      Stack: [0x00007fa9c79fa000,0x00007fa9c7afb000], sp=0x00007fa9c7af75f0, free space=1013k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x290358] LoadKlassNode::make(PhaseGVN&, Node*, Node*, Node*, TypePtr const*, TypeKlassPtr const*) [clone .cold]+0x0
      V [libjvm.so+0x8662c2] GraphKit::load_object_klass(Node*)+0x192
      V [libjvm.so+0xb40bf1] LibraryCallKit::inline_native_getClass()+0x71
      V [libjvm.so+0xb59ccc] LibraryIntrinsic::generate(JVMState*)+0x15c
      V [libjvm.so+0x737b83] Parse::do_call()+0x1f3
      V [libjvm.so+0xcfd6f0] Parse::do_one_block()+0x210
      V [libjvm.so+0xcfdae5] Parse::do_all_blocks()+0xe5
      V [libjvm.so+0xd001b5] Parse::Parse(JVMState*, ciMethod*, float)+0x725
      V [libjvm.so+0x577b0b] ParseGenerator::generate(JVMState*)+0x8b
      V [libjvm.so+0x737b83] Parse::do_call()+0x1f3
      V [libjvm.so+0xcfd6f0] Parse::do_one_block()+0x210
      V [libjvm.so+0xcfdae5] Parse::do_all_blocks()+0xe5
      V [libjvm.so+0xd001b5] Parse::Parse(JVMState*, ciMethod*, float)+0x725
      V [libjvm.so+0x577b0b] ParseGenerator::generate(JVMState*)+0x8b
      V [libjvm.so+0x64b5e6] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0xd16
      V [libjvm.so+0x57690b] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x17b
      V [libjvm.so+0x65135e] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xa9e
      V [libjvm.so+0x654468] CompileBroker::compiler_thread_loop()+0x4b8
      V [libjvm.so+0x8fd238] JavaThread::thread_main_inner() [clone .part.0]+0xb8
      V [libjvm.so+0xea4588] Thread::call_run()+0xa8
      V [libjvm.so+0xccb8ea] thread_native_entry(Thread*)+0xda

            epeter Emanuel Peter
            epeter Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: