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

C2: crash in SubTypeCheckNode::sub() at IGVN split if

    XMLWordPrintable

Details

    • b06
    • generic

    Backports

      Description

        Originally reported at https://github.com/adoptium/containers/issues/336 and at https://youtrack.jetbrains.com/issue/KT-54693/SIGSEGV-0xb-at-pc0x0000000000000000-C2-CompilerThread0

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x0000000000000000, pid=1, tid=14
        #
        # JRE version: OpenJDK Runtime Environment Temurin-17.0.6+10 (17.0.6+10) (build 17.0.6+10)
        # Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.6+10 (17.0.6+10, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, serial gc, linux-amd64)
        # Problematic frame:
        # C 0x0000000000000000
        #
        # Core dump will be written. Default location: /core.%e.1.%t
        #
        # JFR recording file will be written. Location: //hs_err_pid1.jfr
        #
        # If you would like to submit a bug report, please visit:
        # https://github.com/adoptium/adoptium-support/issues
        #

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

        Command Line: -Xms192m -Xmx192m -XX:ErrorFile=/jvm-dumps/hs_err_pid%p.log -javaagent:/opt/dd-java-agent.jar -Ddd.version=20230219.1 -Ddd.service=svc-ui-sync dev.r36.mercury.uisync.MainKt

        Host: Intel(R) Xeon(R) CPU @ 2.20GHz, 4 cores, 728M, Ubuntu 22.04.1 LTS
        Time: Fri Feb 24 23:40:19 2023 UTC elapsed time: 510178.339438 seconds (5d 21h 42m 58s)

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

        Current thread (0x00007f30a806d090): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=14, stack(0x00007f30ac417000,0x00007f30ac517000)]


        Current CompileTask:
        C2:510178339 18521 ! 4 io.grpc.kotlin.ServerCalls$serverCallListener$requests$1::invokeSuspend (285 bytes)

        Stack: [0x00007f30ac417000,0x00007f30ac517000], sp=0x00007f30ac512988, free space=1006k

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

        Register to memory mapping:

        RAX=0x0000000000000011 is an unknown value
        RBX=0x00007f3078023228 points into unknown readable memory: 0x00007f30aeefebb8 | b8 eb ef ae 30 7f 00 00
        RCX=0x0 is NULL
        RDX=0x00007f30786db101 points into unknown readable memory: b0 6d 78 30 7f 00 00
        RSP=0x00007f30ac512988 is pointing into the stack for thread: 0x00007f30a806d090
        RBP=0x00007f30ac5129d0 is pointing into the stack for thread: 0x00007f30a806d090
        RSI=0x00007f30ae0ca250: <offset 0x00000000003df250> in /opt/java/openjdk/lib/server/libjvm.so at 0x00007f30adceb000
        RDI=0x00007f3078023228 points into unknown readable memory: 0x00007f30aeefebb8 | b8 eb ef ae 30 7f 00 00
        R8 =0x00007f30786db1a0 points into unknown readable memory: 0x00007f30aeeff288 | 88 f2 ef ae 30 7f 00 00
        R9 =0x00007f3078ae62d8 points into unknown readable memory: 0x00007f30aef9c0d0 | d0 c0 f9 ae 30 7f 00 00
        R10=0x00007f30784623e8 points into unknown readable memory: 0x00007f30aef9c1a0 | a0 c1 f9 ae 30 7f 00 00
        R11=0x00007f3078c0a4a0 points into unknown readable memory: 0x00007f30aef86bd8 | d8 6b f8 ae 30 7f 00 00
        R12=0x00007f3078699160 points into unknown readable memory: 0x00007f30aef79aa0 | a0 9a f7 ae 30 7f 00 00
        R13=0x00007f3079237610 points into unknown readable memory: 0x00007f30aef9c1a0 | a0 c1 f9 ae 30 7f 00 00
        R14=0x00007f3078ae6320 points into unknown readable memory: 0x00007f30aef81d50 | 50 1d f8 ae 30 7f 00 00
        R15=0x00007f30786db1a0 points into unknown readable memory: 0x00007f30aeeff288 | 88 f2 ef ae 30 7f 00 00

        Attachments

          1. 3992644_ideal.txt.gz
            233 kB
          2. 3992644_inlining.txt
            55 kB
          3. grpc-test.zip
            20 kB
          4. hs_err_pid1.log
            97 kB
          5. hs_err_pid1152816.log
            109 kB
          6. hs_err_pid2467188.log
            198 kB
          7. hs_err_pid3992644.log
            104 kB
          8. replay_pid1152816.log
            726 kB
          9. replay_pid2467188.log
            219 kB
          10. replay_pid3992644.log
            560 kB
          11. TestCrashAtIGVNSplitIfSubType.java
            0.8 kB

          Issue Links

            Activity

              People

                roland Roland Westrelin
                karianna Martijn Verburg
                Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: