Marc Lehmann wrote:
> would it be possible to find out what the mmap arguments are and why it
> fails?
void * mmap(void *addr, size_t len, int prot, int flags, int fd, off_t
offset);
The OS X mmap man page is here.
http://www.hmug.org/man/2/mmap.php
> could you see wether disabling the stack guard works around that issue?
Nope.
> that would be a great help, thanks a lot!
>
> (if you are adventerous, you could play around with the code, which is in
> cctx_new in Coro/State.xs. Could you also try and undef HAVE_MMAP before
> line 13 to seee wether using malloc fixes the problems).
I altered Coro/Makefile.PL so it did not add -DHAVE_MMAP to $DEFINE and that
fixed things.