erlzmq2 icon indicating copy to clipboard operation
erlzmq2 copied to clipboard

erlang:halt/1 is broken

Open rlipscombe opened this issue 11 years ago • 2 comments
trafficstars

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 avatar Jul 09 '14 14:07 rlipscombe

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

rlipscombe avatar Jul 09 '14 15:07 rlipscombe

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

bryanhuntesl avatar Jun 08 '19 11:06 bryanhuntesl