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

JVMTI GetClassSignature/getclsig005 failed "assert(_adapter.pos() == this->start_pos()) failed: invariant"

XMLWordPrintable

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

      The following test failed in the JDK19 CI:

      vmTestbase/nsk/jvmti/GetClassSignature/getclsig005/TestDescription.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/263)----------
      command: main -agentlib:getclsig005 nsk.jvmti.GetClassSignature.getclsig005
      reason: User specified action: run main/othervm/native -agentlib:getclsig005 nsk.jvmti.GetClassSignature.getclsig005
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 5.847
      ----------configuration:(0/0)----------
      ----------System.out:(21/1441)*----------
      [2.135s][info][jfr,startup] Started recording 1. No limit specified, using maxsize=250MB as default.
      [2.135s][info][jfr,startup]
      [2.135s][info][jfr,startup] Use jcmd 20416 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=\\jfr/writers/jfrStorageHost.inline.hpp:79
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:\\sb\\prod\\1655229940\\workspace\\open\\src\\hotspot\\share\\jfr/writers/jfrStorageHost.inline.hpp:79), pid=20416, tid=62384
      # assert(_adapter.pos() == this->start_pos()) failed: invariant
      #
      # JRE version: Java(TM) SE Runtime Environment (19.0+27) (fastdebug build 19-ea+27-2073)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 19-ea+27-2073, mixed mode, sharing, tiered, compressed class ptrs, g1 gc, windows-amd64)
      # Core dump will be written. Default location: C:\\sb\\prod\\1655344039\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\scratch\\0\\hs_err_pid20416.mdmp
      #
      # An error report file with more information is saved as:
      # C:\\sb\\prod\\1655344039\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\scratch\\0\\hs_err_pid20416.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/6550)*----------


      Here's the crashing thread's stack:

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

      Current thread (0x000001a1f477bc70): JfrThreadSampler "JFR Thread Sampler" [stack: 0x0000001e41a00000,0x0000001e41b00000] [id=62384]

      Stack: [0x0000001e41a00000,0x0000001e41b00000]
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xc84b61] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:235)
      V [jvm.dll+0xee62db] VMError::report+0x10eb (vmError.cpp:835)
      V [jvm.dll+0xee7e1e] VMError::report_and_die+0x7fe (vmError.cpp:1687)
      V [jvm.dll+0xee85a4] VMError::report_and_die+0x64 (vmError.cpp:1468)
      V [jvm.dll+0x5a7167] report_vm_error+0xb7 (debug.cpp:283)
      V [jvm.dll+0x821794] JfrCheckpointWriter::release+0xb4 (jfrCheckpointWriter.cpp:124)
      V [jvm.dll+0x8213bd] JfrCheckpointWriter::~JfrCheckpointWriter+0x11d (jfrCheckpointWriter.cpp:107)
      V [jvm.dll+0x8727bb] JfrTypeManager::write_checkpoint+0x17b (jfrTypeManager.cpp:132)
      V [jvm.dll+0x81fe98] JfrCheckpointManager::write_checkpoint+0x48 (jfrCheckpointManager.cpp:584)
      V [jvm.dll+0x868d62] JfrThreadLocal::on_start+0x52 (jfrThreadLocal.cpp:120)
      V [jvm.dll+0xe58948] Thread::call_run+0xc8 (thread.cpp:349)
      V [jvm.dll+0xc83409] thread_native_entry+0xb9 (os_windows.cpp:545)
      C [ucrtbase.dll+0x26b4c]
      C [KERNEL32.DLL+0x14ed0]
      C [ntdll.dll+0x7e39b]

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

              Created:
              Updated:
              Resolved: