sendmsg
sendmsg copied to clipboard
Fatal error: exception Unix.Unix_error(Unix.EINVAL, "Sendmsg.send", "")
I get this on a Mac sometimes... From the send manpage in there:
The sendmsg() system call will fail if:
[EINVAL] The sum of the iov_len values overflows an ssize_t.
the same program works fine on Linux. Quite annoying.
More info to reproduce: I am using the sendmsg branch of the parany library. https://github.com/UnixJunkie/parany I am trying to run this executable on the mac: https://github.com/UnixJunkie/gram-matrix-bench