(lldb) bt
* thread #1: tid = 0x98f62e, 0x000000010008c1fc node`node::ExecuteString(env=0x00007fff5fbfe180, source=(val_ = 0x0000000106848e48), filename=(val_ = 0x0000000106848e40)) + 412 at node.cc:1210, queue = 'com.apple.main-thread', stop reason = step over
* frame #0: 0x000000010008c1fc node`node::ExecuteString(env=0x00007fff5fbfe180, source=(val_ = 0x0000000106848e48), filename=(val_ = 0x0000000106848e40)) + 412 at node.cc:1210
frame #1: 0x0000000100083583 node`node::GetBootstrapper(env=0x00007fff5fbfe180, source=(val_ = 0x0000000106848e48), script_name=(val_ = 0x0000000106848e40)) + 115 at node.cc:3052
frame #2: 0x0000000100082fb2 node`node::LoadEnvironment(env=0x00007fff5fbfe180) + 194 at node.cc:3101
frame #3: 0x000000010008dd3e node`node::Start(isolate=0x0000000106800000, isolate_data=0x0000000106852000, argc=1, argv=0x0000000104d045d0, exec_argc=3, exec_argv=0x0000000104d046e0) + 686 at node.cc:4255
frame #4: 0x0000000100088b5b node`node::Start(event_loop=0x0000000102ce16d0, argc=1, argv=0x0000000104d045d0, exec_argc=3, exec_argv=0x0000000104d046e0) + 1179 at node.cc:4362
frame #5: 0x0000000100088185 node`node::Start(argc=1, argv=0x0000000104d045d0) + 453 at node.cc:4413
frame #6: 0x0000000101c5112e node`main(argc=4, argv=0x00007fff5fbfee00) + 94 at node_main.cc:124
frame #7: 0x0000000100001034 node`start + 52
(lldb) f
frame #0: 0x000000010008c1fc node`node::ExecuteString(env=0x00007fff5fbfe180, source=(val_ = 0x0000000106848e48), filename=(val_ = 0x0000000106848e40)) + 412 at node.cc:1210
1207 MaybeLocal<v8::Script> script =
1208 v8::Script::Compile(env->context(), source, &origin);
1209 if (script.IsEmpty()) {
-> 1210 ReportException(env, try_catch);
1211 exit(3);
1212 }
1213
(lldb) n
undefined:0
RangeError: Maximum call stack size exceeded
Process 44703 stopped
* thread #1: tid = 0x98f62e, 0x000000010008c20a node`node::ExecuteString(env=0x00007fff5fbfe180, source=(val_ = 0x0000000106848e48), filename=(val_ = 0x0000000106848e40)) + 426 at node.cc:1211, queue = 'com.apple.main-thread', stop reason = step over
frame #0: 0x000000010008c20a node`node::ExecuteString(env=0x00007fff5fbfe180, source=(val_ = 0x0000000106848e48), filename=(val_ = 0x0000000106848e40)) + 426 at node.cc:1211
1208 v8::Script::Compile(env->context(), source, &origin);
1209 if (script.IsEmpty()) {
1210 ReportException(env, try_catch);
-> 1211 exit(3);
1212 }
1213
I'm seeing the following test failure when running on mac os x:
It is sort of hard to see what the issue is by looking at the above output but adding log statement (or start with lldb/gdb) to see
stderrI can see:This can be reproduced/simplified by running
This error originates from
node.ccwhen trying to compile theinternal/bootstrap/loaders.jsbacktrace
I don't see this error on the CI servers and wanted to bring this up and ask if anyone else has seen this?