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

vmTestbase/nsk/jvmti/scenarios/hotswap/HS101/hs101t005 crashes in Method::checked_resolve_jmethod_id(jmethodID)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 13
    • Fix Version/s: 14
    • Component/s: hotspot

      Description

      # SIGSEGV (0xb) at pc=0x00007f10f60ac1ae, pid=26601, tid=26622
      #
      # JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-internal+0-2019-06-03-1442044.vladimir.x.ivanov.jdk)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-internal+0-2019-06-03-1442044.vladimir.x.ivanov.jdk, compiled mode, sharing, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x12ec1ae] Method::checked_resolve_jmethod_id(_jmethodID*)+0xe

      Current thread (0x00007f10f0363800): JavaThread "Service Thread" daemon [_thread_in_vm, id=26622, stack(0x00007f10ce572000,0x00007f10ce773000)]

      Stack: [0x00007f10ce572000,0x00007f10ce773000], sp=0x00007f10ce7718b0, free space=2046k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x12ec1ae] Method::checked_resolve_jmethod_id(_jmethodID*)+0xe
      V [libjvm.so+0x107092f] jvmti_GetMethodName+0x11f
      C [libHotSwap.so+0xc0ed] CompiledMethodLoad+0x6d
      V [libjvm.so+0x10f3174] JvmtiExport::post_compiled_method_load(JvmtiEnv*, nmethod*)+0x194
      V [libjvm.so+0x10f331b] JvmtiExport::post_compiled_method_load(nmethod*)+0x5b
      V [libjvm.so+0x11003bc] JvmtiDeferredEvent::post()+0xdc
      V [libjvm.so+0x154fae3] ServiceThread::service_thread_entry(JavaThread*, Thread*)+0x543
      V [libjvm.so+0x16bd55a] JavaThread::thread_main_inner()+0x26a
      V [libjvm.so+0x16c5b07] JavaThread::run()+0x227
      V [libjvm.so+0x16c2c36] Thread::call_run()+0xf6
      V [libjvm.so+0x13e0eee] thread_native_entry(Thread*)+0x10e

      siginfo: si_signo: 11 (SIGSEGV), si_code: 128 (SI_KERNEL), si_addr: 0x0000000000000000

      Register to memory mapping:

      RAX=0x0000000000007101 is an unknown value
      RBX=0x00007f10f0363800 is a thread
      RCX=0x00007f10ce771968 is pointing into the stack for thread: 0x00007f10f0363800
      RDX=0x0 is NULL
      RSP=0x00007f10ce7718b0 is pointing into the stack for thread: 0x00007f10f0363800
      RBP=0x00007f10ce7718c0 is pointing into the stack for thread: 0x00007f10f0363800
      RSI=0x00007f10f0365120 points into unknown readable memory: 04 00 00 00 00 00 00 00
      RDI=0xbabababababababa is an unknown value
      R8 =0x0 is NULL
      R9 =0x00007f10ac003a20 points into unknown readable memory: 0e 7e 83 e4 10 7f 00 00
      R10=0x0 is NULL
      R11=0x00007f10f6cfa035: <offset 0x000000000008a035> in /lib64/libc.so.6 at 0x00007f10f6c70000
      R12=0x00007f10f0012900 points into unknown readable memory: f0 c4 b4 f6 10 7f 00 00
      R13=0x00007f10f6b1a6b0: <offset 0x0000000001d5a6b0> in /scratch/opt/mach5/mesos/work_dir/jib-master/install/2019-06-03-1442044.vladimir.x.ivanov.jdk/linux-x64-debug.jdk/jdk-13/fastdebug/lib/server/libjvm.so at 0x00007f10f4dc0000
      R14=0x0000000000000017 is an unknown value
      R15=0xbabababababababa is an unknown value

      Disassembly of Method::checked_resolve_jmethod_id(jmethodID):
       <+0>: push %rbp
       <+1>: mov %rsp,%rbp
       <+4>: push %rbx
       <+5>: sub $0x8,%rsp
       <+9>: test %rdi,%rdi
       <+12>: je 0x7ffff73ee1e9 <_ZN6Method26checked_resolve_jmethod_idEP10_jmethodID+73>
       <+14>: mov (%rdi),%rbx <==== crash
       <+17>: test %rbx,%rbx
       <+20>: je 0x7ffff73ee1e9 <_ZN6Method26checked_resolve_jmethod_idEP10_jmethodID+73>
       <+22>: cmp $0x37,%rbx
       <+26>: je 0x7ffff73ee1e9 <_ZN6Method26checked_resolve_jmethod_idEP10_jmethodID+73>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sspitsyn Serguei Spitsyn
              Reporter:
              vlivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: