Uploaded image for project: 'Commons Exec'
  1. Commons Exec
  2. EXEC-91

DefaultExecutor.execute() hanging while closing process streams

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Labels:
    • Environment:

      Windows Server 2003 / 2008 / 2012 under Java 1.6

      Description

      Occasionally, DefaultExecutor.execute() hangs while cleaning up process files as seen in the stack trace below.

      This failure mode was also mentioned, but apparently not fixed, in EXEC-57.

      2015/03/09 14:16:36 | "Probe: Powershell:WMI: Network:10.24.195.40" daemon prio=6 tid=0x48f1e400 nid=0x2f10 runnable [0x528df000]
      2015/03/09 14:16:36 | java.lang.Thread.State: RUNNABLE
      2015/03/09 14:16:36 | at java.io.FileInputStream.close0(Native Method)
      2015/03/09 14:16:36 | at java.io.FileInputStream.close(Unknown Source)
      2015/03/09 14:16:37 | at java.io.BufferedInputStream.close(Unknown Source)
      2015/03/09 14:16:37 | at org.apache.commons.exec.DefaultExecutor.closeProcessStreams(DefaultExecutor.java:299)
      2015/03/09 14:16:37 | at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:387)
      2015/03/09 14:16:37 | at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
      2015/03/09 14:16:37 | at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153)
      2015/03/09 14:16:37 | at com.glide.util.CommandRunner.run(CommandRunner.java:101)
      ...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tbroberg Tim Broberg
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: