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

Shenandoah: crash in CallNode::extract_projections

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b14

      Description

      Happens reliably with tier1 tests like:

      $ CONF=linux-x86_64-server-fastdebug make images run-test TEST=compiler/c2/InterruptedTest.java TEST_VM_OPTS="-XX:+UseShenandoahGC"

      # SIGSEGV (0xb) at pc=0x00007f3b26f0624f, pid=2445078, tid=2445091
      #
      # JRE version: OpenJDK Runtime Environment (16.0) (fastdebug build 16-internal+0-adhoc.shade.jdk-jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 16-internal+0-adhoc.shade.jdk-jdk, mixed mode, sharing, tiered, compressed oops, shenandoah gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x7a124f] CallNode::extract_projections(CallProjections*, bool, bool)+0x38f

      Current CompileTask:
      C2: 173 109 % 4 compiler.c2.InterruptedTest$1::run @ 8 (29 bytes)

      Stack: [0x00007f3afaeee000,0x00007f3afafef000], sp=0x00007f3afafe85f0, free space=1001k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x7a124f] CallNode::extract_projections(CallProjections*, bool, bool)+0x38f
      V [libjvm.so+0x171e02e] ShenandoahBarrierC2Support::find_bottom_mem(Node*, PhaseIdealLoop*)+0xce
      V [libjvm.so+0x171ff1d] ShenandoahBarrierC2Support::call_lrb_stub(Node*&, Node*&, Node*, Node*&, Node*, bool, PhaseIdealLoop*)+0xcd
      V [libjvm.so+0x172effa] ShenandoahBarrierC2Support::pin_and_expand(PhaseIdealLoop*)+0x1eba
      V [libjvm.so+0x16507b4] ShenandoahBarrierSetC2::optimize_loops(PhaseIdealLoop*, LoopOptsMode, VectorSet&, Node_Stack&, Node_List&) const+0x44
      V [libjvm.so+0x1239bbb] PhaseIdealLoop::build_and_optimize(LoopOptsMode)+0xf2b
      V [libjvm.so+0x17230e2] ShenandoahBarrierC2Support::expand(Compile*, PhaseIterGVN&)+0x202
      V [libjvm.so+0x1650683] ShenandoahBarrierSetC2::expand_barriers(Compile*, PhaseIterGVN&) const+0x13
      V [libjvm.so+0x939878] Compile::Optimize()+0x10b8
      V [libjvm.so+0x93af20] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1500
      V [libjvm.so+0x788728] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x188
      V [libjvm.so+0x948999] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xbe9
      V [libjvm.so+0x949540] CompileBroker::compiler_thread_loop()+0x620
      V [libjvm.so+0x18a70df] JavaThread::thread_main_inner()+0x23f
      V [libjvm.so+0x18ac5a4] Thread::call_run()+0x104
      V [libjvm.so+0x149100e] thread_native_entry(Thread*)+0x11e

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

      Probably caused by JDK-8251527.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              roland Roland Westrelin
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: