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

Incomplete initialization of scan_top values results in out-of-bounds scanning of regions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 14
    • 14
    • hotspot
    • gc
    • b29

        Test failure during CI tier6-comp-aot testing of jdk-14+25-1178 build):

        test - vmTestbase/vm/gc/concurrent/lp30yp25rp30mr70st0/TestDescription.java

          ExitCode: 134
          Crash: SIGSEGV
          Crash: V ...[libjvm.so+...] G1BlockOffsetTablePart::forward_to_block_containing_addr_slow(HeapWordImpl**, HeapWordImpl**, void const*)+...


        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x00007f821884b3ee, pid=7871, tid=7875
        #
        # JRE version: Java(TM) SE Runtime Environment (14.0+25) (fastdebug build 14-ea+25-1178)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+25-1178, mixed mode, aot, sharing, tiered, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0xb713ee] G1BlockOffsetTablePart::forward_to_block_containing_addr_slow(HeapWordImpl**, HeapWordImpl**, void const*)+0x2de
        ........................
        --------------- T H R E A D ---------------

        Current thread (0x00007f821009d000): GCTaskThread "GC Thread#0" [stack: 0x00007f82154d2000,0x00007f82155d2000] [id=7875]

        Stack: [0x00007f82154d2000,0x00007f82155d2000], sp=0x00007f82155d08b0, free space=1018k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0xb713ee] G1BlockOffsetTablePart::forward_to_block_containing_addr_slow(HeapWordImpl**, HeapWordImpl**, void const*)+0x2de
        V [libjvm.so+0xc1d91e] G1BlockOffsetTablePart::block_start(void const*) [clone .part.250]+0x2ee
        V [libjvm.so+0xc263e8] HeapWordImpl** HeapRegion::oops_on_memregion_seq_iterate_careful<true, G1ScanCardClosure>(MemRegion, G1ScanCardClosure*)+0x1e8
        V [libjvm.so+0xc2e416] G1ScanHRForRegionClosure::scan_heap_roots(HeapRegion*)+0x636
        V [libjvm.so+0xc1ee88] G1RemSet::scan_heap_roots(G1ParScanThreadState*, unsigned int, G1GCPhaseTimes::GCParPhases, G1GCPhaseTimes::GCParPhases)+0x368
        V [libjvm.so+0xb968d1] G1EvacuateOptionalRegionsTask::scan_roots(G1ParScanThreadState*, unsigned int)+0x31
        V [libjvm.so+0xb97193] G1EvacuateRegionsBaseTask::work(unsigned int)+0x83
        V [libjvm.so+0x17a26f4] GangWorker::run_task(WorkData)+0x84
        V [libjvm.so+0x17a2838] GangWorker::loop()+0x48
        V [libjvm.so+0x1679b86] Thread::call_run()+0xf6
        V [libjvm.so+0x13ab79e] thread_native_entry(Thread*)+0x10e

              sjohanss Stefan Johansson
              rraghavan Rahul Raghavan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: