beamjs/beamjs — Issue #47: ubuntu 11.04 ->  error enif_send: env==NULL on non-SMP VMAborted
Author: tereska
Created: 2011-10-08 10:25:52+00:00
State: open

on fresh ubuntu 11.04 install

tereska@DEV1104:~/dev/beamjs$ ./beamjs
enif_send: env==NULL on non-SMP VMAborted

strace -s 1024 ./beamjs
[...]
getcwd("/home/tereska/dev/beamjs", 8191) = 25
poll([{fd=15, events=POLLIN}], 1, 0) = 1 ([{fd=15, revents=POLLIN}])
gettimeofday({1318069382, 66979}, NULL) = 0
gettimeofday({1318069382, 67097}, NULL) = 0
read(20, "\205\177\242/\226\346\373\363}\330\256\232BM\233\306", 16) = 16
gettid() = 13281
recv(15, "\0", 1, 0) = 1
poll([{fd=15, events=POLLIN}], 1, 0) = 0 (Timeout)
send(18, "\0", 1, 0enif_send: env==NULL on non-SMP VM
+++ killed by SIGABRT +++
Aborted

what could be wrong?