kpoll

Sean Hinde <>
Fri Oct 29 23:36:06 CEST 2004


Hi,

On 29 Oct 2004, at 20:22, Anastasia Gornostaeva wrote:

> Hello.
>
> By browsing erlang r10b sources I noticed that it uses kqueue/kevent 
> for
> FreeBSD and even compiled with using them.
> But erl -name asd +K true crashes. How I can really use kqueue/kevent 
> in
> erlang under FreeBSD?
>
> ermine

I also found the same under OS X - It does seem to be a bug..

Sean

./R10B-0-kpoll/bin/erl -sname  +K true
(no error logger present) error: poll() error 9 (ebadf)

{error_logger,{{2004,10,29},{22,23,46}},'~s~n',['poll() error 9 
(ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,46}},'~s~n',['poll() error 9 
(ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,46}},'~s~n',['poll() error 9 
(ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,46}},'~s~n',['poll() error 9 
(ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\npoll() error 9 (ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\npoll() error 9 (ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\npoll() error 9 (ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\n']}
{error_logger,{{2004,10,29},{22,23,47}},'~s~n',['poll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\npoll() error 9 (ebadf)\npoll() error 9 (ebadf)\npoll() error 9 
(ebadf)\npoll() error 9 (ebadf)\n']}

{"Kernel pid terminated",application_controller,shutdown}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) (shutdown)




More information about the erlang-questions mailing list