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

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

XMLWordPrintable

    • b07
    • 11
    • b03
    • x86
    • windows

        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)

              aivanov Alexey Ivanov
              aivanov Alexey Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: