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

[TESTBUG] Crash with assert(external_guard || result != __null) failed: Invalid JNI handle

XMLWordPrintable

    • b13

        # Internal Error (/scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S77524/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/433fc07e-7409-4215-aa14-87aa9ac7dad3/runs/59ac5523-38cf-4ce8-ba84-98b2aaab67e9/workspace/open/src/hotspot/share/runtime/jniHandles.inline.hpp:63), pid=19726, tid=19761
        # assert(external_guard || result != __null) failed: Invalid JNI handle
        #
        # JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-internal+0-jdk13-jdk.396)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-internal+0-jdk13-jdk.396, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0xe8e3e4] jni_IsSameObject+0x784

        Stack: [0x00007fa14d669000,0x00007fa14d76a000], sp=0x00007fa14d7680f0, free space=1020k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0xe8e3e4] jni_IsSameObject+0x784
        C [libmonitorwaited001.so+0x5e7c] MonitorWaited+0xbc
        V [libjvm.so+0x1063529] JvmtiExport::post_monitor_waited(JavaThread*, ObjectMonitor*, unsigned char)+0x1a9
        V [libjvm.so+0x1307587] ObjectMonitor::wait(long, bool, Thread*)+0xdd7
        V [libjvm.so+0x15d1ae3] ObjectSynchronizer::wait(Handle, long, Thread*)+0x93
        V [libjvm.so+0xef3af4] JVM_MonitorWait+0x114
        j java.lang.Object.wait(J)V+0 java.base@13-internal
        j jdk.jfr.internal.PlatformRecorder.takeNap(J)V+24 jdk.jfr@13-internal
        j jdk.jfr.internal.PlatformRecorder.periodicTask()V+51 jdk.jfr@13-internal
        j jdk.jfr.internal.PlatformRecorder.lambda$startDiskMonitor$1()V+1 jdk.jfr@13-internal
        j jdk.jfr.internal.PlatformRecorder$$Lambda$56.run()V+4 jdk.jfr@13-internal
        j java.lang.Thread.run()V+11 java.base@13-internal
        v ~StubRoutines::call_stub
        V [libjvm.so+0xda8e6a] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x76a
        V [libjvm.so+0xda4c6a] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*)+0x3ea
        V [libjvm.so+0xeeefc3] thread_entry(JavaThread*, Thread*)+0xa3
        V [libjvm.so+0x1640b5a] JavaThread::thread_main_inner()+0x26a
        V [libjvm.so+0x164889e] JavaThread::run()+0x1ae
        V [libjvm.so+0x1646376] Thread::call_run()+0xf6
        V [libjvm.so+0x13553ad] thread_native_entry(Thread*)+0x10d

        Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
        j java.lang.Object.wait(J)V+0 java.base@13-internal
        j jdk.jfr.internal.PlatformRecorder.takeNap(J)V+24 jdk.jfr@13-internal
        j jdk.jfr.internal.PlatformRecorder.periodicTask()V+51 jdk.jfr@13-internal
        j jdk.jfr.internal.PlatformRecorder.lambda$startDiskMonitor$1()V+1 jdk.jfr@13-internal
        j jdk.jfr.internal.PlatformRecorder$$Lambda$56.run()V+4 jdk.jfr@13-internal
        j java.lang.Thread.run()V+11 java.base@13-internal
        v ~StubRoutines::call_stub

              cjplummer Chris Plummer
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: