[Mono-bugs] [Bug 82134][Maj] Changed - SafeHandle causes memory leak (this consequently impacts AutoResetEvent, ManualResetEvent and others)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 18 20:20:58 EDT 2007

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 miguel at ximian.com.


--- shadow/82134	2007-07-18 19:04:06.000000000 -0400
+++ shadow/82134.tmp.4942	2007-07-18 20:20:58.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 82134
 Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: 2.6 Linux
-Status: NEW   
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Major
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: davidiw at ufl.edu               
 QAContact: mono-bugs at ximian.com
@@ -111,6 +111,13 @@
 ------- Additional Comments From cedricv at neonux.com  2007-07-18 19:04 -------
 Changed summary since the leak is not constrained only to AutoResetEvent.
 All classes using SafeHandle are impacted.
+------- Additional Comments From miguel at ximian.com  2007-07-18 20:20 -------
+Thanks for tracking this bug down.
+I re-read the documentation, and the problem was that I had not
+understood correctly what was being said there.   The leak will only
+happen if InvalidFileHandle is passed.  My assumption was wrong.

More information about the mono-bugs mailing list