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

SA crashes when attaching to a process on OS X

XMLWordPrintable

    • svc
    • b31
    • os_x

        Since JDK-8003348 was checked in SA will crash when attaching to a process. There is a missing NULL-check of the return value from get_proc_handle().

        Stack: [0x000000015f54b000,0x000000015f64b000], sp=0x000000015f64a4f0, free space=1021k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        C [libsaproc.dylib+0x73a6] Java_sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal_lookupByName0+0x36
        j sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.lookupByName0(Ljava/lang/String;Ljava/lang/String;)J+0
        j sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.findABIVersion()V+48
        j sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$400(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;)V+1
        j sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1AttachTask.doit(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;)V+24
        j sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run()V+30

              sla Staffan Larsen (Inactive)
              sla Staffan Larsen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: