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

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

    XMLWordPrintable

Details

    • jfr
    • b28

    Backports

      Description

        The following test failed in the JDK19 CI:

        vmTestbase/nsk/jvmti/scenarios/hotswap/HS302/hs302t002/hs302t002.java

        Here's a snippet from the log file:

        #section:main
        ----------messages:(4/435)----------
        command: main -agentlib:hs302t002=pathToNewByteCode=./bin,-waittime=5,package=nsk,samples=100,mode=compiled nsk.jvmti.scenarios.hotswap.HS302.hs302t002.hs302t002
        reason: User specified action: run main/othervm/native -agentlib:hs302t002=pathToNewByteCode=./bin,-waittime=5,package=nsk,samples=100,mode=compiled nsk.jvmti.scenarios.hotswap.HS302.hs302t002.hs302t002
        Mode: othervm [/othervm specified]
        elapsed time (seconds): 4.085
        ----------configuration:(0/0)----------
        ----------System.out:(30/1899)*----------
        Agent:: VM.. Started..
         Enabled. noftification..[2.238s][info][jfr,startup] Started recording 1. No limit specified, using maxsize=250MB as default.
        [2.238s][info][jfr,startup]
        [2.238s][info][jfr,startup] Use jcmd 81124 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
        # info :: File = ./bin/newclass00/nsk/jvmti/scenarios/hotswap/HS302/hs302t002/MyClass.class
        # info **Agent:: opening file ./bin/newclass00/nsk/jvmti/scenarios/hotswap/HS302/hs302t002/MyClass.class
        # info file size= 728
         File red completely
        # error occured while redefining JVMTI_ERROR_UNSUPPORTED_REDEFINITION_METHOD_MODIFIERS_CHANGED Redefine failed ..
         Constructor..
         cls.toString() public
         Passed ..
        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=\\os_windows.cpp:3762
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (c:\\sb\\prod\\1655746817\\workspace\\open\\src\\hotspot\\os\\windows\\os_windows.cpp:3762), pid=81124, tid=64432
        # assert(ms < 1000) failed: Un-interruptable sleep, short time use only
        #
        # JRE version: Java(TM) SE Runtime Environment (19.0+28) (fastdebug build 19-ea+28-2096)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 19-ea+28-2096, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
        # Core dump will be written. Default location: C:\\sb\\prod\\1655809690\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\scratch\\3\\hs_err_pid81124.mdmp
        #
        # An error report file with more information is saved as:
        # C:\\sb\\prod\\1655809690\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\scratch\\3\\hs_err_pid81124.log
        #
        # If you would like to submit a bug report, please visit:
        # https://bugreport.java.com/bugreport/crash.jsp
        #
        ----------System.err:(0/0)----------
        ----------rerun:(40/7054)*----------

        Here's the crashing thread's stack:

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

        Current thread (0x000001e407df7db0): JfrThreadSampler "JFR Thread Sampler" [stack: 0x0000000f9d500000,0x0000000f9d600000] [id=64432]

        Stack: [0x0000000f9d500000,0x0000000f9d600000]
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [jvm.dll+0xc84f41] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:235)
        V [jvm.dll+0xee66eb] VMError::report+0x10eb (vmError.cpp:835)
        V [jvm.dll+0xee822e] VMError::report_and_die+0x7fe (vmError.cpp:1687)
        V [jvm.dll+0xee89b4] VMError::report_and_die+0x64 (vmError.cpp:1468)
        V [jvm.dll+0x5a7137] report_vm_error+0xb7 (debug.cpp:283)
        V [jvm.dll+0xc7fb13] os::naked_short_sleep+0x33 (os_windows.cpp:3762)
        V [jvm.dll+0x86b489] JfrThreadSampler::run+0x159 (jfrThreadSampler.cpp:527)
        V [jvm.dll+0xe58e0c] Thread::call_run+0x1ac (thread.cpp:365)
        V [jvm.dll+0xc837e9] thread_native_entry+0xb9 (os_windows.cpp:545)
        C [ucrtbase.dll+0x1fb80]
        C [KERNEL32.DLL+0x84d4]
        C [ntdll.dll+0x51791]

        Attachments

          Issue Links

            Activity

              People

                mgronlun Markus Grönlund
                mgronlun Markus Grönlund
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: