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

2011-12-19 Thread bugzilla_noreply

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

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


Miguel de Icaza  changed:

   What|Removed |Added

 CC||mig...@xamarin.com

--- Comment #2 from Miguel de Icaza  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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


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

2011-12-18 Thread bugzilla_noreply

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

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


--- Comment #1 from Yury Serdyuk  2011-12-19 07:15:44 
UTC ---
This effect is observed also on diskless machines even on empty computer.
In particular, it is accompanied often with the message

GC Warning: Marker thread creation failed, errno = 12.

Indeed, this bug is very critical for us, because we are developing a some
distributed system and given bug is came apparent during a boot procedure
when several ssh command are issued simultaneous on machine.

Are there some ways to fix or workaround this problem ?

-- 
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.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs