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

com/sun/jdi/MixedSuspendTest.sh fails with "jdb input stream closed prematurely"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-svc
    • Labels:

      Description

      ----------System.out:(28/1655)----------
      --Compiling first version of /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/aa27646/MixedSuspendTarg.java with options:
      compiling MixedSuspendTarg.java

      --Starting jdb, address=
      Listening at address: spb23244.ru.oracle.com:49924
      --Starting debuggee with args from TESTVMOPTS and/or TESTJAVAOPTS: -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:+TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions
      Cmd: /export/local/aurora/CommonData/JDK_DIR/bin/java -classpath /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/aa27646 -DHANGINGJAVA-27646_DEB -d64 -Xmixed -server -d64 -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:+TieredCompilation -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -Djtreg.classDir=/export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/aa27646 -showversion -agentlib:jdwp=transport=dt_socket,address=49924,server=n,suspend=y MixedSuspendTarg
      Set uncaught java.lang.Throwable
      Set deferred uncaught java.lang.Throwable
      Initializing jdb ...
      >
      VM Started: No frames on the current call stack

      main[1] Deferring breakpoint MixedSuspendTarg:52.
      It will be set after the class is loaded.
      main[1] > Set deferred breakpoint MixedSuspendTarg:52
      Howdy from MixedSuspendTarg

      Breakpoint hit: "thread=main", MixedSuspendTarg.bkpt(), line=52 bci=0
      52 int i = 0; // @1 breakpoint

      main[1] > Debuggee: resuming thread
      Debuggee: resumed thread
      Debuggee: end of thread
      Debuggee: exitting, started = false

      The application exited
      Input stream closed.
      ----------System.err:(17/831)----------
      ShellScaffold.sh: Version
      Note: MixedSuspendTarg.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      --Sending cmd: stop at MixedSuspendTarg:52
      --Sending cmd: run
      java version "1.9.0-internal-fastdebug"
      Java(TM) SE Runtime Environment (build 1.9.0-internal-fastdebug-20150825060115.tohartma.8075805-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-internal-fastdebug-20150825060115.tohartma.8075805-b00, mixed mode)

      --Sending cmd: cont
      --JDB finished: The application exited
      --Finish without sending "quit" command to JDB
      -rw-r--r-- 1 gtee staff 52 Aug 25 13:36 /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/aa27646/testFailed
      <cleanup:_begin_failFile_contents>
       
      --Fail: main: jdb input stream closed prematurely
      <cleanup:_end_failFile_contents>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sballal Sharath Ballal (Inactive)
              Reporter:
              roland Roland Westrelin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: