zeromq / erlzmq2

Erlang binding for 0MQ (v2)
http://zeromq.org/
MIT License
165 stars 63 forks source link

erlang:halt/1 is broken #65

Open rlipscombe opened 10 years ago

rlipscombe commented 10 years ago

We're looking to create an Erlang crash dump, by erlang:halt("Whoops").

However, instead of creating the crash dump, the Erlang VM dies hard with the following:

Bad file descriptor (epoll.cpp:69)
Aborted

This appears to be in deps/erlzmq/deps/zeromq3/src/epoll.cpp, from zeromq-3.2.2.tar.gz.

This happens on Ubuntu and Mac OS X.

rlipscombe commented 10 years ago

Well, actually, it turns out, I do get an erl_crash.dump file, but it's truncated.

ghost commented 5 years ago

Hey Roger - if you've ever got time to look further - I've forked to https://github.com/esl/erlzmq - published to hex.pm as erlzmq