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

SA: attach_internal crashes

XMLWordPrintable

      The hs_err head is
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xffffffff6262ccdc, pid=7027, tid=0x0000000000000002
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_101-b12) (build 1.8.0_101-fastdebug-langtools-nightly-h7183-20160611-b12)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b12-fastdebug mixed mode solaris-sparc compressed oops)
      # Problematic frame:
      # C [libproc.so.1+0x2ccdc] proc_grab_common+0x24
      #
      # Core dump written. Default location: /export/local/aurora/sandbox/results/ResultDir/getvalue001/core or core.7027
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

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

      Current thread (0x000000010010e000): JavaThread "main" [_thread_in_native, id=2, stack(0xffffffff7f4f0000,0xffffffff7f5f0000)]

      siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000008

      Registers:
       G1=0x0000000000103340 G2=0xffffffff7f7c8000 G3=0x0000000000000e00 G4=0x0000000000000001
       G5=0xffffffff7f745008 G6=0x0000000000000000 G7=0xffffffff7f700240 Y=0x0000000000000000
       O0=0xffffffff6262d080 O1=0xffffffff58403028 O2=0xffffffff5840573c O3=0xffffffff6262d080
       O4=0xffffffff7f6e7208 O5=0xffffffff7f740618 O6=0xffffffff7f5eb391 O7=0xffffffff7f615244
       L0=0x0000000000558c00 L1=0xffffffff5b2e1f3c L2=0xffffffff62730000 L3=0xffffffff7f5ebdc8
       L4=0x0000000000000000 L5=0x0000000000000001 L6=0x0000000000000000 L7=0x0000000000000000
       I0=0x0000000100d9f570 I1=0x0000000000000001 I2=0x0000000000000002 I3=0xffffffff7f5ec4d8
       I4=0x0000000000000008 I5=0x0000000000000000 I6=0xffffffff7f5eb601 I7=0xffffffff6262d09c
       PC=0xffffffff6262ccdc nPC=0xffffffff6262cce0


      Top of Stack: (sp=0xffffffff7f5ebb90)
      0xffffffff7f5ebb90: 0000000000558c00 ffffffff5b2e1f3c
      0xffffffff7f5ebba0: ffffffff62730000 ffffffff7f5ebdc8
      0xffffffff7f5ebbb0: 0000000000000000 0000000000000001
      0xffffffff7f5ebbc0: 0000000000000000 0000000000000000
      0xffffffff7f5ebbd0: 0000000100d9f570 0000000000000001
      0xffffffff7f5ebbe0: 0000000000000002 ffffffff7f5ec4d8
      0xffffffff7f5ebbf0: 0000000000000008 0000000000000000
      0xffffffff7f5ebc00: ffffffff7f5eb601 ffffffff6262d09c
      0xffffffff7f5ebc10: ffffffff6281bd68 000000010010e000
      0xffffffff7f5ebc20: 0000000000000001 0000000000005840
      0xffffffff7f5ebc30: ffffffff5b1572b8 000000010010e000
      0xffffffff7f5ebc40: ffffffff7f5ebd88 000000010010e008
      0xffffffff7f5ebc50: 0000000c7f5ebd10 ffffffff7f5ebd28
      0xffffffff7f5ebc60: ffffffff00000001 ffffffff584013c2
      0xffffffff7f5ebc70: ffffffff7f6e7208 ffffffff62603a80
      0xffffffff7f5ebc80: ffffffff584013c2 ffffffff7f6e5fb8

      Instructions: (pc=0xffffffff6262ccdc)
      0xffffffff6262ccbc: ee 5f a8 af a5 41 40 00 03 00 04 0c 82 00 63 40
      0xffffffff6262cccc: ee 77 a7 f7 a4 00 40 12 02 c7 00 05 c0 26 e0 00
      0xffffffff6262ccdc: c0 77 20 00 10 80 00 05 90 10 00 18 02 cf 00 82
      0xffffffff6262ccec: 80 8e 60 01 90 10 00 18 40 04 11 5b 92 10 20 2f

      Register to memory mapping:

      G1=0x0000000000103340 is an unknown value
      G2=0xffffffff7f7c8000 is an unknown value
      G3=0x0000000000000e00 is an unknown value
      G4=0x0000000000000001 is an unknown value
      G5=0xffffffff7f745008: _PROCEDURE_LINKAGE_TABLE_+0x4108 in /lib/sparcv9/ld.so.1 at 0xffffffff7f600000
      G6=0x0000000000000000 is an unknown value
      G7=0xffffffff7f700240 is an unknown value

      O0=0xffffffff6262d080: proc_arg_grab+0 in /lib/sparcv9/libproc.so.1 at 0xffffffff62600000
      O1=0xffffffff58403028: _DYNAMIC+0x2f40 in /export/local/aurora/CommonData/TEST_JAVA_HOME/jre/lib/sparcv9/libsaproc.so at 0xffffffff58400000
      O2=0xffffffff5840573c: libsaproc_open+0x1e04 in /export/local/aurora/CommonData/TEST_JAVA_HOME/jre/lib/sparcv9/libsaproc.so at 0xffffffff58400000
      O3=0xffffffff6262d080: proc_arg_grab+0 in /lib/sparcv9/libproc.so.1 at 0xffffffff62600000
      O4=0xffffffff7f6e7208 is an unknown value
      O5=0xffffffff7f740618: dbg_desc+0 in /lib/sparcv9/ld.so.1 at 0xffffffff7f600000
      O6=0xffffffff7f5eb391 is pointing into the stack for thread: 0x000000010010e000
      O7=0xffffffff7f615244: _elf_rtbndr+0x58 in /lib/sparcv9/ld.so.1 at 0xffffffff7f600000

      L0=0x0000000000558c00 is an unknown value
      L1=0xffffffff5b2e1f3c: _edata+0xe074 in /export/local/aurora/CommonData/TEST_JAVA_HOME/jre/lib/sparcv9/server/libjvm.so at 0xffffffff59400000
      L2=0xffffffff62730000: _GLOBAL_OFFSET_TABLE_+0 in /lib/sparcv9/libproc.so.1 at 0xffffffff62600000
      L3=0xffffffff7f5ebdc8 is pointing into the stack for thread: 0x000000010010e000
      L4=0x0000000000000000 is an unknown value
      L5=0x0000000000000001 is an unknown value
      L6=0x0000000000000000 is an unknown value
      L7=0x0000000000000000 is an unknown value

      I0=0x0000000100d9f570 is an unknown value
      I1=0x0000000000000001 is an unknown value
      I2=0x0000000000000002 is an unknown value
      I3=0xffffffff7f5ec4d8 is pointing into the stack for thread: 0x000000010010e000
      I4=0x0000000000000008 is an unknown value
      I5=0x0000000000000000 is an unknown value
      I6=0xffffffff7f5eb601 is pointing into the stack for thread: 0x000000010010e000
      I7=0xffffffff6262d09c: proc_arg_grab+0x1c in /lib/sparcv9/libproc.so.1 at 0xffffffff62600000


      Stack: [0xffffffff7f4f0000,0xffffffff7f5f0000], sp=0xffffffff7f5ebb90, free space=1006k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [libproc.so.1+0x2ccdc] proc_grab_common+0x24
      C [libproc.so.1+0x2d0a4] proc_arg_grab+0x24
      C [libsaproc.so+0x5744] void attach_internal(JNIEnv_*,_jobject*,_jstring*,unsigned char)+0x9c
      C [libsaproc.so+0x5db0] Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_attach0__Ljava_lang_String_2+0x30
      j sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.attach0(Ljava/lang/String;)V+-1656484432
      j sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.attach0(Ljava/lang/String;)V+0
      j sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.attach(I)V+21
      j sun.jvm.hotspot.HotSpotAgent.attachDebugger()V+15
      j sun.jvm.hotspot.HotSpotAgent.setupDebuggerSolaris()V+20
      j sun.jvm.hotspot.HotSpotAgent.setupDebugger()V+80
      j sun.jvm.hotspot.HotSpotAgent.go()V+1
      j sun.jvm.hotspot.HotSpotAgent.attach(I)V+33
      j sun.jvm.hotspot.jdi.VirtualMachineImpl.createVirtualMachineForPID(Lcom/sun/jdi/VirtualMachineManager;II)Lsun/jvm/hotspot/jdi/VirtualMachineImpl;+15
      v ~StubRoutines::call_stub
      V [libjvm.so+0xa9a9f4] void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0x6dc
      V [libjvm.so+0x10cb448] oop Reflection::invoke(instanceKlassHandle,methodHandle,Handle,bool,objArrayHandle,BasicType,objArrayHandle,bool,Thread*)+0x2c28
      V [libjvm.so+0x10cc060] oop Reflection::invoke_method(oop,Handle,objArrayHandle,Thread*)+0x480
      V [libjvm.so+0xc2ed88] JVM_InvokeMethod+0x544
      C [libjava.so+0x134a4] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x18
      j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+-1654997024
      j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
      j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100
      j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+56
      j sun.jvm.hotspot.jdi.SAPIDAttachingConnector.createVirtualMachine(Ljava/lang/Class;I)Lcom/sun/jdi/VirtualMachine;+63
      j sun.jvm.hotspot.jdi.SAPIDAttachingConnector.attach(Ljava/util/Map;)Lcom/sun/jdi/VirtualMachine;+57
      j nsk.share.sajdi.Binder.attachToDebugee(Lcom/sun/jdi/connect/AttachingConnector;Ljava/util/Map;)Lnsk/share/sajdi/Debugee;+10
      j nsk.share.sajdi.Binder.bindToDebugee()Lnsk/share/sajdi/Debugee;+68
      j nsk.sajdi.ArrayReference.getValue.getvalue001.runIt([Ljava/lang/String;Ljava/io/PrintStream;)I+52
      j nsk.sajdi.ArrayReference.getValue.getvalue001.run([Ljava/lang/String;Ljava/io/PrintStream;)I+9
      j nsk.sajdi.ArrayReference.getValue.getvalue001.main([Ljava/lang/String;)V+4
      v ~StubRoutines::call_stub
      V [libjvm.so+0xa9a9f4] void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0x6dc
      V [libjvm.so+0xb343b0] void jni_invoke_static(JNIEnv_*,JavaValue*,_jobject*,JNICallType,_jmethodID*,JNI_ArgumentPusher*,Thread*)+0xaa0
      V [libjvm.so+0xb5ea94] jni_CallStaticVoidMethod+0x554
      C [libjli.so+0x68f8] JavaMain+0x5dc
      C [libc.so.1+0x1ddc80] _lwp_start+0x8

            jgeorge Jini George (Inactive)
            bmoloden Boris Molodenkov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: