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

Back to Back full G1 GCs cause SIGSEV (JDK 21.0.1)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2
    • 22
    • 21.0.1
    • hotspot
    • Host: Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz, 64 cores, 16G, CentOS Linux release 7.9.2009 (Core)

    • gc
    • x86_64
    • linux

    Description

      A high pressure benchmark triggerring fullgc about 4~5 times per second on a web service tiggers SIGSEGV with the following log:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007f8d8beb7498, pid=37, tid=124
      #
      # JRE version: OpenJDK Runtime Environment Temurin-21.0.1+12 (21.0.1+12) (build 21.0.1+12-LTS)
      # Java VM: OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (21.0.1+12-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x7e5498] void OopOopIterateDispatch<G1MarkAndPushClosure>::Table::oop_oop_iterate<InstanceKlass, narrowOop>(G1MarkAndPushClosure*, oopDesc*, Klass*)+0x1a8
      #
      # Core dump will be written. Default location: //core.37
      #
      # 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: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED -Djava.util.logging.config.file=/uuuu/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xms13g -Xmx13g -Xss256k -XX:+UseG1GC -XX:MaxGCPauseMillis=300 -XX:ParallelGCThreads=16 -XX:ConcGCThreads=8 -XX:InitiatingHeapOccupancyPercent=30 ...<skip some>... org.apache.catalina.startup.Bootstrap start

      Host: Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz, 64 cores, 16G, CentOS Linux release 7.9.2009 (Core)
      Time: Fri Nov 24 13:13:39 2023 CST elapsed time: 5732.373477 seconds (0d 1h 35m 32s)

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

      Current thread (0x00007f8d2ba19c00): WorkerThread "GC Thread#12" [id=124, stack(0x00007f8d1eb00000,0x00007f8d1ec00000) (1024K)]

      Stack: [0x00007f8d1eb00000,0x00007f8d1ec00000], sp=0x00007f8d1ebfd3b0, free space=1012k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x7e5498] void OopOopIterateDispatch<G1MarkAndPushClosure>::Table::oop_oop_iterate<InstanceKlass, narrowOop>(G1MarkAndPushClosure*, oopDesc*, Klass*)+0x1a8
      V [libjvm.so+0x7eff00] G1FullGCMarker::complete_marking(GenericTaskQueueSet<OverflowTaskQueue<oopDesc*, (MEMFLAGS)5, 131072u>, (MEMFLAGS)5>*, GenericTaskQueueSet<OverflowTaskQueue<ObjArrayTask, (MEMFLAGS)5, 131072u>, (MEMFLAGS)5>*, TaskTerminator*)+0x490
      V [libjvm.so+0x7edf00] G1FullGCMarkTask::work(unsigned int)+0xe0
      V [libjvm.so+0x1017ca0] WorkerThread::run()+0x80
      V [libjvm.so+0xf5b8e8] Thread::call_run()+0xa8
      V [libjvm.so+0xcea59a] thread_native_entry(Thread*)+0xda

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

      Registers:
      RAX=0x00007f8db2ce3000, RBX=0x00000007b980c068, RCX=0x0000000000000000, RDX=0x00007f8d8cb6ffa0
      RSP=0x00007f8d1ebfd3b0, RBP=0x00007f8d1ebfd410, RSI=0x0000000000002000, RDI=0x00007f8d5bee0300
      R8 =0x0000000000135918, R9 =0x00007f8d29162f48, R10=0x0000000000000004, R11=0x0000000000000001
      R12=0x00007f8caae5f800, R13=0x00007f8caae5fdb0, R14=0x00000007289d9484, R15=0x00000007289d9470
      RIP=0x00007f8d8beb7498, EFLAGS=0x0000000000010206, CSGSFS=0x002b000000000033, ERR=0x0000000000000004
        TRAPNO=0x000000000000000e

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              karianna Martijn Verburg
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: