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

Crash: assert(external_guard || result != nullptr) failed: Invalid JNI handle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 25
    • 24
    • hotspot

      Test: vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t002/TestDescription.java

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S15483/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f3570eed-8714-44ff-ac6d-836c9fb5a3d8/runs/629fc859-f21e-4be9-8595-59ce82d883eb/workspace/open/src/hotspot/share/runtime/jniHandles.inline.hpp:81), pid=712922, tid=713207
      # assert(external_guard || result != nullptr) failed: Invalid JNI handle
      #
      # JRE version: Java(TM) SE Runtime Environment (24.0+2) (fastdebug build 24-ea+2-95)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-ea+2-95, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xf7331c] jni_IsSameObject+0x5fc

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

      Current thread (0x00007f66dc01cd70): JavaThread "ForkJoinPool-1-worker-2" daemon [_thread_in_vm, id=713207, stack(0x00007f67576f8000,0x00007f67577f8000) (1024K)]

      Stack: [0x00007f67576f8000,0x00007f67577f8000], sp=0x00007f67577f6c70, free space=1019k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xf7331c] jni_IsSameObject+0x5fc (jniHandles.inline.hpp:81)
      C [libsp05t002.so+0x5789] callbackThreadStart+0x79 (jni.h:865)
      V [libjvm.so+0x1177cab] JvmtiExport::post_thread_start(JavaThread*)+0x1cb (jvmtiExport.cpp:1517)
      V [libjvm.so+0xe999e8] JavaThread::run()+0x128 (javaThread.cpp:734)
      V [libjvm.so+0x17ab8b6] Thread::call_run()+0xb6 (thread.cpp:225)
      V [libjvm.so+0x14963e7] thread_native_entry(Thread*)+0x127 (os_linux.cpp:849)
      Registers:
      RAX=0x00007f6790ac6000, RBX=0x00007f66dc01cd70, RCX=0x00007f678f7da7a0, RDX=0x00007f678f879780
      RSP=0x00007f67577f6c70, RBP=0x00007f67577f6d10, RSI=0x0000000000000051, RDI=0x00007f678f879630
      R8 =0x0000000000000006, R9 =0x0000000000000000, R10=0x0000000000000000, R11=0x0000000000000000
      R12=0x00007f66d0000fe0, R13=0x00007f678fe48356, R14=0x00007f678fe77f60, R15=0x00007f67577f6cd0
      RIP=0x00007f678ecd331c, EFLAGS=0x0000000000010246, CSGSFS=0x002b000000000033, ERR=0x0000000000000006
        TRAPNO=0x000000000000000e

            sspitsyn Serguei Spitsyn
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: