--- Comment #7 from Jan Kokemüller <> ---
Created attachment 192515
patch for a GC that detects cycles

I've tried to modify the GC so that it detects cycles in all "in flight"
sockets and only destroys sockets that are in such a cycle. With this patch the
test program doesn't exit anymore.

I wonder if there can be false negatives with a GC that just detects cycles.
DragonFly has some interesting comments[1]. DragonFly still suffers from this
race, though.

It looks like Linux had the same race when they still used a mark & sweep GC
instead of a cycle detecting one. Search for "rewrite AF_UNIX garbage

The BUGS section in the man page for send(2) looks related to this problem.
This seems to be a long standing issue.


You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to