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

G1: assert(check_alignment(result)) failed: address not aligned: 0x00000008baadbabe after JDK-8270009

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b17
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Submit and assign this bug on behalf of tobytbzhang@tencent.com.

      Following test crashes on debug build with the options: "-XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -XX:+VerifyBeforeGC -XX:+VerifyRememberedSets".

      public class A {
          public static void main(String... args) {
              System.gc();
          }
      }

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/data1/ws/jdk/src/hotspot/share/oops/compressedOops.inline.hpp:135), pid=1161112, tid=1161119
      # assert(check_alignment(result)) failed: address not aligned: 0x00000008baadbabe
      #
      # JRE version: OpenJDK Runtime Environment (18.0) (fastdebug build 18-internal+0-adhoc.root.jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 18-internal+0-adhoc.root.jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xb3ef72] HeapRegion::block_size(HeapWordImpl* const*) const+0x232
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %e" (or dumping to /data1/ws/jdk/core.1161112)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

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

      Command Line: -Xlog:gc*=trace -XX:+UseG1GC -XX:+ExplicitGCInvokesConcurrent -XX:+VerifyBeforeGC -XX:+VerifyRememberedSets -Xmx4m A

      Host: VM-232-99-centos, AMD EPYC 7K62 48-Core Processor, 16 cores, 31G, CentOS Linux release 8.2.2.2004 (Core)
      Time: Fri Sep 24 14:21:40 2021 CST elapsed time: 0.054486 seconds (0d 0h 0m 0s)

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

      Current thread (0x00007f30a415adc0): VMThread "VM Thread" [stack: 0x00007f308c870000,0x00007f308c970000] [id=1161119]

      Stack: [0x00007f308c870000,0x00007f308c970000], sp=0x00007f308c96def0, free space=1015k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xb3ef72] HeapRegion::block_size(HeapWordImpl* const*) const+0x232
      V [libjvm.so+0xccabb1] HeapRegion::verify_rem_set(VerifyOption, bool*) const+0x201
      V [libjvm.so+0xccae37] HeapRegion::verify_rem_set() const+0x17
      V [libjvm.so+0xb6a4ed] VerifyRegionRemSetClosure::do_heap_region(HeapRegion*)+0x3d
      V [libjvm.so+0xcd7a39] HeapRegionManager::iterate(HeapRegionClosure*) const+0x159
      V [libjvm.so+0xb6881a] G1CollectedHeap::verify_before_young_collection(G1HeapVerifier::G1VerifyType)+0x8a
      V [libjvm.so+0xc2e662] G1YoungCollector::collect()+0x592
      V [libjvm.so+0xb61e89] G1CollectedHeap::do_collection_pause_at_safepoint_helper(double)+0xe9
      V [libjvm.so+0xb61fdb] G1CollectedHeap::do_collection_pause_at_safepoint(double)+0x9b
      V [libjvm.so+0xc2b5ef] VM_G1TryInitiateConcMark::doit()+0xff
      V [libjvm.so+0x1894cd7] VM_Operation::evaluate()+0x187
      V [libjvm.so+0x18b99b8] VMThread::inner_execute(VM_Operation*)+0x348
      V [libjvm.so+0x18ba433] VMThread::loop()+0x253
      V [libjvm.so+0x18ba6cd] VMThread::run()+0xbd
      V [libjvm.so+0x17bcbc8] Thread::call_run()+0xf8
      V [libjvm.so+0x13c6be9] thread_native_entry(Thread*)+0x109

      Register to memory mapping:

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hshi Hui Shi
              Reporter:
              hshi Hui Shi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: