Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8160376 DebuggerException: Can't attach symbolicator to the process
  3. JDK-8160743

quarantine tests that can't attach symbolicator to the process on MacOS X

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • svc
    • b129
    • x86_64
    • os_x

      Quarantine the following tests only on MacOS X:

      runtime/SharedArchiveFile/SASymbolTableTest.java
      serviceability/sa/TestClassLoaderStats.java
      serviceability/sa/TestStackTrace.java
      serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java

      They have been failing since 2016.06.24 with messages like:

      ----------System.err:(40/2910)----------
       stdout: [Attaching to process ID 70789, please wait...
      ];
       stderr: [Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException: Can't attach symbolicator to the process
      sun.jvm.hotspot.debugger.DebuggerException: sun.jvm.hotspot.debugger.DebuggerException: Can't attach symbolicator to the process
      at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute(jdk.hotspot.agent@9-internal/BsdDebuggerLocal.java:169)
      at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach(jdk.hotspot.agent@9-internal/BsdDebuggerLocal.java:287)
      at sun.jvm.hotspot.HotSpotAgent.attachDebugger(jdk.hotspot.agent@9-internal/HotSpotAgent.java:677)
      at sun.jvm.hotspot.HotSpotAgent.setupDebuggerDarwin(jdk.hotspot.agent@9-internal/HotSpotAgent.java:665)
      at sun.jvm.hotspot.HotSpotAgent.setupDebugger(jdk.hotspot.agent@9-internal/HotSpotAgent.java:343)
      at sun.jvm.hotspot.HotSpotAgent.go(jdk.hotspot.agent@9-internal/HotSpotAgent.java:306)
      at sun.jvm.hotspot.HotSpotAgent.attach(jdk.hotspot.agent@9-internal/HotSpotAgent.java:142)
      at sun.jvm.hotspot.tools.Tool.start(jdk.hotspot.agent@9-internal/Tool.java:185)
      at sun.jvm.hotspot.tools.Tool.execute(jdk.hotspot.agent@9-internal/Tool.java:118)
      at SASymbolTableTestAgent.main(SASymbolTableTestAgent.java:46)
      Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach symbolicator to the process
      at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach0(jdk.hotspot.agent@9-internal/Native Method)
      at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.access$100(jdk.hotspot.agent@9-internal/BsdDebuggerLocal.java:65)
      at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1AttachTask.doit(jdk.hotspot.agent@9-internal/BsdDebuggerLocal.java:278)
      at sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.run(jdk.hotspot.agent@9-internal/BsdDebuggerLocal.java:144)

      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:366)
      at SASymbolTableTest.run(SASymbolTableTest.java:97)
      at SASymbolTableTest.main(SASymbolTableTest.java:57)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:533)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:843)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

            dcubed Daniel Daugherty
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: