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

"assert(!JavaThread::current()->is_interp_only_mode() || !nm->method()->is_continuation_enter_intrinsic() || ContinuationEntry::is_interpreted_call(return_pc)) failed: interp_only_mode but not in enterSpecial interpreted entry" in fixup_callers_callsite

    XMLWordPrintable

Details

    • x86_64, aarch64
    • linux, os_x

    Description

      The following test failed in the JDK21 CI:

      applications/kitchensink/Kitchensink.java

      Here's a snippet from the log file:

      [2023-02-11T20:43:15.889002068Z] Gathering output for process 2310136
      [2023-02-11T20:43:22.081309540Z] Waiting for completion for process 2310136
      [2023-02-11T20:43:22.081390780Z] Waiting for completion finished for process 2310136
      Output and diagnostic info for process 2310136 was saved into 'pid-2310136-output.log'
      [stress.process.out] #
      [stress.process.out] # A fatal error has been detected by the Java Runtime Environment:
      [stress.process.out] #
      [stress.process.out] # Internal Error (/opt/mach5/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S151618/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a4d65992-3afb-47b6-b336-7e34fa3a803f/runs/750ecb11-b813-450b-8537-da6a29c4cd6a/workspace/open/src/hotspot/share/runtime/sharedRuntime.cpp:2132), pid=2301175, tid=2310378
      [stress.process.out] # assert(!JavaThread::current()->is_interp_only_mode() || !nm->method()->is_continuation_enter_intrinsic() || ContinuationEntry::is_interpreted_call(return_pc)) failed: interp_only_mode but not in enterSpecial interpreted entry
      [stress.process.out] #
      [stress.process.out] # JRE version: Java(TM) SE Runtime Environment (21.0+10) (fastdebug build 21-ea+10-LTS-728)
      [stress.process.out] # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 21-ea+10-LTS-728, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      [stress.process.out] # Problematic frame:
      [stress.process.out] # V [libjvm.so+0x16a9bf0] SharedRuntime::fixup_callers_callsite(Method*, unsigned char*)+0x2e0
      [stress.process.out] #
      [stress.process.out] # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S33376/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/6d2b36a6-871e-4ef2-9072-52d82df296fd/runs/9e712550-718c-400e-afa6-b22ae22c70f7/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/core.2301175)
      [stress.process.out] #
      [stress.process.out] Unsupported internal testing APIs have been used.
      [stress.process.out]
      [stress.process.out] # An error report file with more information is saved as:
      [stress.process.out] # /opt/mach5/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S33376/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/6d2b36a6-871e-4ef2-9072-52d82df296fd/runs/9e712550-718c-400e-afa6-b22ae22c70f7/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/hs_err_pid2301175.log
      [stress.process.out] #
      [stress.process.out] # If you would like to submit a bug report, please visit:
      [stress.process.out] # https://bugreport.java.com/bugreport/crash.jsp
      [stress.process.out] #
      [2023-02-11T20:44:22.086497406Z] Gathering output for process 2310520
      [2023-02-11T20:44:22.094622277Z] Waiting for completion for process 2310520
      [2023-02-11T20:44:22.094691037Z] Waiting for completion finished for process 2310520


      Here's the crashing thread's stack:

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

      Current thread (0x0000fffe800dc2a0): JavaThread "ForkJoinPool-1-worker-33" daemon [_thread_in_Java, id=2310378, stack(0x0000fffea17a0000,0x0000fffea19a0000)]

      Stack: [0x0000fffea17a0000,0x0000fffea19a0000], sp=0x0000fffea199dbf0, free space=2038k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x16a9bf0] SharedRuntime::fixup_callers_callsite(Method*, unsigned char*)+0x2e0 (sharedRuntime.cpp:2132)
      v ~BufferBlob::I2C/C2I adapters 0x0000ffff843ff190
      J 16823 jdk.internal.vm.Continuation.enterSpecial(Ljdk/internal/vm/Continuation;ZZ)V java.base@21-ea (0 bytes) @ 0x0000ffff85c12ed8 [0x0000ffff85c12dc0+0x0000000000000118]

      [error occurred during error reporting (printing native stack (with source info)), id 0xb, SIGSEGV (0xb) at pc=0x0000ffff9a74662c]

      Retrying call stack printing without source information...
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x16a9bf0] SharedRuntime::fixup_callers_callsite(Method*, unsigned char*)+0x2e0 (sharedRuntime.cpp:2132)
      v ~BufferBlob::I2C/C2I adapters 0x0000ffff843ff190
      J 16823 jdk.internal.vm.Continuation.enterSpecial(Ljdk/internal/vm/Continuation;ZZ)V java.base@21-ea (0 bytes) @ 0x0000ffff85c12ed8 [0x0000ffff85c12dc0+0x0000000000000118]

      [error occurred during error reporting (retry printing native stack (no source info)), id 0xb, SIGSEGV (0xb) at pc=0x0000ffff9a74662c]

      Attachments

        Issue Links

          Activity

            People

              pchilanomate Patricio Chilano Mateo
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: