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

SIGSEGV in C2 CompilerThread Node::rematerialize() compiling Packet::readUnsignedTrint

    XMLWordPrintable

Details

    • b01
    • b27
    • Verified

    Backports

      Description

        Manifestation with replay file and debug build:

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/tank/fmatte/repos/git/jdk17u-cpu/open/src/hotspot/share/opto/loopnode.cpp:5031), pid=31995, tid=32008
        # assert(s1->is_Proj()) failed: projection expected
        #
        # JRE version: Java(TM) SE Runtime Environment (17.0) (fastdebug build 17-internal+0-LTS-2021-11-22-0852176.fmatte...)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-internal+0-LTS-2021-11-22-0852176.fmatte..., mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x1322f55] PhaseIdealLoop::get_late_ctrl_with_anti_dep(LoadNode*, Node*, Node*)+0x8b5
        ..........
        Current thread (0x00007fe4fc27f580): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=32008, stack(0x00007fe4870ee000,0x00007fe4871ef000)]

        Current CompileTask:
        C2: 1324 20 b 4 com.tangosol.coherence.component.net.Packet::readUnsignedTrint (43 bytes)

        Stack: [0x00007fe4870ee000,0x00007fe4871ef000], sp=0x00007fe4871e90d0, free space=1004k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x1322f55] PhaseIdealLoop::get_late_ctrl_with_anti_dep(LoadNode*, Node*, Node*)+0x8b5
        V [libjvm.so+0x13238a1] PhaseIdealLoop::get_late_ctrl(Node*, Node*)+0x121
        V [libjvm.so+0x1323b6d] PhaseIdealLoop::build_loop_late_post_work(Node*, bool)+0x22d
        V [libjvm.so+0x13240ea] PhaseIdealLoop::build_loop_late(VectorSet&, Node_List&, Node_Stack&)+0xba
        V [libjvm.so+0x1324a57] PhaseIdealLoop::build_and_optimize(LoopOptsMode)+0x507
        V [libjvm.so+0xa37aaa] PhaseIdealLoop::optimize(PhaseIterGVN&, LoopOptsMode)+0x2da
        V [libjvm.so+0xa33456] Compile::Optimize()+0x586
        V [libjvm.so+0xa35f48] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, bool, DirectiveSet*)+0x1618
        V [libjvm.so+0x84b356] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x646
        V [libjvm.so+0xa45f91] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xb71
        V [libjvm.so+0xa46c38] CompileBroker::compiler_thread_loop()+0x5a8
        V [libjvm.so+0x18dd961] JavaThread::thread_main_inner()+0x271
        V [libjvm.so+0x18e4f50] Thread::call_run()+0x100
        V [libjvm.so+0x15aaca4] thread_native_entry(Thread*)+0x104

        Attachments

          Issue Links

            Activity

              People

                chagedorn Christian Hagedorn
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: