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

Interpreter SIGBUS crash in jdk.internal.reflect.MethodHandleAccessorFactory.getDirectMethod

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3
    • 22
    • 22
    • hotspot
    • x86_64
    • os_x

    Description

      Test: sun/security/tools/keytool/CacertsOption.java

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGBUS (0xa) at pc=0x00000001270531a4, pid=39701, tid=23811
      #
      # JRE version: Java(TM) SE Runtime Environment (22.0+17) (build 22-ea+17-1341)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (22-ea+17-1341, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
      # Problematic frame:
      # j jdk.internal.reflect.MethodHandleAccessorFactory.getDirectMethod(Ljava/lang/reflect/Method;Z)Ljava/lang/invoke/MethodHandle;+16 java.base@22-ea
      #

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

      Current thread (0x00007faac5837800): JavaThread "MainThread" [_thread_in_Java, id=23811, stack(0x0000700001939000,0x0000700001a39000) (1024K)]

      Stack: [0x0000700001939000,0x0000700001a39000], sp=0x0000700001a387b8, free space=1021k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      j jdk.internal.reflect.MethodHandleAccessorFactory.getDirectMethod(Ljava/lang/reflect/Method;Z)Ljava/lang/invoke/MethodHandle;+16 java.base@22-ea
      j jdk.internal.reflect.MethodHandleAccessorFactory.newMethodAccessor(Ljava/lang/reflect/Method;Z)Ljdk/internal/reflect/MethodAccessorImpl;+41 java.base@22-ea
      j jdk.internal.reflect.ReflectionFactory.newMethodAccessor(Ljava/lang/reflect/Method;Z)Ljdk/internal/reflect/MethodAccessor;+22 java.base@22-ea
      j java.lang.reflect.Method.acquireMethodAccessor()Ljdk/internal/reflect/MethodAccessor;+38 java.base@22-ea
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+75 java.base@22-ea
      j com.sun.javatest.regtest.agent.MainWrapper$MainTask.run()V+134
      j java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@22-ea
      j java.lang.Thread.run()V+19 java.base@22-ea
      v ~StubRoutines::call_stub 0x000000012703ccc6
      V [libjvm.dylib+0x5a91ef] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x2bf
      V [libjvm.dylib+0x5a81a5] JavaCalls::call_virtual(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, JavaThread*)+0x1b5
      V [libjvm.dylib+0x5a8263] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x63
      V [libjvm.dylib+0x66a8e5] thread_entry(JavaThread*, JavaThread*)+0x95
      V [libjvm.dylib+0x5bb694] JavaThread::thread_main_inner()+0x94
      V [libjvm.dylib+0xae6c85] Thread::call_run()+0xa5
      V [libjvm.dylib+0x943387] thread_native_entry(Thread*)+0x147
      C [libsystem_pthread.dylib+0x68fc] _pthread_start+0xe0
      C [libsystem_pthread.dylib+0x2443] thread_start+0xf

      siginfo: si_signo: 10 (SIGBUS), si_code: 2 (BUS_ADRERR), si_addr: 0x00000001211942d0

      Attachments

        Activity

          People

            Unassigned Unassigned
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: