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

SIGSEGV in Node::is_dead_loop_safe

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x_10.15

      Description

      The following test failed in the JDK16 CI:

      java/util/jar/JarFile/mrjar/MultiReleaseJarHttpProperties.java

      Here's a snippet from the log file:

      #section:testng
      ----------messages:(5/411)----------
      command: testng -Djdk.util.jar.version=8 -Djdk.util.jar.enableMultiRelease=force MultiReleaseJarHttpProperties
      reason: User specified action: run testng/othervm -Djdk.util.jar.version=8 -Djdk.util.jar.enableMultiRelease=force MultiReleaseJarHttpProperties
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jartool,jdk.compiler,jdk.httpserver
      elapsed time (seconds): 11.614
      ----------configuration:(3/67)----------
      Boot Layer
        add modules: jdk.jartool jdk.compiler jdk.httpserver

      ----------System.out:(21/1340)----------
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x000000010f23d117, pid=70466, tid=40963
      #
      # JRE version: Java(TM) SE Runtime Environment (16.0+13) (fastdebug build 16-ea+13-511)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+13-511, compiled mode, sharing, compressed oops, g1 gc, bsd-amd64)
      # Problematic frame:
      # V [libjvm.dylib+0x43d117] Node::is_dead_loop_safe() const+0x7
      #
      # Core dump will be written. Default location: core.70466
      #
      # An error report file with more information is saved as:
      # /System/Volumes/Data/mesos/work_dir/slaves/4076d11c-c6ed-4d07-84c1-4ab8d55cd975-S47664/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d3e254ae-631c-426d-8787-ae3ac28ff6e6/runs/fe6b3aae-1e19-4dbd-910b-3e8f3bc357f1/testoutput/test-support/jtreg_open_test_jdk_jdk_util/scratch/1/hs_err_pid70466.log
      #
      # Compiler replay data is saved as:
      # /System/Volumes/Data/mesos/work_dir/slaves/4076d11c-c6ed-4d07-84c1-4ab8d55cd975-S47664/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d3e254ae-631c-426d-8787-ae3ac28ff6e6/runs/fe6b3aae-1e19-4dbd-910b-3e8f3bc357f1/testoutput/test-support/jtreg_open_test_jdk_jdk_util/scratch/1/replay_pid70466.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      ----------System.err:(0/0)----------
      ----------rerun:(51/9324)*----------


      Here's the crashing thread's stack:

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

      Current thread (0x00007ff1d6810020): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=40963, stack(0x0000700000ceb000,0x0000700000deb000)]


      Current CompileTask:
      C2: 8154 1286 !b java.lang.invoke.DirectMethodHandle::makePreparedFieldLambdaForm (1044 bytes)

      Stack: [0x0000700000ceb000,0x0000700000deb000], sp=0x0000700000de7a00, free space=1010k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x43d117] Node::is_dead_loop_safe() const+0x7
      V [libjvm.dylib+0xe2d484] PhaseGVN::dead_loop_check(Node*)+0xb4
      V [libjvm.dylib+0xe3015f] PhaseIterGVN::transform_old(Node*)+0xaf
      V [libjvm.dylib+0xe2fc96] PhaseIterGVN::optimize()+0x1f6
      V [libjvm.dylib+0x518821] Compile::Optimize()+0x611
      V [libjvm.dylib+0x516473] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x12d3
      V [libjvm.dylib+0x40be60] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1d0
      V [libjvm.dylib+0x532cd8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x6c8
      V [libjvm.dylib+0x53231c] CompileBroker::compiler_thread_loop()+0x34c
      V [libjvm.dylib+0x10156e6] JavaThread::thread_main_inner()+0x316
      V [libjvm.dylib+0x1010877] Thread::call_run()+0x1b7
      V [libjvm.dylib+0xdd249f] thread_native_entry(Thread*)+0x15f
      C [libsystem_pthread.dylib+0x6109] _pthread_start+0x94
      C [libsystem_pthread.dylib+0x1b8b] thread_start+0xf


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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dlong Dean Long
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: