Skip to content

Instantly share code, notes, and snippets.

@evax
Created March 23, 2011 08:37
Show Gist options
  • Save evax/882796 to your computer and use it in GitHub Desktop.
Save evax/882796 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/execution.cc, line 106
# CHECK(*has_pending_exception == Top::has_pending_exception()) failed
#
==== Stack trace ============================================
Security context: 0x7f2b485ab2a9 <JS Object>#0#
1: /* anonymous */ [lib_bundles/default/__globals__.js:1] (this=0x7f2b485ab3b1 <JS Global Object>#1#)
==== Details ================================================
[1]: /* anonymous */ [lib_bundles/default/__globals__.js:1] (this=0x7f2b485ab3b1 <JS Global Object>#1#) {
// stack-allocated locals
var .result = 0x7f2b4854a089 <undefined>
// expression stack (top to bottom)
[04] : 0x7f2b485b60b1 <JS Function>#2#
[03] : 0x7f2b4855fae1 <String[7]: console>
[02] : 0x7f2b485ab3b1 <JS Global Object>#1#
[01] : 0x7f2b3e070b71 <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# 0x7f2b485ab2a9: 0x7f2b485ab2a9 <JS Object>
#1# 0x7f2b485ab3b1: 0x7f2b485ab3b1 <JS Global Object>
#2# 0x7f2b485b60b1: 0x7f2b485b60b1 <JS Function>
: 0x7f2b3e06ffb1 <an Object>>#4#
paths: 0x7f2b3e0704f1 <JS array[1]>#5#
#3# 0x7f2b3e070b71: 0x7f2b3e070b71 <an Object>>
beamjs: 0x7f2b4854a089 <undefined>
console: 0x7f2b4854a089 <undefined>
match: 0x7f2b4854a089 <undefined>
#4# 0x7f2b3e06ffb1: 0x7f2b3e06ffb1 <an Object>>
__erlv8__: 0x7f2b3e06fda9 <Proxy>#6#
#5# 0x7f2b3e0704f1: 0x7f2b3e0704f1 <JS array[1]>
0: 0x7f2b3e070529 <String[31]: /work/evax/incubator/git/beamjs>
#6# 0x7f2b3e06fda9: 0x7f2b3e06fda9 <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 0x00007f2b474c2ba5 in raise (sig=<value optimised out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007f2b474c66b0 in abort () at abort.c:92
#2 0x00007f2b42407511 in v8::internal::OS::Abort ()
at src/platform-linux.cc:296
#3 0x00007f2b422e0a22 in V8_Fatal (file=0x7f2b4260f584 "src/execution.cc",
line=106, format=0x7f2b4260f0c8 "CHECK(%s) failed") at src/checks.cc:58
#4 0x00007f2b42301724 in CheckHelper (file=0x7f2b4260f584 "src/execution.cc",
line=106,
source=0x7f2b4260f598 "*has_pending_exception == Top::has_pending_exception()", condition=false) at src/checks.h:60
#5 0x00007f2b42301a20 in v8::internal::Invoke (construct=false, func=...,
receiver=..., argc=0, args=0x0, has_pending_exception=0x7f2b1c84f06f)
at src/execution.cc:106
#6 0x00007f2b42301b10 in v8::internal::Execution::Call (func=...,
receiver=..., argc=0, args=0x0, pending_exception=0x7f2b1c84f06f)
at src/execution.cc:128
#7 0x00007f2b422aca9c in v8::Script::Run (this=0x1165438) at src/api.cc:1314
#8 0x00007f2b422a55f3 in ScriptTickHandler (vm=0x111c4b0,
tick_name=0x7f2b1c84f3a0 "script", tick=139823875075122,
tick_ref=139823875083962, ref=139823784944034, arity=6,
array=0x7f2b4867ac38, result=...) at c_src/erlv8_script.cc:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment