[Gc] OS X patch against 6.8: segfault fix

Allan Hsu allan at counterpop.net
Thu Oct 5 17:53:13 PDT 2006


My patch for the OS X mach port leak from June introduced a bug where  
GC_stop_world in darwin_stop_world.c would free memory before it was  
read, causing non-deterministic segfault behaviour. I've attached a  
patch against 6.8 that I think fixes the problem. Could somebody vet  
it and merge it with their tree?

-Allan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gc6.8-darwin-stop-world.patch
Type: application/octet-stream
Size: 1561 bytes
Desc: not available
Url : http://napali.hpl.hp.com/pipermail/gc/attachments/20061005/989b99ab/gc6.8-darwin-stop-world.obj
-------------- next part --------------

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





More information about the Gc mailing list