[Mono-bugs] [Bug 78628][Nor] Changed - mono leaks mach ports

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jun 13 18:13:53 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 allan at imeem.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78628

--- shadow/78628	2006-06-13 18:05:24.000000000 -0400
+++ shadow/78628.tmp.20631	2006-06-13 18:13:53.000000000 -0400
@@ -172,6 +172,11 @@
 with Mono. Using libgc 6.6, it looks like the port leaks caused by thread registration (seen 
 with the embedded sample code) have gone away, but the leaks that seem to be caused by 
 garbage collection are still present. Also, 6.6 seems to have a pretty bad memory leak that 
 does not exist in the Mono SVN version of libgc. I will attach a version of my previous GC 
 patch that fixes the memory leak and also calls mach_port_deallocate() (libgc 6.6 was also 
 missing those calls).
+
+------- Additional Comments From allan at imeem.com  2006-06-13 18:13 -------
+Created an attachment (id=17173)
+Patch against libgc 6.6 source that fixes memory leaks adds missing calls to mach_port_deallocate(). Configure mono with "--with-gc=boehm" after installing the patched libgc.
+


More information about the mono-bugs mailing list