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

com/sun/jdi/JdwpNetProps.java failed to attach

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 14
    • Fix Version/s: tbd
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      [debuggee] Listening for transport dt_socket at address: 35787
      Debuggee is listening on localhost:35787
      Connecting from 127.0.0.1, expected: Success
      ----------System.err:(23/1507)----------
      [debuggee] Debugger failed to attach: timeout during handshake
      java.lang.RuntimeException: ERROR: failed to attach
      at JdwpNetProps$ListenTest.run(JdwpNetProps.java:146)
      at JdwpNetProps.main(JdwpNetProps.java:66)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:830)
      Caused by: java.io.IOException: handshake failed - connection prematurally closed
      at jdk.jdi/com.sun.tools.jdi.SocketTransportService.handshake(SocketTransportService.java:137)
      at jdk.jdi/com.sun.tools.jdi.SocketTransportService.attach(SocketTransportService.java:271)
      at jdk.jdi/com.sun.tools.jdi.GenericAttachingConnector.attach(GenericAttachingConnector.java:119)
      at jdk.jdi/com.sun.tools.jdi.SocketAttachingConnector.attach(SocketAttachingConnector.java:83)
      at JdwpNetProps.attach(JdwpNetProps.java:174)
      at JdwpNetProps$ListenTest.run(JdwpNetProps.java:135)
      ... 7 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mikael Mikael Vidstedt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: