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

JdbStopThreadidTest.java failed due to "Unexpected IO error while writing command 'quit' to jdb stdin stream"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b11

      Description

      The following test failed on Linux X64 in a slowdebug config using
      jdk-13+10 bits:

      com/sun/jdi/JdbStopThreadidTest.java

      The test failed in 1 of 3 'slowdebug' bits runs. It did not fail at all in the
      'fastdebug' or 'release' bits runs.

      Here's a snippet from the failing log file:

      [jdb] Breakpoint hit: "thread=MYTHREAD-2", JdbStopThreadidTestTarg$MyThread.brkMethod(), line=100 bci=0
      [jdb] 100 }
      [jdb]
      [jdb] MYTHREAD-2[1]
      > cont
      [jdb] >
      [jdb] The application exited
      [jdb]
      > quit
      ----------System.err:(18/1159)----------
      java.lang.RuntimeException: Unexpected IO error while writing command 'quit' to jdb stdin stream
              at lib.jdb.Jdb.command(Jdb.java:232)
              at lib.jdb.Jdb.quit(Jdb.java:260)
              at lib.jdb.Jdb.shutdown(Jdb.java:106)
              at lib.jdb.JdbTest.shutdown(JdbTest.java:129)
              at lib.jdb.JdbTest.run(JdbTest.java:97)
              at JdbStopThreadidTest.main(JdbStopThreadidTest.java:106)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:567)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
              at java.base/java.lang.Thread.run(Thread.java:835)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected IO error while writing command 'quit' to jdb stdin stream
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected IO error while writing command 'quit' to jdb stdin stream
      ----------rerun:(34/3698)*----------

        Attachments

          Activity

            People

            Assignee:
            cjplummer Chris Plummer
            Reporter:
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: