[Mono-bugs] [Bug 410743] wapi leak in System.Diagnostic.Process

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 14 12:44:15 EDT 2008


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

User twiest at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=410743#c5





--- Comment #5 from Thomas Wiest <twiest at novell.com>  2008-08-14 10:44:15 MDT ---
Created an attachment (id=233504)
 --> (https://bugzilla.novell.com/attachment.cgi?id=233504)
MonoDevelop solution that shows the problem

This seems to be a bigger problem than I previously thought. Basically after
you're working in MonoDevelop for awhile, you start getting wapi errors. It
turns out to be after you've created 90 external processes that you get the
errors.


Here are the errors you get:
** (<unknown>:11585): WARNING **: CreateProcess: error creating process handle

** (<unknown>:11585): WARNING **: _wapi_handle_unref: Attempting to unref
unused handle 0x25

** (<unknown>:11585): WARNING **: _wapi_handle_unref: Attempting to unref
unused handle 0x24



Steps to reproduce:
1. Download and install Mono 2.0p2
2. Install the MonoDevelop included in Mono 2.0p2 (it's version 1.0)
3. Download and untar the attached MonoDevelop solution
4. Run MonoDevelop from the console (so you can see the error output)
5. Open the MonoDevelop solution
6. Press <ctrl><F8> 10 times which will force a solution rebuild (let the
solution completely build each time)
7. Notice nothing is wrong
8. Press <ctrl><F8> for the 11th time
9. Notice that you are getting the above error on the console, and that you can
no longer do anything in MonoDevelop, like run or build the solution.


-- 
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