[Bug 227285] File descriptor passing does not work reliably on SMP system (cache coherency issue?)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 8 20:06:03 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227285

Jan Kokemüller <jan.kokemueller at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #192213|0                           |1
        is obsolete|                            |
 Attachment #192214|0                           |1
        is obsolete|                            |
 Attachment #192216|0                           |1
        is obsolete|                            |

--- Comment #5 from Jan Kokemüller <jan.kokemueller at gmail.com> ---
Created attachment 192350
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192350&action=edit
tar archive with test program, Dtrace script and log output

I've attached a program that reproduces the bug faster. I've also updated the
Dtrace script and added some new log output. The Dtrace script now prints all
socantrcvmore() calls, not only those from "a.out".

It turns out that the kernel sometimes closes the socket in the unp garbage
collector (look for sockbuf fffff800adec3b50 in the debug log). So there
probably is no cache issue after all.

Investigating further...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list