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

misc tests fail "assert(*dirty_r == clean_card || dirty_r == iter_limit_r) failed: inv"

XMLWordPrintable

    • gc
    • x86_64, aarch64
    • linux, os_x_10.15

      The following test failed in the JDK19 CI:

      serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorGCParallelTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/281)----------
      command: main -agentlib:HeapMonitorTest -XX:+UseParallelGC MyPackage.HeapMonitorGCTest
      reason: User specified action: run main/othervm/native -agentlib:HeapMonitorTest -XX:+UseParallelGC MyPackage.HeapMonitorGCTest
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 13.37
      ----------configuration:(0/0)----------
      ----------System.out:(18/1434)----------
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/psCardTable.cpp:306
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/a2dc162d-743b-4800-9e92-31f85abb45b1-S159020/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3b69589c-75c4-4e4f-bc7d-d50d33f5d11f/runs/bd9c05f4-ebd0-4fe3-af8a-c7923d48825c/workspace/open/src/hotspot/share/gc/parallel/psCardTable.cpp:306), pid=74715, tid=19971
      # assert(*dirty_r == clean_card || dirty_r == iter_limit_r) failed: inv
      #
      # JRE version: Java(TM) SE Runtime Environment (19.0+11) (fastdebug build 19-ea+11-604)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 19-ea+11-604, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, parallel gc, bsd-amd64)
      # Core dump will be written. Default location: core.74715
      #
      # An error report file with more information is saved as:
      # /System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S13277/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/8808b8d7-dc07-4ec4-8ced-6fb4b5ad7d3c/runs/28854d3c-c830-4726-b808-ddeae8228a91/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/scratch/4/hs_err_pid74715.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      ----------System.err:(2/63)----------
      Checking storage count 2667
      Checking garbage storage count 200
      ----------rerun:(35/6505)*----------

      Here's the crashing thread's stack:

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

      Current thread (0x00007fb191116520): WorkerThread "GC Thread#0" [stack: 0x0000700007b1c000,0x0000700007c1c000] [id=19971]

      Stack: [0x0000700007b1c000,0x0000700007c1c000], sp=0x0000700007c1ba30, free space=1022k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x1187df9] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x6e9
      V [libjvm.dylib+0x118847b] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x3b
      V [libjvm.dylib+0x63ebbd] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
      V [libjvm.dylib+0xf115ce] PSCardTable::scavenge_contents_parallel(ObjectStartArray*, MutableSpace*, HeapWordImpl**, PSPromotionManager*, unsigned int, unsigned int)+0x65e
      V [libjvm.dylib+0xf449f8] ScavengeRootsTask::work(unsigned int)+0x168
      V [libjvm.dylib+0x11e62cd] WorkerThread::run()+0x7d
      V [libjvm.dylib+0x10d5987] Thread::call_run()+0x177
      V [libjvm.dylib+0xea31a0] thread_native_entry(Thread*)+0x150
      C [libsystem_pthread.dylib+0x6109] _pthread_start+0x94
      C [libsystem_pthread.dylib+0x1b8b] thread_start+0xf

      Starting this bug as a P2 since this is a Tier1 test failure.

            ayang Albert Yang
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: