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

jmap fails to read core files on macos

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • hs23, 7u40
    • hotspot

        jmap fails with
        vmsqe-mac-02:JMapPermCore vmsqe-robot$ sudo
        /net/vmsqe.russia/export/jdk/macos/b227/macos-amd64//bin/jmap
        /net/vmsqe.russia/export/jdk/macos/b227/macos-amd64//bin/java
        /cores/core.50831

        Attaching to core /cores/core.50831 from executable
        /net/vmsqe.russia/export/jdk/macos/b227/macos-amd64//bin/java, please
        wait...
        Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:601)
        at sun.tools.jmap.JMap.runTool(JMap.java:197)
        at sun.tools.jmap.JMap.main(JMap.java:128)
        Caused by: java.lang.UnsatisfiedLinkError:
        sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach0(Ljava/lang/String;Ljava/lang/String;)V

        at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach0(Native Method)
        at
        sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach(BsdDebuggerLocal.java:278)

        at
        sun.jvm.hotspot.bugspot.BugSpotAgent.attachDebugger(BugSpotAgent.java:791)
        at
        sun.jvm.hotspot.bugspot.BugSpotAgent.setupDebuggerBsd(BugSpotAgent.java:776)

        at
        sun.jvm.hotspot.bugspot.BugSpotAgent.setupDebugger(BugSpotAgent.java:519)
        at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:492)
        at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:347)
        at sun.jvm.hotspot.tools.Tool.start(Tool.java:169)
        at sun.jvm.hotspot.tools.PMap.main(PMap.java:67)
        ... 6 more

        see script in attachments

              sla Staffan Larsen (Inactive)
              ekovach Evdokim Kovach (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: