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

misc tests fail "assert(queue.is_active()) failed: precondition"

    XMLWordPrintable

Details

    • gc
    • x86_64
    • os_x, windows

    Description

      The following test failed in the JDK20 CI:

      applications/kitchensink/Kitchensink.java

      Here's a snippet from the log file:

      ----------System.out:(35/3461)----------
      /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+10-548/src.full/closed/test/hotspot/jtreg/applications/kitchensink/applications/kitchensink/resources/kitchensink.default.properties
      /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+10-548/src.full/closed/test/hotspot/jtreg/applications/kitchensink/resources/kitchensink.default.properties
      /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+10-548/src.full/closed/test/hotspot/jtreg/applications/kitchensink/applications/kitchensink/resources/kitchensink.default.properties
      /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+10-548/src.full/closed/test/hotspot/jtreg/applications/kitchensink/resources/kitchensink.default.properties
      [stress.process.out] For random generator using seed: -3065117530786744405
      [stress.process.out] To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-3065117530786744405" to command line.
      [stress.process.out] Stress process main method is started.
      [stress.process.out] #
      [stress.process.out] # A fatal error has been detected by the Java Runtime Environment:
      [stress.process.out] #
      [stress.process.out] # Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S40290/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/92a310ac-3afa-4ba2-a843-9a52e21408aa/runs/1a462265-5287-4334-bf58-d08ad8c2b19a/workspace/open/src/hotspot/share/gc/shared/satbMarkQueue.cpp:230), pid=65333, tid=27907
      [stress.process.out] # assert(queue.is_active()) failed: precondition
      [stress.process.out] #
      [stress.process.out] # JRE version: Java(TM) SE Runtime Environment (20.0+10) (fastdebug build 20-ea+10-548)
      [stress.process.out] # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 20-ea+10-548, compiled mode, sharing, tiered, compressed class ptrs, g1 gc, bsd-amd64)
      [stress.process.out] # Core dump will be written. Default location: core.65333
      [stress.process.out] #
      [stress.process.out] Unsupported internal testing APIs have been used.
      [stress.process.out]
      [stress.process.out] # An error report file with more information is saved as:
      [stress.process.out] # /System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S40290/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/3b2b6ef1-c4ed-4c71-9257-b6975fb6004c/runs/dbba54f6-d6a7-4f61-91ac-6fba2f17eaa4/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/hs_err_pid65333.log
      [stress.process.out] #
      [stress.process.out] # If you would like to submit a bug report, please visit:
      [stress.process.out] # https://bugreport.java.com/bugreport/crash.jsp
      [stress.process.out] #
      [2022-08-11T00:31:47.115869Z] Gathering output for process 65335
      [2022-08-11T00:31:59.338984Z] Waiting for completion for process 65335
      [2022-08-11T00:31:59.367767Z] Waiting for completion finished for process 65335
      Output and diagnostic info for process 65335 was saved into 'pid-65335-output.log'
      [2022-08-11T00:31:59.450031Z] Waiting for completion for process 65335
      [2022-08-11T00:31:59.450268Z] Waiting for completion finished for process 65335
      [2022-08-11T00:31:59.450535Z] Waiting for completion for process 65335
      [2022-08-11T00:31:59.450558Z] Waiting for completion finished for process 65335
      [2022-08-11T00:31:59.731287Z] Waiting for completion for process 65335
      [2022-08-11T00:31:59.731340Z] Waiting for completion finished for process 65335
      ----------System.err:(132/17174)----------


      Here's the crashing thread's stack:

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

      Current thread (0x00007f92c0086010): JavaThread "LockDeflationStressModule" [_thread_in_Java, id=27907, stack(0x000070000b4d6000,0x000070000b5d6000)]

      Stack: [0x000070000b4d6000,0x000070000b5d6000], sp=0x000070000b5d52b0, free space=1020k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x12c1f49] 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+0x12c25cb] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x3b
      V [libjvm.dylib+0x6d297d] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
      V [libjvm.dylib+0x10ab5bf] SATBMarkQueueSet::enqueue_known_active(SATBMarkQueue&, oop)+0x3f
      V [libjvm.dylib+0x8050e1] G1BarrierSetRuntime::write_ref_field_pre_entry(oopDesc*, JavaThread*)+0xf1
      v ~RuntimeStub::g1_pre_barrier_slow 0x000000011cc46da7

      [error occurred during error reporting (printing native stack), id 0xe0000000, Internal Error (/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S40290/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/92a310ac-3afa-4ba2-a843-9a52e21408aa/runs/1a462265-5287-4334-bf58-d08ad8c2b19a/workspace/open/src/hotspot/cpu/x86/frame_x86.inline.hpp:398)]

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: