[Mono-bugs] [Bug 707624] Crash the process start on busy machine

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Dec 19 09:36:37 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=707624

https://bugzilla.novell.com/show_bug.cgi?id=707624#c2


Miguel de Icaza <miguel at xamarin.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |miguel at xamarin.com

--- Comment #2 from Miguel de Icaza <miguel at xamarin.com> 2011-12-19 14:36:36 UTC ---
You could rebuild the source code and change the check in BeginErrorReadline to
determine which one of the three reasons in that method are causing the
problem:


if (process_handle == IntPtr.Zero || error_stream == null ||
StartInfo.RedirectStandardError == false)
    throw new InvalidOperationException ("Standard error has not been
redirected or process has not been started.");

That would be the first step towards identifying the problem.   

My guess is that there is a failure in Start() to initialize the process, you
should instrument these methods to find out what is going wrong:

mono/mono/metadata.c in
ves_icall_System_Diagnostics_Process_ShellExecuteEx_internal

mono/io-layer/processes.c in ShellExecuteEx

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


More information about the mono-bugs mailing list