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

Crash in Continuation.enterSpecial: stop: tried to execute native method as non-native

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 19
    • Fix Version/s: 19
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b26
    • CPU:
      aarch64
    • OS:
      os_x
    • Verification:
      Verified

      Description

      Test: serviceability/jvmti/vthread/RawMonitorTest/RawMonitorTest.java


      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (0xe0000000), pid=31869, tid=41219
      # stop: tried to execute native method as non-native
      #
      # JRE version: Java(TM) SE Runtime Environment (19.0+24) (fastdebug build 19-ea+24-1795)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 19-ea+24-1795, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
      # Problematic frame:
      # j jdk.internal.vm.Continuation.enterSpecial(Ljdk/internal/vm/Continuation;ZZ)V+0 java.base@19-ea
      #
      # Core dump will be written. Default location: core.31869
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

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

      Current thread (0x000000013d809010): JavaThread "ForkJoinPool-1-worker-2" daemon [_thread_in_Java, id=41219, stack(0x0000000170354000,0x0000000170557000)]

      Stack: [0x0000000170354000,0x0000000170557000], sp=0x00000001705564a0, free space=2057k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      j jdk.internal.vm.Continuation.enterSpecial(Ljdk/internal/vm/Continuation;ZZ)V+0 java.base@19-ea
      j jdk.internal.vm.Continuation.run()V+122 java.base@19-ea
      j java.lang.VirtualThread.runContinuation()V+81 java.base@19-ea
      j java.lang.VirtualThread$$Lambda$8+0x000000080104a498.run()V+4 java.base@19-ea
      j java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec()Z+4 java.base@19-ea
      j java.util.concurrent.ForkJoinTask.doExec()I+10 java.base@19-ea
      j java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Ljava/util/concurrent/ForkJoinTask;Ljava/util/concurrent/ForkJoinPool$WorkQueue;)V+19 java.base@19-ea
      j java.util.concurrent.ForkJoinPool.scan(Ljava/util/concurrent/ForkJoinPool$WorkQueue;II)I+203 java.base@19-ea
      j java.util.concurrent.ForkJoinPool.runWorker(Ljava/util/concurrent/ForkJoinPool$WorkQueue;)V+35 java.base@19-ea
      j java.util.concurrent.ForkJoinWorkerThread.run()V+31 java.base@19-ea
      v ~StubRoutines::call_stub 0x00000001151941bc
      V [libjvm.dylib+0x92f200] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x4cc
      V [libjvm.dylib+0x92e0e8] JavaCalls::call_virtual(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, JavaThread*)+0x1f8
      V [libjvm.dylib+0x92e2ac] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x70
      V [libjvm.dylib+0xa87038] thread_entry(JavaThread*, JavaThread*)+0x16c
      V [libjvm.dylib+0x1123a28] JavaThread::thread_main_inner()+0x264
      V [libjvm.dylib+0x11208c0] Thread::call_run()+0x220
      V [libjvm.dylib+0xeab7a8] thread_native_entry(Thread*)+0x160
      C [libsystem_pthread.dylib+0x726c] _pthread_start+0x94

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rpressler Ron Pressler
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: