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

SIGSEGV in Node::verify_edges due to compilation bailout

    XMLWordPrintable

Details

    • b01

    Backports

      Description

        ADDITIONAL SYSTEM INFORMATION :
        OS: Ubuntu18.04
        jdk8
        $ java -version
        openjdk version "1.8.0-internal-fastdebug"
        OpenJDK Runtime Environment (build 1.8.0-internal-fastdebug-user_2022_03_11_16_03-b00)
        OpenJDK 64-Bit Server VM (build 25.71-b00-fastdebug, mixed mode)

        jdk11
        $ java -version
        openjdk version "11.0.15-internal" 2022-04-19
        OpenJDK Runtime Environment (fastdebug build 11.0.15-internal+0-adhoc.user.jdk11u)
        OpenJDK 64-Bit Server VM (fastdebug build 11.0.15-internal+0-adhoc.user.jdk11u, mixed mode, sharing)

        A DESCRIPTION OF THE PROBLEM :
        The JVM is crashed when executing with the -XX:+VerifyGraphEdges option under JDK8 and JDK11.

        Reproduce:
        $ java -Xcomp -XX:+VerifyGraphEdges -XX:LoopUnrollLimit=10000 Test
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x00007f8ecb2b3447, pid=74397, tid=0x00007f8d79444700
        #
        # JRE version: OpenJDK Runtime Environment (8.0) (build 1.8.0-internal-fastdebug-jiahx_2022_03_11_16_03-b00)
        # Java VM: OpenJDK 64-Bit Server VM (25.71-b00-fastdebug compiled mode linux-amd64 compressed oops)
        # Problematic frame:
        # V [libjvm.so+0xec0447] Node::verify_edges(Unique_Node_List&)+0x17
        #
        # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
        # An error report file with more information is saved as:
        # /home/user/hs_err_pid74397.log
        #
        # Compiler replay data is saved as:
        # /home/user/replay_pid74397.log
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp
        #

        hs_err:
        Stack: [0x00007f8d79345000,0x00007f8d79445000], sp=0x00007f8d79440360, free space=1004k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0xec0447] Node::verify_edges(Unique_Node_List&)+0x17
        V [libjvm.so+0x6ea924] Compile::verify_graph_edges(bool) [clone .part.264]+0xf4
        V [libjvm.so+0x6fb3b2] Compile::Code_Gen()+0x372
        V [libjvm.so+0x6feac4] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool)+0xf04
        V [libjvm.so+0x59ba70] C2Compiler::compile_method(ciEnv*, ciMethod*, int)+0xe0
        V [libjvm.so+0x70bdf2] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x8b2
        V [libjvm.so+0x70d3e0] CompileBroker::compiler_thread_loop()+0x710
        V [libjvm.so+0x118b188] JavaThread::thread_main_inner()+0x1c8
        V [libjvm.so+0x118b54d] JavaThread::run()+0x37d
        V [libjvm.so+0xf19ca2] java_start(Thread*)+0x102
        C [libpthread.so.0+0x76db] start_thread+0xdb


        Current CompileTask:
        C2: 4571 954 b 4 Test::vMeth2 (256 bytes)


        ---------- BEGIN SOURCE ----------
        Download TestVerifyGraphEdge.zip from:
        https://drive.google.com/file/d/1wqW5oEWTiDf1cUovCwAXSgpAyvw4BTHf/view?usp=sharing
        ---------- END SOURCE ----------

        FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

                thartmann Tobias Hartmann
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: