Skip to content

test/parallel/test-error-reporting.js fails with debug builds #7144

@addaleax

Description

@addaleax
  • Version: master
  • Platform: x64 Linux
  • Subsystem: umm…?

Running test/fixtures/throws_error7.js using a debug build results in a V8 DCHECK() failure.

Bisecting says the regression was introduced in any of 069e02a, 89f2343, 079973b.

Output + stack trace:

#
# Fatal error in ../deps/v8/src/api.cc, line 168
# Check failed: !isolate_->external_caught_exception().
#

#0  v8::base::OS::Abort () at ../deps/v8/src/base/platform/platform-posix.cc:229
#1  0x0000000001c8d565 in V8_Fatal (file=0x1dc3407 "../deps/v8/src/api.cc", line=168, format=0x1dc030e "Check failed: %s.")
    at ../deps/v8/src/base/logging.cc:116
#2  0x000000000104b055 in v8::(anonymous namespace)::CallDepthScope::CallDepthScope (this=0x7fffffffc5b0, isolate=0x29f4e50, context=..., do_callback=false)
    at ../deps/v8/src/api.cc:168
#3  0x000000000105dc5b in v8::Object::Get (this=0x2a45840, context=..., key=...) at ../deps/v8/src/api.cc:3622
#4  0x000000000105de87 in v8::Object::Get (this=0x2a45840, key=...) at ../deps/v8/src/api.cc:3635
#5  0x0000000001ab26ab in node::FatalException (isolate=0x29f4e50, error=..., message=...) at ../src/node.cc:2412
#6  0x0000000001ab28c9 in node::OnMessage (message=..., error=...) at ../src/node.cc:2454
#7  0x00000000016bbc90 in v8::internal::MessageHandler::ReportMessage (isolate=0x29f4e50, loc=0x7fffffffc950, message=...) at ../deps/v8/src/messages.cc:132
#8  0x000000000169590d in v8::internal::Isolate::ReportPendingMessages (this=0x29f4e50) at ../deps/v8/src/isolate.cc:1511
#9  0x0000000001546235 in v8::internal::(anonymous namespace)::Invoke (isolate=0x29f4e50, is_construct=false, target=..., receiver=..., argc=1, 
    args=0x7fffffffcd70, new_target=...) at ../deps/v8/src/execution.cc:111
#10 0x0000000001546759 in v8::internal::Execution::Call (isolate=0x29f4e50, callable=..., receiver=..., argc=1, argv=0x7fffffffcd70)
    at ../deps/v8/src/execution.cc:164
#11 0x0000000001063b71 in v8::Function::Call (this=0x2a36c48, context=..., recv=..., argc=1, argv=0x7fffffffcd70) at ../deps/v8/src/api.cc:4404
#12 0x0000000001063ce7 in v8::Function::Call (this=0x2a36c48, recv=..., argc=1, argv=0x7fffffffcd70) at ../deps/v8/src/api.cc:4413
#13 0x0000000001ab72df in node::LoadEnvironment (env=0x7fffffffd270) at ../src/node.cc:3362
#14 0x0000000001ab9337 in node::StartNodeInstance (arg=0x7fffffffdb30) at ../src/node.cc:4311
#15 0x0000000001ab96cc in node::Start (argc=2, argv=0x29f37d0) at ../src/node.cc:4418
#16 0x0000000001aebed7 in main (argc=2, argv=0x7fffffffdc98) at ../src/node_main.cc:53

/cc @nodejs/v8

Metadata

Metadata

Assignees

Labels

testIssues and PRs related to the tests.v8 engineIssues and PRs related to the V8 dependency.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions