sendmsg icon indicating copy to clipboard operation
sendmsg copied to clipboard

Fatal error: exception Unix.Unix_error(Unix.EINVAL, "Sendmsg.send", "")

Open UnixJunkie opened this issue 5 years ago • 2 comments

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.

UnixJunkie avatar Mar 24 '20 07:03 UnixJunkie

the same program works fine on Linux. Quite annoying.

UnixJunkie avatar Mar 24 '20 07:03 UnixJunkie

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

UnixJunkie avatar Mar 24 '20 08:03 UnixJunkie