Re: [erlang-bugs] Lift limitation to FD_SETSIZE file descriptors on Mac OS X in erl_poll

Sverker Eriksson <[email protected]>
Newsgroups gmane.comp.lang.erlang.patches
Message-ID <[email protected]>
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.


/Sverker

_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.