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

launching connector fails with -d64 option

XMLWordPrintable

    • sparc
    • solaris_8



      Name: pvR10198 Date: 11/18/2002


      --------------------------------------
      Test : nsk/jdi/LaunchingConnector/launch/launch001
      TestBase : testbase_nsk
      VM : Server VM
      Mode : all
      Platform : 64-bit sparcv9
      OS : Solaris
      ----------------------------------------

      This test uses com.sun.jdi.CommandLineLaunch connector with dt_socket
      transport to launch target VM. If -d64 option is used for target JVM
      the test fails with com.sun.jdi.connect.VMStartException.

      The test passes with 1.4.2-b06 build, but fails with 1.4.2-b07 build.

      Since the default launching connector is used in most of JDI tests of
      testbase_nsk, these tests fail on 64-bit Sparcv9 platform the same way.

      Steps to reproduce
      ================
      1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
      2. sh doit.sh $JAVA_HOME -d64

      where JAVA_HOME should point to testable JDK.

      Failing log:
      -----------------------------------------------------
      java version "1.4.2-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b07)
      Java HotSpot(TM) 64-Bit Server VM (build 1.4.2-beta-b07, mixed mode)

      Executing the test ...
      Number of attaching connectors: 2
      Launching connectors available:
          Launching connector #1:
              Name: com.sun.jdi.CommandLineLaunch
              Description: Launches target using Sun Java VM command line and attaches to it
              Transport: dt_socket
              -- This connector is appropriate. --
          Launching connector #2:
              Name: com.sun.jdi.RawCommandLineLaunch
              Description: Launches target using user-specified command line and attaches to it
              Transport: dt_socket
      Connector's arguments:
          home=/net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b07/binaries/solaris-sparcv9/jre
          options=-d64
          main=nsk.jdi.LaunchingConnector.launch.launch001o
          suspend=true
          quote="
          vmexec=java
      Starting debugee VM
      # ERROR: FAILURE: cannot launch debugee VM: VM initialization failed for:
      /net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b07/binaries/solaris-sparcv9/jre/bin/java -d64 -Xdebug -Xnoagent
      -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=eugene1:47961,suspend=y
      nsk.jdi.LaunchingConnector.launch.launch001o
      com.sun.jdi.connect.VMStartException: VM initialization failed for:
      /net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b07/binaries/solaris-sparcv9/jre/bin/java -d64 -Xdebug -Xnoagent
      -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=eugene1:47961,suspend=y
      nsk.jdi.LaunchingConnector.launch.launch001o
              at com.sun.tools.jdi.AbstractLauncher$Helper.launchAndAccept(AbstractLauncher.java:165)
              at com.sun.tools.jdi.AbstractLauncher.launch(AbstractLauncher.java:106)
              at com.sun.tools.jdi.SunCommandLineLauncher.launch(SunCommandLineLauncher.java:144)
              at nsk.jdi.LaunchingConnector.launch.launch001.run(launch001.java:78)
              at nsk.jdi.LaunchingConnector.launch.launch001.run(launch001.java:48)
              at nsk.jdi.LaunchingConnector.launch.launch001.main(launch001.java:43)

      #>
      #> SUMMARY: Following errors occured
      #> during test execution:
      #>
      # ERROR: FAILURE: cannot launch debugee VM: VM initialization failed for:
      /net/koori.sfbay/p/jdk01/jdk/1.4.2/beta/b07/binaries/solaris-sparcv9/jre/bin/java -d64 -Xdebug -Xnoagent
      -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=eugene1:47961,suspend=y
      nsk.jdi.LaunchingConnector.launch.launch001o
      Exit Code: 97
      -----------------------------------------------------
      ======================================================================

            Unassigned Unassigned
            vpnsunw Vpn Vpn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: