JDK-8134479 : com/sun/jdi/MixedSuspendTest.sh fails with "jdb input stream closed prematurely"
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2015-08-26
  • Updated: 2016-05-30
  • Resolved: 2016-05-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Relates :  
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>
Comments
ILW = M (decreased test coverage) M (intermittent, not rare) H (no workaround) = P3
01-09-2015