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

linux-sparc: SA: nsk/sajdi/SACoreAttachingConnector/attach/connect002 fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 7
    • hotspot
    • svc
    • sparc
    • linux

      java full version "1.7.0-internal-phh_14_nov_2006_19_47-b00"
      platform: linux-sparc
      Hotspot version: Java HotSpot(TM) Server VM (code based on 1.7.0 b02)
      Machine: genij.russia

      nsk/sajdi/SACoreAttachingConnector/attach/connect002 fails

      script>
      script> Check if feature not implemented: sun.jvm.hotspot.jdi.SACoreAttachingConnector
      script> Feature is implemented: sun.jvm.hotspot.jdi.SACoreAttachingConnector
      script>
      script> Run SA-JDI test:
      script> DEBUGGER_CLASS: jdb
      script> DEBUGGEE_CLASS: nsk.sajdi.jdb.options.connect.connect002a
      script> TEST_OPTS: -verbose -arch=linux-sparc -waittime=2 -debugee.vmkind=java -connector=attaching_core -debugee.vmkeys=-server -Xmixed -DHANGINGJAVA10800 -Xcheck:jni
      script> CONNECTOR_NAME: sun.jvm.hotspot.jdi.SACoreAttachingConnector
      script> DEBUGGER_JDB: /net/zummer.russia/export/users/ik199011/JDK7/linux-sparc/bin/jdb
      script> JDB_OPTS: -J-server -J-Xmixed -J-DHANGINGJAVA10800 -J-Xcheck:jni -J-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck=1
      script> DEBUGGEE_JAVA: /net/zummer.russia/export/users/ik199011/JDK7/linux-sparc/bin/java
      script> JAVA_OPTS: -server -Xmixed -DHANGINGJAVA10800 -Xcheck:jni
      script>
      script> Check if generated files exist: debuggee.status DebugServer.status_and_log core
      script> # WARNING: Delete existing file: debuggee.status
      script>
      script> Check if no core file size limit set
      script> Try to unlimit file size from: 0
      script> No core file size limit set: unlimited
      script>
      script> Run debuggee: nsk.sajdi.jdb.options.connect.connect002a
      script> Debuggee VM process started with pid: 5201 (5201)
      script>
      script> Wait for debuggee class to become ready within timeout: 120 seconds
      script> - not ready: 0 seconds
      Debuggee class started
      Debuggee class ready for debugging
      DEBUGGEE_READY_FOR_DEBUGGING
      script> Debuggee VM got ready for debugging
      script>
      script> Kill debuggee VM process with SIGABRT for pid: 5201
      script> Wait for debuggee VM process terminated: 5201
      script> Debuggee VM terminated with exit status: 134
      script>
      script> Check if debuggee core file dumped: core
      script> Debuggee core file found: core.5201
      script>
      script> Try to restore core file size limit: 0
      script> Core file size limit restored: 0
      script>
      script> Run JDB: sun.jvm.hotspot.jdi.SACoreAttachingConnector:core=core.5201,javaExecutable=/net/zummer.russia/export/users/ik199011/JDK7/linux-sparc/bin/java
      script> JDB finished with exit status: 134
      script> # ERROR: JDB returned fail status: 134
      script>
      script> ------- JDB commands -------
      version
      classes
      quit
      script> -------- JDB stdout --------
      #
      # An unexpected error has been detected by Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xecbe8d8c, pid=5216, tid=4150983600
      #
      # Java VM: Java HotSpot(TM) Server VM (1.7.0-internal-phh_14_nov_2006_19_47-b00 mixed mode)
      # Problematic frame:
      #
      [error occurred during error reporting, step 60, id 0xe0000000]

      # An error report file with more information is saved as hs_err_pid5216.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      #
      script> -------- JDB stderr --------
      script> ----------------------------
      script>
      script> Find expected strings in JDB stdout
      script> # ERROR: Not found: jdb version
      script> # ERROR: Not found: Java Debug Interface
      script> # ERROR: Not found: JVM version
      script> # ERROR: Not found: nsk.sajdi.jdb.options.connect.connect002a
      script> # ERROR: Not all expected lines found in jdb.stdout
      script>
      script> Delete debuggee core file: core.5201
      script> Debuggee core file deleted
      script>
      script> Test exit status: 97

      hs_err_pid5216.log attached

      All data is stored at /net/zummer.russia/zummer/export/users/ik199011/testing/sa/sparc-linux.genij

      About these tests:

      connect002 DESCRIPTION

          This is a test for '-connect' option used with SA-JDI connector:
       
              sun.jvm.hotspot.jdi.SACoreAttachingConnector

          and the following JDB commands:

              version
              classes
              quit

          This test explicitely uses this kind of connector regardless
          of settings in ini-file.

          The test uses SA-JDI framework script to start JDB with
          this connector and issue the following JDB commands
          listed in 'jdb.commands' file.

          The test expects JDB to successfully attach to target VM
          and print target VM version info and list of all loaded
          classes including tested debuggee class. The test searches
          in JDB output all strings listed in 'jdb.grep' file.

          The test passes with exit status 95 is JDB has successfully
          attached to target VM, printed all expected messages and
          exited with status 0.

          The test fails with exit status 97 if any error occured.

            apangin Andrei Pangin
            ikrylov Ivan Krylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: