Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1694

derbynet/testProperties.java hangs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.2.1.6, 10.3.1.4
    • Component/s: Test
    • Labels:
      None
    • Environment:
      Windows XP IBM 142 JRE
    • Urgency:
      Normal
    • Bug behavior facts:
      Regression Test Failure

      Description

      The testProperties.execCmd() is used to fork a JVM and not handle its
      streams. This will cause problems, as indicated by the javadoc for Process.

      "The parent process uses these streams to feed input to and get output
      from the subprocess. Because some native platforms only provide limited
      buffer size for standard input and output streams, failure to promptly
      write the input stream or read the output stream of the subprocess may
      cause the subprocess to block, and even deadlock"

        Attachments

        1. derby1694.p2.diff.txt
          7 kB
          Sunitha Kambhampati
        2. derby1694.p2.stat.txt
          1 kB
          Sunitha Kambhampati
        3. derby1694diff.txt
          3 kB
          Daniel John Debrunner

          Issue Links

            Activity

              People

              • Assignee:
                skambha Sunitha Kambhampati
                Reporter:
                djd Daniel John Debrunner
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: