[Mono-dev] GC/threading-related mach port leak on OS X

Allan Hsu allan at counterpop.net
Tue Jun 13 20:16:01 EDT 2006


I've been spending some time trying to fix a mach port leak that  
occurs under OS X. The bug (and the progress that I've been making)  
is logged here:

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

I've made a little progress by adding calls to mach_port_deallocate()  
in darwin_stop_world.c and attempting to use the libgc 6.6 release  
instead of the version of libgc that lives in Mono SVN.

I'm now a little stuck because I don't know enough about how the GC  
works to know where to look next. My most recent update in the  
bugzilla entry describes my suspicions on what I think is going on,  
but I don't know where the code in question lives (or how it works).

Can somebody with knowledge of the GC help me out here?

	-Allan
--
Allan Hsu <allan at counterpop dot net>
1E64 E20F 34D9 CBA7 1300  1457 AC37 CBBB 0E92 C779





More information about the Mono-devel-list mailing list