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

Crash in SystemDictionary::resolve_or_fail from jmod

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 21
    • hotspot
    • aarch64
    • linux

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000fffc1a7d5000, pid=6739, tid=6741
      #
      # JRE version: Java(TM) SE Runtime Environment (21.0.2+13) (build 21.0.2+13-LTS-jvmci-23.1-b33)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0.2+13-LTS-jvmci-23.1-b33, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0xcd5000] SystemDictionary::resolve_or_fail(Symbol*, Handle, Handle, bool, JavaThread*)+0x20
      --------------- S U M M A R Y ------------

      Command Line: -Dapplication.home=/sc/bb/downloads/labsjdk-ee-21.0.2+13-jvmci-23.1-b33-linux-aarch64_3623f95f56/labsjdk-ee-21.0.2-jvmci-23.1-b33 -Xms8m -Djdk.module.main=jdk.jlink jdk.jlink/jdk.tools.jmod.Main create --class-path=/b/b/e/graal/truffle/mxbuild/jdk21/dists/jdk17/truffle-icu4j.jar.files --target-platform=linux-aarch64 /b/b/e/graal/truffle/mxbuild/jdk21/dists/jdk17/org.graalvm.shadowed.icu4j.jmod

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

      Current thread (0x0000fffc14029750): JavaThread "main" [_thread_in_vm, id=6741, stack(0x0000fffc19810000,0x0000fffc19a0e000) (2040K)]

      Stack: [0x0000fffc19810000,0x0000fffc19a0e000], sp=0x0000fffc19a0a110, free space=2024k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xcd5000] SystemDictionary::resolve_or_fail(Symbol*, Handle, Handle, bool, JavaThread*)+0x20
      V [libjvm.so+0x5c5b50] ConstantPool::klass_at_impl(constantPoolHandle const&, int, JavaThread*)+0x150
      V [libjvm.so+0x5c68a4] ConstantPool::klass_ref_at(int, Bytecodes::Code, JavaThread*)+0x80
      V [libjvm.so+0xa37248] LinkInfo::LinkInfo(constantPoolHandle const&, int, methodHandle const&, Bytecodes::Code, JavaThread*)+0x48
      V [libjvm.so+0xa39cdc] LinkResolver::resolve_method_statically(Bytecodes::Code, constantPoolHandle const&, int, JavaThread*)+0x4c
      V [libjvm.so+0x42d188] Bytecode_invoke::static_target(JavaThread*)+0x84
      V [libjvm.so+0xc31500] SharedRuntime::find_callee_info_helper(vframeStream&, Bytecodes::Code&, CallInfo&, JavaThread*)+0x400
      V [libjvm.so+0xc3166c] SharedRuntime::find_callee_info(Bytecodes::Code&, CallInfo&, JavaThread*)+0x68
      V [libjvm.so+0xc31794] SharedRuntime::resolve_sub_helper(bool, bool, JavaThread*)+0xd0
      V [libjvm.so+0xc3196c] SharedRuntime::resolve_helper(bool, bool, JavaThread*)+0x3c
      V [libjvm.so+0xc31e5c] SharedRuntime::resolve_opt_virtual_call_C(JavaThread*)+0x3c
      v ~RuntimeStub::resolve_opt_virtual_call 0x0000fffc03ebc210
      C 0x00000000a00646d0
      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      v ~RuntimeStub::resolve_opt_virtual_call 0x0000fffc03ebc210
      J 1096 c2 sun.nio.ch.ChannelInputStream.read([BII)I java.base@21.0.2 (77 bytes) @ 0x0000fffc04818f2c [0x0000fffc04818140+0x0000000000000dec]
      J 1002 c1 java.io.InputStream.transferTo(Ljava/io/OutputStream;)J java.base@21.0.2 (71 bytes) @ 0x0000fffbfcc840c4 [0x0000fffbfcc83e40+0x0000000000000284]
      J 1001 c1 sun.nio.ch.ChannelInputStream.transferTo(Ljava/io/OutputStream;)J java.base@21.0.2 (277 bytes) @ 0x0000fffbfcc88b4c [0x0000fffbfcc87200+0x000000000000194c]
      J 1009 c1 jdk.tools.jmod.JmodOutputStream.writeEntry(Ljava/io/InputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/lang/String;)V jdk.jlink@21.0.2 (34 bytes) @ 0x0000fffbfcc8a008 [0x0000fffbfcc89e00+0x0000000000000208]
      j jdk.tools.jmod.JmodTask$JmodFileWriter.processSection(Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/nio/file/Path;)V+113 jdk.jlink@21.0.2
      j jdk.tools.jmod.JmodTask$JmodFileWriter.processClasses(Ljdk/tools/jmod/JmodOutputStream;Ljava/util/List;)V+51 jdk.jlink@21.0.2
      j jdk.tools.jmod.JmodTask$JmodFileWriter.write(Ljdk/tools/jmod/JmodOutputStream;)V+19 jdk.jlink@21.0.2
      j jdk.tools.jmod.JmodTask.create()Z+45 jdk.jlink@21.0.2
      j jdk.tools.jmod.JmodTask.run([Ljava/lang/String;)I+133 jdk.jlink@21.0.2
      j jdk.tools.jmod.Main.main([Ljava/lang/String;)V+10 jdk.jlink@21.0.2
      v ~StubRoutines::call_stub 0x0000fffc03e80140


            dlong Dean Long
            dnsimon Douglas Simon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: