[Mono-bugs] [Bug 557921] System.Diagnostics.Process: error creating process handle

2010-02-20 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=557921

http://bugzilla.novell.com/show_bug.cgi?id=557921#c4


Gonzalo Paniagua Javier  changed:

   What|Removed |Added

 CC||gonz...@novell.com

--- Comment #4 from Gonzalo Paniagua Javier  2010-02-20 
08:03:51 UTC ---
This problem does not happen in mono-2-6 or trunk. I believe it has been fixed
in mono-2-4 too, after 2.4.2.4 was released.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 557921] System.Diagnostics.Process: error creating process handle

2010-02-19 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=557921

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


--- Comment #3 from Chris Eldredge  2010-02-19 
21:32:20 UTC ---
Created an attachment (id=343600)
 --> (http://bugzilla.novell.com/attachment.cgi?id=343600)
Work-around diff against /tags/mono-2-4-2-3/mono

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 557921] System.Diagnostics.Process: error creating process handle

2010-02-19 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=557921

http://bugzilla.novell.com/show_bug.cgi?id=557921#c2


Chris Eldredge  changed:

   What|Removed |Added

 CC||chris.eldre...@gmail.com

--- Comment #2 from Chris Eldredge  2010-02-19 
21:30:08 UTC ---
We ran into this as well.  It looks like mono/io-layer/handles.c:481 is the
culprit.  There are initially 256 shared handles available for allocation and
if this number is exceeded no more can be allocated.  There's a command that
says, "FIXME: grow the arrays."

I suspect when this happens the private handle previously allocated in the same
function is leaked.
Increasing _WAPI_HANDLE_INITIAL_COUNT (wapi-private.h:125) to some arbitrarily
high number works around the issue but doesn't really fix it.

Additionally, processes.c should set ret = FALSE near line 1037 to tell the
calling code that it failed.  It doesn't and as a result no Win32Exception gets
thrown.  In any case, once it fails it seems to get stuck even after some
shared handles are deallocated by processes that exit.

Backporting the fix from bug 536776 (r141381) does not resolve the issue.
-

Debian 5.0 (Linux localhost 2.6.26-2-amd64 #1 SMP Thu Nov 5 02:23:12 UTC 2009
x86_64 GNU/Linux)

Mono JIT compiler version 2.4.2.3 (/tags/mono-2-4-2-3/mono r146859 Fri Feb 19
15:54:27 EST 2010)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS:   __thread
GC:Included Boehm (with typed GC)
SIGSEGV:   altstack
Notifications: epoll
Architecture:  amd64
Disabled:  none

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs


[Mono-bugs] [Bug 557921] System.Diagnostics.Process: error creating process handle

2010-01-06 Thread bugzilla_noreply
http://bugzilla.novell.com/show_bug.cgi?id=557921

http://bugzilla.novell.com/show_bug.cgi?id=557921#c1


Andrew Buchanan  changed:

   What|Removed |Added

 CC||andrewa...@shaw.ca

--- Comment #1 from Andrew Buchanan  2010-01-06 23:16:48 
UTC ---
I also suffer from this problem.  I found that be keeping references to the
process handles and then checking whether they had exited at a later time and
then closing the process handle manually mostly worked.  But regardless this is
actually my biggest problem with mono right now.  


Mono JIT compiler version 2.4.2.3 (tarball Tue Aug 25 03:12:28 EDT 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS:   __thread
GC:Included Boehm (with typed GC)
SIGSEGV:   altstack
Notifications: epoll
Architecture:  amd64
Disabled:  none
[r...@abnvr64 ~]# uname -a
Linux abnvr64 2.6.31.9-174.fc12.x86_64 #1 SMP Mon Dec 21 05:33:33 UTC 2009
x86_64 x86_64 x86_64 GNU/Linux
[r...@abnvr64 ~]#



** (/usr/bin/abvisor/abvisor.exe:20670): WARNING **: CreateProcess: error
creating process handle

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug.
___
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs