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

heapdump/JMapHeapCore and heapdump/JMapMetaspaceCore fail due to SA not being able to open core file

    XMLWordPrintable

Details

    • b139

    Description

      Fails on Linux with;

      [2014-09-11T06:35:51.74] Found core file: core.20850
      [2014-09-11T06:35:51.99] Attaching to core core.20850 from executable /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/linux-i586//bin/java, please wait...
      [2014-09-11T06:35:53.53] Error attaching to core file: Can't attach to the core file
      [2014-09-11T06:35:53.53] sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the core file
      [2014-09-11T06:35:53.53] at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach0(Native Method)
      [2014-09-11T06:35:53.53] at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.attach(LinuxDebuggerLocal.java:286)
      [2014-09-11T06:35:53.53] at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:676)
      [2014-09-11T06:35:53.53] at sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux(HotSpotAgent.java:614)
      [2014-09-11T06:35:53.53] at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:338)
      [2014-09-11T06:35:53.53] at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:305)
      [2014-09-11T06:35:53.53] at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:157)
      [2014-09-11T06:35:53.53] at sun.jvm.hotspot.tools.Tool.start(Tool.java:191)
      [2014-09-11T06:35:53.53] at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
      [2014-09-11T06:35:53.53] at sun.jvm.hotspot.tools.HeapDumper.main(HeapDumper.java:83)
      [2014-09-11T06:35:53.53] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [2014-09-11T06:35:53.53] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [2014-09-11T06:35:53.53] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [2014-09-11T06:35:53.53] at java.lang.reflect.Method.invoke(Method.java:484)
      [2014-09-11T06:35:53.53] at sun.tools.jmap.JMap.runTool(JMap.java:201)
      [2014-09-11T06:35:53.53] at sun.tools.jmap.JMap.main(JMap.java:130)
      [2014-09-11T06:35:53.53]
      [2014-09-11T06:35:53.55] jmap exited with exit status 1
      [2014-09-11T06:35:53.55] TEST FAILED

      and on Solaris with:

      [2014-09-02T08:36:15.48] Found core file: core
      [2014-09-02T08:36:16.06] Attaching to core core from executable /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/solaris-amd64//bin/java, please wait...
      [2014-09-02T08:36:16.56] Error attaching to core file: /bpool/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/solaris-amd64/jre/lib/amd64/server/classes.jsa has wrong shared archive version 2, expecting 1
      [2014-09-02T08:36:16.56] sun.jvm.hotspot.debugger.DebuggerException: /bpool/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/solaris-amd64/jre/lib/amd64/server/classes.jsa has wrong shared archive version 2, expecting 1
      [2014-09-02T08:36:16.56] at sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.attach0(Native Method)
      [2014-09-02T08:36:16.56] at sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.attach(ProcDebuggerLocal.java:145)
      [2014-09-02T08:36:16.56] at sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:676)
      [2014-09-02T08:36:16.56] at sun.jvm.hotspot.HotSpotAgent.setupDebuggerSolaris(HotSpotAgent.java:488)
      [2014-09-02T08:36:16.56] at sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:334)
      [2014-09-02T08:36:16.56] at sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:305)
      [2014-09-02T08:36:16.56] at sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:157)
      [2014-09-02T08:36:16.56] at sun.jvm.hotspot.tools.Tool.start(Tool.java:191)
      [2014-09-02T08:36:16.56] at sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
      [2014-09-02T08:36:16.56] at sun.jvm.hotspot.tools.HeapDumper.main(HeapDumper.java:83)
      [2014-09-02T08:36:16.56] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [2014-09-02T08:36:16.56] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [2014-09-02T08:36:16.56] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [2014-09-02T08:36:16.56] at java.lang.reflect.Method.invoke(Method.java:484)
      [2014-09-02T08:36:16.56] at sun.tools.jmap.JMap.runTool(JMap.java:201)
      [2014-09-02T08:36:16.56] at sun.tools.jmap.JMap.main(JMap.java:130)

      Attachments

        Activity

          People

            sballal Sharath Ballal (Inactive)
            allwin Peter Allwin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: