You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/09/07 16:27:43 UTC
DO NOT REPLY [Bug 36545] New: -
[exec] potential threading issue when closing process.getInputStream()
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36545>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36545
Summary: [exec] potential threading issue when closing
process.getInputStream()
Product: Commons
Version: unspecified
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P1
Component: Sandbox
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: jerome@coffeebreaks.org
When I started to look into finding common code between ant, plexus, m2 and
cruisecontrol, I found a couple of differences that I think need to be merged
back into commons-exec.
In particular it seems like this plexus-util change [1] contains a threading fix
which should also be backported to commons-exec. I think we are hitting it now
in CruiseControl in some rare cases: executed process is ant which forks and
spawns a separate process. This makes getInputStream().close() hang, and I think
your change would fix it.
I haven't yet worked on it, nor wrote a test case. Would appreciate input from
trygvis as he's the one who made the fix for plexus.
[1]
http://svn.codehaus.org/trunk/plexus-utils/src/main/java/org/codehaus/plexus/util/cli/StreamPumper.java?rev=1298&root=plexus&view=rev
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org