pqwy / sendmsg

POSIX sendmsg bindings for OCaml
ISC License
15 stars 0 forks source link

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

Open UnixJunkie opened 4 years ago

UnixJunkie commented 4 years ago

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 commented 4 years ago

the same program works fine on Linux. Quite annoying.

UnixJunkie commented 4 years ago

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