Assert JvmtiEnvBase::get_phase() == JVMTI_PHASE_LIVE) failed: invalid init sequence triggered

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 26, 27
    • Component/s: hotspot
    • None
    • aarch64
    • linux

      Recently, the test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java#id3 triggerd 2 times on linuxaarch64 the following assertion .
      Both asserts occurred in January 2026.

      # Internal Error (/priv/jenkins/ci2/client-home/workspace/openjdk-jdk-linux_aarch64-dbg/jdk/src/hotspot/share/jfr/recorder/jfrRecorder.cpp:243), pid=2272, tid=2274
      # assert(JvmtiEnvBase::get_phase() == JVMTI_PHASE_LIVE) failed: invalid init sequence

      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xf88648] JfrRecorder::on_create_vm_3()+0x344 (jfrRecorder.cpp:243)
      V [libjvm.so+0xef219c] Jfr::on_create_vm_3()+0xc (jfr.cpp:73)
      V [libjvm.so+0x1a2867c] Threads::create_vm(JavaVMInitArgs*, bool*)+0x99c (threads.cpp:865)
      V [libjvm.so+0xfec888] JNI_CreateJavaVM+0x78 (jni.cpp:3621)
      C [libjli.so+0x3eb0] JavaMain+0x80 (java.c:1506)
      C [libjli.so+0x772c] ThreadJavaMain+0xc (java_md.c:646)
      C [libpthread.so.0+0x875c] start_thread+0x18c

      Registers:
      R0=0x0000ffff95bcbd40
      R1=0x00000000000000f3
      R2=0x0000ffff95bcc180
      R3=0x0000ffff95bcc168
      R4=0x0000ffff9658e000
      R5=0x0000000000000058
      R6=0x0000000100000000
      R7=0x0000000000000000
      R8=0x0000000000000000
      R9=0x0000ffff93d6c250
      R10=0x00000000edb5ffff
      R11=0x000000000000ca10
      R12=0x0000ffff440a9210
      R13=0x000000000000270f
      R14=0x0000000000000000
      R15=0x0000000000000000
      R16=0x0000ffff961cf6e0
      R17=0x0000ffff9642fdc0
      R18=0x0000000000000001
      R19=0x0000ffff93d6c798
      R20=0x0000ffff93d6c7b8
      R21=0x0000ffff9624f1e0
      R22=0x0000ffff961d5ae0
      R23=0x0000ffff8c033910
      R24=0x0000ffff93d6c828
      R25=0x0000ffff93d6c7f0
      R26=0x0000ffff962b3670
      R27=0x0000ffff93d6c860
      R28=0x0000000000000000
      R29=0x0000ffff93d6c690

            Assignee:
            Unassigned
            Reporter:
            Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: