[Mono-bugs] [Bug 79286][Min] Changed - Still leaking WAPI process handles
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Sep 26 15:04:25 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by brian at fluggo.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79286
--- shadow/79286 2006-09-26 14:53:07.000000000 -0400
+++ shadow/79286.tmp.28036 2006-09-26 15:04:25.000000000 -0400
@@ -97,6 +97,19 @@
because these days we use a daemonless setup and it requires the
cleaner thread to clean these things.
Either increase the number of wapi handles, or use an alternative that
does not consume wapi handles like calling "System" directly or g_spawn
+
+------- Additional Comments From brian at fluggo.com 2006-09-26 15:04 -------
+The problem is the handles do *not* disappear. They stay around until
+the program eventually self-destructs from having a full WAPI table.
+
+Heck, I'd even accept Mono killing itself in that situation. Right
+now, it just hangs, leaving no way to detect the error.
+
+Increasing the number of WAPI handles will only delay the inevitable.
+I assume that by "System" you mean a P/Invoke call to some C routine
+that will spawn a program for me. It's a possibility, though it's kind
+of an ugly workaround, and I'm not even sure how to pipe the output
+back to me in that situation without spawning a shell script.
More information about the mono-bugs
mailing list