I'm trying to use the Netshm module on Macos X 10.4.
Unfortunately, as soon as I try to Netshm.manage the shared memory region, I get a
Fatal error: exception Sys_error("Illegal seek")
This is from the bigarray memmap code which does an lseek to find the end of the file and hence the size. Perhaps the file descriptors are seekable on Linux, but apparently not on OSX and certainly this is not guarenteed by the POSIX shared memory functions AFAIK.
If I can come up with a good patch, I'll send it in; for now, I'm going to have to work around this.
- Reid van Melle
(rvanmelle i'm at gmail dot com)