mail-archives/mono-bugs/2005-June/030631.html

114 строки
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 74870][Maj] Changed - System.Diagnostics.Process
leaving defunct/zombie processes around
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2074870%5D%5BMaj%5D%20Changed%20-%20System.Diagnostics.Process%0A%09leaving%20defunct/zombie%20processes%20around&In-Reply-To=bug-74870%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="030630.html">
<LINK REL="Next" HREF="030632.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 74870][Maj] Changed - System.Diagnostics.Process
leaving defunct/zombie processes around</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2074870%5D%5BMaj%5D%20Changed%20-%20System.Diagnostics.Process%0A%09leaving%20defunct/zombie%20processes%20around&In-Reply-To=bug-74870%40chernobyl.ximian.com"
TITLE="[Mono-bugs] [Bug 74870][Maj] Changed - System.Diagnostics.Process
leaving defunct/zombie processes around">bugzilla-daemon at bugzilla.ximian.com
</A><BR>
<I>Sun Jun 19 21:16:09 EDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="030630.html">[Mono-bugs] [Bug 74870][Maj] Changed - System.Diagnostics.Process
leaving defunct/zombie processes around
</A></li>
<LI>Next message: <A HREF="030632.html">[Mono-bugs] [Bug 75321][Wis] New - Private variable assigned
reference value but otherwise not used flagged as warning
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30631">[ date ]</a>
<a href="thread.html#30631">[ thread ]</a>
<a href="subject.html#30631">[ subject ]</a>
<a href="author.html#30631">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gonzalo at ximian.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=74870">http://bugzilla.ximian.com/show_bug.cgi?id=74870</A>
--- shadow/74870 2005-06-19 21:13:15.000000000 -0400
+++ shadow/74870.tmp.9637 2005-06-19 21:16:09.000000000 -0400
@@ -1,21 +1,22 @@
Bug#: 74870
Product: Mono: Runtime
Version: 1.1
OS: unknown
OS Details: Gentoo Linux, Linux 2.6.12-rc3, NPTL
-Status: NEW
+Status: ASSIGNED
Resolution:
Severity: Unknown
Priority: Major
Component: io-layer
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gonzalo at ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">dsd at gentoo.org</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
TargetMilestone: ---
URL:
+Cc: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">dick at ximian.com</A><A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">,joeshaw at novell.com</A>
Summary: System.Diagnostics.Process leaving defunct/zombie processes around
Using Mono 1.1.7, System.Diagnostics.Process leaves zombie processes
around. I'm guessing that Process.Dispose should call wait(2) on the
processes, but doesn't.
@@ -82,6 +83,16 @@
for other cases.
------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gonzalo at ximian.com</A> 2005-06-19 21:13 -------
Created an attachment (id=15340)
Proposed patch
+
+------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">gonzalo at ximian.com</A> 2005-06-19 21:16 -------
+Dick, I tried not using hash table and do _wapi_search_handle instead,
+but that didn't survive for more than 5 minutes running a variation of
+the test case in this report that used 20 thread to run 20 &quot;sleep 1&quot;
+under bash.
+
+The patch attached worked fine.
+
+Ok to commit?
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="030630.html">[Mono-bugs] [Bug 74870][Maj] Changed - System.Diagnostics.Process
leaving defunct/zombie processes around
</A></li>
<LI>Next message: <A HREF="030632.html">[Mono-bugs] [Bug 75321][Wis] New - Private variable assigned
reference value but otherwise not used flagged as warning
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30631">[ date ]</a>
<a href="thread.html#30631">[ thread ]</a>
<a href="subject.html#30631">[ subject ]</a>
<a href="author.html#30631">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>