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

MutableSpaceUsedHelper::take_sample() hits assert(left >= right) failed: avoid overflow

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b28

      Backports

        Description

        Test: gc/stress/jfr/TestStressBigAllocationGCEventsWithParallel.java

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S79132/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7f48f342-d7da-4234-a78a-548d0a1371c4/runs/7a4f980a-d96c-49aa-b54f-f5ca83ae7018/workspace/open/src/hotspot/share/utilities/globalDefinitions.hpp:424), pid=2983, tid=2998
        # assert(left >= right) failed: avoid underflow - left: 0x00000000fe200000 right: 0x00000000fe280000
        #
        # JRE version: Java(TM) SE Runtime Environment (17.0) (fastdebug build 17-internal+0-LTS-2021-06-01-0606360.david.holmes.jdk-dev4.git)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-internal+0-LTS-2021-06-01-0606360.david.holmes.jdk-dev4.git, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x1748442] MutableSpaceUsedHelper::take_sample()+0x72
        #
        # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78974/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a1672af1-ff52-493c-b742-6917ddbb5fc7/runs/8a51b92b-fabb-4bc4-8b80-a450e841d099/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_gc/scratch/3/core.2983)
        #
        # JFR recording file will be written. Location: /opt/mach5/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S78974/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a1672af1-ff52-493c-b742-6917ddbb5fc7/runs/8a51b92b-fabb-4bc4-8b80-a450e841d099/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_gc/scratch/3/hs_err_pid2983.jfr
        #
        # If you would like to submit a bug report, please visit:
        # https://bugreport.java.com/bugreport/crash.jsp
        #

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

        Current thread (0x00007fbb881b4160): WatcherThread [stack: 0x00007fbb4bcfe000,0x00007fbb4bdfe000] [id=2998]

        Stack: [0x00007fbb4bcfe000,0x00007fbb4bdfe000], sp=0x00007fbb4bdfcd60, free space=1019k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x1748442] MutableSpaceUsedHelper::take_sample()+0x72
        V [libjvm.so+0x15e842f] PerfLongVariant::sample()+0x1f
        V [libjvm.so+0x1764c82] StatSampler::sample_data(PerfDataList*)+0x32
        V [libjvm.so+0x185329d] PeriodicTask::real_time_tick(int)+0x8d
        V [libjvm.so+0x1512fef] WatcherThread::run()+0x10f
        V [libjvm.so+0x18ab600] Thread::call_run()+0x100
        V [libjvm.so+0x157720e] thread_native_entry(Thread*)+0x10e

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kbarrett Kim Barrett
                Reporter:
                mgronlun Markus Grönlund
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: