You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How often does it reproduce? Is there a required condition?
Sometimes happens on the first call, sometimes takes a few repeated calls of the statement above.
What is the expected behavior?
No response
What do you see instead?
Crashes here:
Thread 1 "node" received signal SIGSEGV, Segmentation fault.
0x0000000000b6da2c in node::loader::ImportModuleDynamically(v8::Local<v8::Context>, v8::Local<v8::Data>, v8::Local<v8::Value>, v8::Local<v8::String>, v8::Local<v8::FixedArray>) ()
(gdb) where
Specifically on this line where the value is not found in the map:
Activity
aduh95 commentedon Nov 13, 2022
I'm not able to reproduce on macOS:
aduh95 commentedon Nov 13, 2022
Oh wait, I'm actially able to reproduce when I remove the space at the start of the line that assigns
m:Also, FWIW it reproduces without the
await:targos commentedon Nov 14, 2022
gdb doesn't show much info (debug build)
jleedev commentedon Nov 14, 2022
I was able to add a CHECK fail similar to the one a few lines below:
I don't know enough to say but I guess that the script is being garbage collected and the caller held a weak reference and passed the stale id.
dnalborczyk commentedon Nov 14, 2022
Looks like a duplicate of multiple issues which have been filed over time.
#44438
#43205
#43681
possibly be fixed with: #44923 @legendecas
jleedev commentedon Sep 15, 2023
Appears to be fixed in v21.0.0-nightly202309156a489df73b
legendecas commentedon Sep 19, 2023
This should be able to be fixed by #48510.