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

JvmtiEnvBase::check_and_skip_hidden_frames hits Error: assert(jvf != __null && jvf->method() != __null) failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-loom
    • repo-loom
    • hotspot
    • None

      serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java a is hitting an assert in loom-tier6.

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/src/hotspot/share/prims/jvmtiEnvBase.cpp:635), pid=316424, tid=316434
      # Error: assert(jvf != __null && jvf->method() != __null) failed
      #
      # JRE version: Java(TM) SE Runtime Environment (19.0+5) (fastdebug build 19-loom+5-300)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 19-loom+5-300, compiled mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x1387845] JvmtiEnvBase::check_and_skip_hidden_frames(bool, javaVFrame*)+0xf5

      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1387845] JvmtiEnvBase::check_and_skip_hidden_frames(bool, javaVFrame*)+0xf5
      V [libjvm.so+0x138e2d8] JvmtiEnvBase::get_vthread_jvf(oop)+0x218
      V [libjvm.so+0x138ed23] MultipleStackTracesCollector::fill_frames(_jobject*, JavaThread*, oop)+0x1c3
      V [libjvm.so+0x138efee] VM_GetThreadListStackTraces::doit()+0x18e
      V [libjvm.so+0x1b91d1a] VM_Operation::evaluate()+0x18a
      V [libjvm.so+0x1bb717b] VMThread::evaluate_operation(VM_Operation*)+0x1ab
      V [libjvm.so+0x1bb88ef] VMThread::inner_execute(VM_Operation*)+0x41f
      V [libjvm.so+0x1bb8ab5] VMThread::loop()+0xb5
      V [libjvm.so+0x1bb8bd4] VMThread::run()+0xb4
      V [libjvm.so+0x1a97fd0] Thread::call_run()+0x100
      V [libjvm.so+0x17672c4] thread_native_entry(Thread*)+0x104

            rpressler Ron Pressler
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: