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

C2 crash in Arena::Arealloc() during optimizing code


    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot


      Multiple tests (
      ) crash with the following stack trace:

      # A fatal error has been detected by the Java Runtime Environment:
      # SIGSEGV (0xb) at pc=0x00007f14464c042a, pid=13402, tid=13415
      # JRE version: Java(TM) SE Runtime Environment (14.0+24) (fastdebug build 14-ea+24-1104)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+24-1104, compiled mode, sharing, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x5e042a] Arena::Arealloc(void*, unsigned long, unsigned long, AllocFailStrategy::AllocFailEnum)+0x3a
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to [...]
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp

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

      Command Line: -[...]

      Host: ol7-build-test-9917, Intel(R) Xeon(R) Platinum 8167M CPU @ 2.00GHz, 8 cores, 58G, Oracle Linux Server release 7.6
      Time: Thu Nov 21 08:15:36 2019 UTC elapsed time: 21 seconds (0d 0h 0m 21s)

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

      Current thread (0x00007f144057ccc0): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=13415, stack(0x00007f141d5fe000,0x00007f141d6ff000)]

      Current CompileTask:
      C2: 21404 2725 b java.security.ProtectionDomain::<init> (99 bytes)

      Stack: [0x00007f141d5fe000,0x00007f141d6ff000], sp=0x00007f141d6fa330, free space=1008k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x5e042a] Arena::Arealloc(void*, unsigned long, unsigned long, AllocFailStrategy::AllocFailEnum)+0x3a
      V [libjvm.so+0x133a1f9] Node_Array::grow(unsigned int)+0x59
      V [libjvm.so+0x83025b] Unique_Node_List::push(Node*)+0x8b
      V [libjvm.so+0x999a1f] Compile::Optimize()+0x4df
      V [libjvm.so+0x99b5d4] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x1094
      V [libjvm.so+0x813b20] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x110
      V [libjvm.so+0x9a7e2c] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x2cc
      V [libjvm.so+0x9a8e18] CompileBroker::compiler_thread_loop()+0x4a8
      V [libjvm.so+0x1670726] JavaThread::thread_main_inner()+0x226
      V [libjvm.so+0x1675e06] Thread::call_run()+0xf6
      V [libjvm.so+0x13a804e] thread_native_entry(Thread*)+0x10e

      siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000300000023


          Issue Links



              • Assignee:
                rbackman Rickard Backman
                tschatzl Thomas Schatzl
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created: