Page MenuHomeFreeBSD

jkh (Jordan Hubbard)
User

Projects

User Details

User Since
Feb 3 2015, 11:06 PM (228 w, 6 d)

Recent Activity

Feb 5 2015

jkh added a comment to D1768: /bin/sh can, with its non-blocking I/O on stdout, get an EAGAIN during a write, leading to spurious build errors.

The file is always stdout. We have been unable to determine *definitively* who is setting it non-blocking, but /bin/sh both opens files non-blocking in exec.c and changes the file mode to non-blocking in redir.c, so if I had to guess, it would be stdout redirected to a pipe.

Feb 5 2015, 1:35 AM

Feb 4 2015

jkh added a comment to D1768: /bin/sh can, with its non-blocking I/O on stdout, get an EAGAIN during a write, leading to spurious build errors.

Actually, after reading https://lists.freebsd.org/pipermail/freebsd-bugs/2012-February/047528.html I am starting to wonder if this wouldn't be better addressed at a stdio / write syscall wrapper level. We're also seeing highly intermittent errors with other utilities, like cat(1).

Feb 4 2015, 12:59 AM

Feb 3 2015

jkh retitled D1768: /bin/sh can, with its non-blocking I/O on stdout, get an EAGAIN during a write, leading to spurious build errors from to /bin/sh can, with its non-blocking I/O on stdout, get an EAGAIN during a write, leading to spurious build errors.
Feb 3 2015, 11:16 PM