[Mono-bugs] [Bug 438405] [regression] System.IO.IOException: Error creating standard error pipe

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jan 15 23:26:20 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=438405

http://bugzilla.novell.com/show_bug.cgi?id=438405#c3


Jesse Jones <jesjones at mindspring.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jesjones at mindspring.com

--- Comment #3 from Jesse Jones <jesjones at mindspring.com> 2010-01-16 04:26:15 UTC ---
I've started seeing intermittent problems just like this after upgrading from
mono 2.5(?) to 2.6.1. The stack trace is:

System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.IO.IOException: Error creating standard
error pipe
  at System.Diagnostics.Process.Start_noshell
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x0027c] in
/private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System/System.Diagnostics/Process.cs:1087 
  at System.Diagnostics.Process.Start_common
(System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process
process) [0x00096] in
/private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System/System.Diagnostics/Process.cs:1194 
  at System.Diagnostics.Process.Start () [0x0002c] in
/private/tmp/monobuild/build/BUILD/mono-2.6.1/mcs/class/System/System.Diagnostics/Process.cs:1204 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
  at DirectoryEditor.GenericBuilder.Build () [0x0011d] in
/Users/jessejones/Source/Continuum/source/plugins/directory-editor/GenericBuilder.cs:112 

The code I use to start the process looks like this:

Process process = new Process();
process.StartInfo.FileName               = "make";
process.StartInfo.Arguments              = args;
process.StartInfo.RedirectStandardError  = true;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.UseShellExecute        = false;
process.StartInfo.WorkingDirectory       = Path.GetDirectoryName(buildFile);

m_process.EnableRaisingEvents = true;
m_process.Exited += this.DoProcessExited;
m_process.StartInfo.RedirectStandardOutput = true;
m_process.StartInfo.RedirectStandardError = true;
m_process.OutputDataReceived += this.DoGotStdoutData;
m_process.ErrorDataReceived += this.DoGotStderrData;

m_process.Start();        // this throws

m_process.BeginOutputReadLine();
m_process.BeginErrorReadLine();

This is on an Intel Mac with OS 10.6.2.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list