Skip to content

Failing es-module test on latest canary #111

Closed
nodejs/node
#28671
@targos

Description

@targos

Test:

$ ./node --experimental-modules test/es-module/test-esm-error-cache.js
(node:15637) ExperimentalWarning: The ESM module loader is experimental.
[1]    15637 segmentation fault (core dumped)  ./node --experimental-modules

Stack trace:

Thread 1 "node" received signal SIGSEGV, Segmentation fault.
0x0000000000e4de72 in v8::Local<v8::Function>::New (isolate=0x4006370, that=...) at ../../deps/v8/include/v8.h:9726
9726      return New(isolate, that.val_);
Missing separate debuginfos, use: dnf debuginfo-install libgcc-9.1.1-1.fc30.x86_64 libstdc++-9.1.1-1.fc30.x86_64
(gdb) bt
#0  0x0000000000e4de72 in v8::Local<v8::Function>::New (isolate=0x4006370, that=...) at ../../deps/v8/include/v8.h:9726
#1  0x0000000000e4cccd in v8::PersistentBase<v8::Function>::Get (this=0x10, isolate=0x4006370) at ../../deps/v8/include/v8.h:481
#2  0x0000000000e48f33 in node::loader::ImportModuleDynamically (context=..., referrer=..., specifier=...) at ../../src/module_wrap.cc:979
#3  0x000000000131a89e in v8::internal::Isolate::RunHostImportModuleDynamicallyCallback (this=this@entry=0x4006370, referrer=..., specifier=..., specifier@entry=...) at ../../deps/v8/include/v8.h:314
#4  0x000000000186e3ce in v8::internal::__RT_impl_Runtime_DynamicImportCall (args=..., isolate=0x4006370) at ../../deps/v8/src/runtime/runtime-module.cc:27
#5  0x000000000186f827 in v8::internal::Runtime_DynamicImportCall (args_length=2, args_object=0x7ffd9560d158, isolate=0x4006370) at ../../deps/v8/src/runtime/runtime-module.cc:15
#6  0x0000000001e4305b in Builtins_CEntry_Return1_DontSaveFPRegs_ArgvInRegister_NoBuiltinExit () at ../../deps/v8/src/builtins/builtins-async-iterator-gen.cc:254
#7  0x0000000001feb71f in Builtins_CallRuntimeHandler () at ../../deps/v8/src/interpreter/interpreter-generator.cc:1729

image

I think it's the same issue as nodejs/node#27492

/cc @devsnek @ryzokuken

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions