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

JDWP is broken on 32 bit Windows: transport library missing onLoad entry

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b07
    • Introduced In Version:
      11
    • Resolved In Build:
      b03
    • CPU:
      x86
    • OS:
      windows

      Description

      An issue (https://github.com/AdoptOpenJDK/openjdk-build/issues/709) raised against AdoptOpenJDK jdk11 32-bit windows builds led us to the name decoration problem on built 32-bit dlls, specifically dt_socket.dll and dt_shmem.dll. Whereas 64-bit MSVC builds don't apply any name decorations on exported functions, 32-bit builds apply them which requires either def files or /export flags to be specified on the linker arguments.

      Steps to reproduce:
      Run jshell from JDK.

      images/jdk> bin/jshell.exe
      Launching JShell execution engine threw: ERROR: transport library missing onLoad entry: dt_socket
      ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_LOAD(509)
      JDWP exit error AGENT_ERROR_TRANSPORT_LOAD(196): No transports initialized [debugInit.c:732]
      FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_LOAD(196)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aivanov Alexey Ivanov
                Reporter:
                aivanov Alexey Ivanov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: