[erlang-patches] [erlang-bugs] Lift limitation to FD_SETSIZE file descriptors on Mac OS X in erl_poll
Mon Jun 3 01:02:24 CEST 2013
Did you try without your improvements?
I don't have access to neither Leopard nor Snow Leopard, but judging from a quick search on the Web, there is no reason it wouldn't work on either of them.
Le 31 mai 2013 à 18:23, Sverker Eriksson a écrit :
> Anthony Ramine wrote:
>> Thanks for the improvements, that's definitely better!
> The patch fails on Leopard and Snow Leopard. It builds and the header files seems to recognize _DARWIN_UNLIMITED_SELECT.
> But the emulator crashes at start in a call to select():
> (gdb) bt
> #0 0x92b91ac6 in select$DARWIN_EXTSN ()
> #1 0x00145eab in erts_sys_main_thread () at sys/unix/sys.c:2989
> #2 0x00028171 in erl_start (argc=<value temporarily unavailable, due to optimizations>, argv=0xbffff188) at beam/erl_init.c:1679
> #3 0xbffff36b in ?? ()
> #4 0x6c2f0074 in ?? ()
> I tried to add _DARWIN_UNLIMITED_SELECT to sys/unix/sys.c (where the crashing call is made)
> but that made no difference.
More information about the erlang-patches