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

C2 crashes due to SIGSEGV in PhaseCCP::analyze

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed in the JDK14 CI:

      java/util/logging/LogManager/RootLogger/setLevel/TestRootLoggerLevel.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/331)----------
      command: main -Dtest.security=on TestRootLoggerLevel
      reason: User specified action: run main/othervm -Dtest.security=on TestRootLoggerLevel
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.base,java.logging --add-exports java.base/sun.util.logging=ALL-UNNAMED
      elapsed time (seconds): 27.463
      ----------configuration:(4/109)----------
      Boot Layer
        add modules: java.base java.logging
        add exports: java.base/sun.util.logging ALL-UNNAMED

      ----------System.out:(26/1839)----------
      root: java.util.logging.LogManager$RootLogger@597a7a94: INFO
      global: java.util.logging.Logger@78486b69: null
      *** SecurityManager is ON
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fe1f51e53f8, pid=21231, tid=21245
      #
      # 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, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x14243f8] PhaseCCP::analyze()+0x5e8


      Here's the crashing thread's stack:

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

      Current thread (0x00007fe1ec349000): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=21245, stack(0x00007fe1d4711000,0x00007fe1d4812000)]


      Current CompileTask:
      C2: 16741 4519 b 4 java.io.StreamTokenizer::nextToken (1268 bytes)

      Stack: [0x00007fe1d4711000,0x00007fe1d4812000], sp=0x00007fe1d480d3b0, 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+0x14243f8] PhaseCCP::analyze()+0x5e8
      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: 0x0000000080030049

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                neliasso Nils Eliasson
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: