Created
March 23, 2011 20:06
-
-
Save evax/883842 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./beamjs -jspath ../beamjs_misultin/lib -bundles erlang node_compat stdlib commonjs -pa ../beamjs_misultin/ebin -pa ../beamjs_misultin/deps/misultin/ebin/ -load test.js | |
beam.js> | |
# | |
# Fatal error in src/global-handles.cc, line 86 | |
# CHECK(state_ == DESTROYED) failed | |
# | |
==== Stack trace ============================================ | |
Security context: 0x7f24b4165d19 <JS Object>#0# | |
1: /* anonymous */ [test.js:4] (this=0x7f24e0ffca59 <JS Global Object>#1#,request=0x7f24b3527361 <an Object>>#2#,response=0x7f24b3527011 <an Object>>#3#) | |
==== Details ================================================ | |
[1]: /* anonymous */ [test.js:4] (this=0x7f24e0ffca59 <JS Global Object>#1#,request=0x7f24b3527361 <an Object>>#2#,response=0x7f24b3527011 <an Object>>#3#) { | |
// expression stack (top to bottom) | |
[03] : 0x7f24b3a2a351 <JS Function>#4# | |
[02] : 0x7f24d6153c51 <an Object>>#5# | |
[01] : 200 | |
[00] : 0x7f24b3527011 <an Object>>#3# | |
--------- s o u r c e c o d e --------- | |
function (request, response) {? //erlang.apply('erlang', 'garbage_collect', []);? response.writeHead(200, {'Content-Type': 'test/plain'});? response.end('Hello World\n');?} | |
----------------------------------------- | |
} | |
==== Key ============================================ | |
#0# 0x7f24b4165d19: 0x7f24b4165d19 <JS Object> | |
#1# 0x7f24e0ffca59: 0x7f24e0ffca59 <JS Global Object> | |
#2# 0x7f24b3527361: 0x7f24b3527361 <an Object>> | |
method: 0x7f24b38d10e1 <String[3]: GET> | |
headers: 0x7f24e0fbc089 <undefined> | |
path: 0x7f24b38d1101 <String[1]: /> | |
#3# 0x7f24b3527011: 0x7f24b3527011 <an Object>> | |
request: 0x7f24b3527029 <an Object>>#6# | |
#4# 0x7f24b3a2a351: 0x7f24b3a2a351 <JS Function> | |
: 0x7f24b3a77cc9 <an Object>>#7# | |
#5# 0x7f24d6153c51: 0x7f24d6153c51 <an Object>> | |
#6# 0x7f24b3527029: 0x7f24b3527029 <an Object>> | |
: 0x7f24b3527071 <an Object>>#8# | |
#7# 0x7f24b3a77cc9: 0x7f24b3a77cc9 <an Object>> | |
__erlv8__: 0x7f24b38c5501 <Proxy>#9# | |
#8# 0x7f24b3527071: 0x7f24b3527071 <an Object>> | |
__erlv8__: 0x7f24b38d10c1 <Proxy>#10# | |
#9# 0x7f24b38c5501: 0x7f24b38c5501 <Proxy> | |
#10# 0x7f24b38d10c1: 0x7f24b38d10c1 <Proxy> | |
===================== | |
rlwrap: warning: erl killed by SIGABRT (core dumped). | |
rlwrap has not crashed, but for transparency, | |
it will now kill itself with the same signal | |
Abandon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#0 0x00007f24dff33ba5 in raise (sig=<value optimised out>) | |
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 | |
#1 0x00007f24dff376b0 in abort () at abort.c:92 | |
#2 0x00007f24dae788d9 in v8::internal::OS::Abort () | |
at src/platform-linux.cc:296 | |
#3 0x00007f24dad51dea in V8_Fatal ( | |
file=0x7f24db089bc5 "src/global-handles.cc", line=86, | |
format=0x7f24db089a60 "CHECK(%s) failed") at src/checks.cc:58 | |
#4 0x00007f24dad94414 in CheckHelper ( | |
file=0x7f24db089bc5 "src/global-handles.cc", line=86, | |
source=0x7f24db089bb1 "state_ == DESTROYED", condition=false) | |
at src/checks.h:60 | |
#5 0x00007f24dad9532e in v8::internal::GlobalHandles::Node::next_free() () | |
from ./deps/erlv8/priv/erlv8_drv.so | |
#6 0x00007f24dad9445c in v8::internal::GlobalHandles::Create ( | |
value=0x7f24b3527011) at src/global-handles.cc:289 | |
#7 0x00007f24dad19fd7 in v8::V8::GlobalizeReference (obj=0x7f24b4abf5f0) | |
at src/api.cc:432 | |
#8 0x00007f24dad0ab18 in v8::Persistent<v8::Object>::New (that=...) | |
at deps/v8/include/v8.h:3524 | |
#9 0x00007f24dad09748 in js_to_term (ctx=..., env=0x7f24b26ebc88, val=...) | |
at c_src/erlv8_term.cc:351 | |
#10 0x00007f24dad0efbe in WrapFun (arguments=...) at c_src/erlv8.cc:388 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment