Skip to content

Instantly share code, notes, and snippets.

@evax
Created March 23, 2011 08:04
Show Gist options
  • Save evax/882773 to your computer and use it in GitHub Desktop.
Save evax/882773 to your computer and use it in GitHub Desktop.
$ ./beamjs -jspath ../beamjs_misultin/lib -bundles erlang node_compat stdlib commonjs -pa ../beamjs_misultin/ebin -pa ../beamjs_misultin/deps/misultin/ebin/ -load test.js
#
# Fatal error in src/handles-inl.h, line 49
# CHECK(reinterpret_cast<Address>(*location_) != kHandleZapValue) failed
#
==== Stack trace ============================================
Security context: 0x7f67717532a9 <JS Object>#0#
1: /* anonymous */ [lib_bundles/default/__globals__.js:1] (this=0x7f67717533b1 <JS Global Object>#1#)
==== Details ================================================
[1]: /* anonymous */ [lib_bundles/default/__globals__.js:1] (this=0x7f67717533b1 <JS Global Object>#1#) {
// stack-allocated locals
var .result = 0x7f67716f2089 <undefined>
// expression stack (top to bottom)
[04] : 0x7f677175e0b1 <JS Function>#2#
[03] : 0x7f6771707ae1 <String[7]: console>
[02] : 0x7f67717533b1 <JS Global Object>#1#
[01] : 0x7f6768070b71 <an Object>>#3#
--------- s o u r c e c o d e ---------
exports = { console: require("console"), ? beamjs: require({module: "beamjs_mod_beamjs"}),? match: require("match")?}
-----------------------------------------
}
==== Key ============================================
#0# 0x7f67717532a9: 0x7f67717532a9 <JS Object>
#1# 0x7f67717533b1: 0x7f67717533b1 <JS Global Object>
#2# 0x7f677175e0b1: 0x7f677175e0b1 <JS Function>
: 0x7f676806ffb1 <an Object>>#4#
paths: 0x7f67680704f1 <JS array[1]>#5#
#3# 0x7f6768070b71: 0x7f6768070b71 <an Object>>
beamjs: 0x7f67716f2089 <undefined>
console: 0x7f67716f2089 <undefined>
match: 0x7f67716f2089 <undefined>
#4# 0x7f676806ffb1: 0x7f676806ffb1 <an Object>>
__erlv8__: 0x7f676806fda9 <Proxy>#6#
#5# 0x7f67680704f1: 0x7f67680704f1 <JS array[1]>
0: 0x7f6768070529 <String[31]: /work/evax/incubator/git/beamjs>
#6# 0x7f676806fda9: 0x7f676806fda9 <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
#0 0x00007f6770669ba5 in raise (sig=<value optimised out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0 0x00007f6770669ba5 in raise (sig=<value optimised out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007f677066d6b0 in abort () at abort.c:92
#2 0x00007f676b43a1cd in v8::internal::OS::Abort ()
at src/platform-linux.cc:296
#3 0x00007f676b3136de in V8_Fatal (file=0x7f676b63732f "src/handles-inl.h",
line=49, format=0x7f676b6319d0 "CHECK(%s) failed") at src/checks.cc:58
#4 0x00007f676b2dac50 in CheckHelper (
file=0x7f676b63732f "src/handles-inl.h", line=49,
source=0x7f676b6373d8 "reinterpret_cast<Address>(*location_) != kHandleZapValue", condition=false) at src/checks.h:60
#5 0x00007f676b2f9b0c in v8::internal::Handle<v8::internal::Object>::operator*
(this=0x7f6745902e20) at src/handles-inl.h:49
#6 0x00007f676b2f8b9e in v8::internal::Handle<v8::internal::Object>::operator-> (this=0x7f6745902e20) at src/handles.h:62
#7 0x00007f676b2e1b11 in v8::Value::IsFunction (this=0xba70a8)
at src/api.cc:1803
#8 0x00007f676b2d81c2 in js_to_term (ctx=..., env=0xb45cd8, val=...)
at c_src/erlv8_term.cc:270
#9 0x00007f676b2d639d in TaintTickHandler (vm=0xb6e4b0,
tick_name=0x7f67459033a0 "taint", tick=140082262855370,
tick_ref=140082262855450, ref=140082262788426, arity=2,
array=0x7f6771844ed0, result=...) at c_src/erlv8_taint.cc:8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment