[Mono-bugs] [Bug 79286][Maj] Changed - Still leaking WAPI process handles
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Oct 10 10:27:23 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 vargaz at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79286
--- shadow/79286 2006-10-06 12:05:00.000000000 -0400
+++ shadow/79286.tmp.3811 2006-10-10 10:27:23.000000000 -0400
@@ -123,6 +123,24 @@
exit: 0)
9f7 ( 1) [Process] 123 Sg ([ /sbin/ifconfig] pid: 31128
exit: 0)
acc ( 1) [Process] 120 Un ([ /sbin/ifconfig] pid: 32303
exit: 0)
+
+------- Additional Comments From vargaz at gmail.com 2006-10-10 10:27 -------
+Try this patch. It fixes this issue, at least it allows the
+test program to run without leaking.
+
+Index: mono/mono/io-layer/processes.c
+===================================================================
+--- mono/mono/io-layer/processes.c (revision 66503)
++++ mono/mono/io-layer/processes.c (working copy)
+@@ -162,6 +162,7 @@
+ #endif
+
+ process_set_termination_details (proc, status);
++ _wapi_handle_unref (proc);
+ }
+ } while (proc != NULL);
+ }
+
More information about the mono-bugs
mailing list