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

misc tests fail "assert(ms < 1000) failed: Un-interruptable sleep, short time use only"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 19, 20
    • hotspot
    • jfr
    • x86_64
    • windows

      The following test failed in the JDK20 CI:

      vmTestbase/nsk/jvmti/GetEnvironmentLocalStorage/getenvstor001/TestDescription.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/314)----------
      command: main -agentlib:getenvstor001=-waittime=5 nsk.jvmti.GetEnvironmentLocalStorage.getenvstor001
      reason: User specified action: run main/othervm/native -agentlib:getenvstor001=-waittime=5 nsk.jvmti.GetEnvironmentLocalStorage.getenvstor001
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 11.068
      ----------configuration:(0/0)----------
      ----------System.out:(21/1423)*----------
      [2.737s][info][jfr,startup] Started recording 1. No limit specified, using maxsize=250MB as default.
      [2.737s][info][jfr,startup]
      [2.737s][info][jfr,startup] Use jcmd 18288 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=\\os_windows.cpp:3773
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:\\sb\\prod\\1655771373\\workspace\\open\\src\\hotspot\\os\\windows\\os_windows.cpp:3773), pid=18288, tid=28496
      # assert(ms < 1000) failed: Un-interruptable sleep, short time use only
      #
      # JRE version: Java(TM) SE Runtime Environment (20.0+3) (fastdebug build 20-ea+3-90)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 20-ea+3-90, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
      # Core dump will be written. Default location: C:\\sb\\prod\\1655795122\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\scratch\\0\\hs_err_pid18288.mdmp
      #
      # An error report file with more information is saved as:
      # C:\\sb\\prod\\1655795122\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\scratch\\0\\hs_err_pid18288.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      ----------System.err:(0/0)----------
      ----------rerun:(38/6517)*----------


      Here's snippets from the hs_err_pid log file:

      # Internal Error (c:\sb\prod\1655771373\workspace\open\src\hotspot\os\windows\os_windows.cpp:3773), pid=18288, tid=28496
      # assert(ms < 1000) failed: Un-interruptable sleep, short time use only
      #
      # JRE version: Java(TM) SE Runtime Environment (20.0+3) (fastdebug build 20-ea+3-90)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 20-ea+3-90, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)

      <snip>

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

      Current thread (0x00000202ccded850): JfrThreadSampler "JFR Thread Sampler" [stack: 0x0000001513900000,0x0000001513a00000] [id=28496]

      Stack: [0x0000001513900000,0x0000001513a00000]
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xc86561] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:235)
      V [jvm.dll+0xee8bcb] VMError::report+0x10eb (vmError.cpp:835)
      V [jvm.dll+0xeea70e] VMError::report_and_die+0x7fe (vmError.cpp:1687)
      V [jvm.dll+0xeeae94] VMError::report_and_die+0x64 (vmError.cpp:1468)
      V [jvm.dll+0x5a7f17] report_vm_error+0xb7 (debug.cpp:283)
      V [jvm.dll+0xc81133] os::naked_short_sleep+0x33 (os_windows.cpp:3773)
      V [jvm.dll+0x86c759] JfrThreadSampler::run+0x159 (jfrThreadSampler.cpp:527)
      V [jvm.dll+0xe5accc] Thread::call_run+0x1ac (thread.cpp:365)
      V [jvm.dll+0xc84e09] thread_native_entry+0xb9 (os_windows.cpp:545)
      C [ucrtbase.dll+0x1fb80]
      C [KERNEL32.DLL+0x84d4]
      C [ntdll.dll+0x51791]

            mgronlun Markus Grönlund
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: