Bug 2282103

Summary: Crash in builtins::BuiltinLoader::AddExternalizedBuiltin with nodejs-22.2.0-1.fc41.x86_64
Product: [Fedora] Fedora Reporter: Sandro Mani <manisandro>
Component: nodejsAssignee: NodeJS Packaging SIG <nodejs-sig>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: mrunge, nodejs-sig, sergio, sgallagh, thrcka, vondruch, zsvetlik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-27 13:30:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandro Mani 2024-05-21 09:25:33 UTC
A npm install with nodejs-22.2.0-1.fc41.x86_64 results in

1: 0x7fbb2ffae585 node::builtins::BuiltinLoader::AddExternalizedBuiltin(char const*, char const*) [/lib64/libnode.so.127]
2: 0x7fbb2ffae763 node::builtins::BuiltinLoader::BuiltinLoader() [/lib64/libnode.so.127]
3: 0x7fbb2ff12e61 node::InitializePrimordials(v8::Local<v8::Context>) [/lib64/libnode.so.127]
4: 0x7fbb2ff12fa0 node::GetPerContextExports(v8::Local<v8::Context>) [/lib64/libnode.so.127]
5: 0x7fbb2ff12d68 node::InitializePrimordials(v8::Local<v8::Context>) [/lib64/libnode.so.127]
6: 0x7fbb2ff13080 node::InitializeMainContextForSnapshot(v8::Local<v8::Context>) [/lib64/libnode.so.127]
7: 0x7fbb2ff130a5 node::InitializeContext(v8::Local<v8::Context>) [/lib64/libnode.so.127]
8: 0x7fbb2ff13109 node::NewContext(v8::Isolate*, v8::Local<v8::ObjectTemplate>) [/lib64/libnode.so.127]
9: 0x7fbb3002e564 node::NodeMainInstance::CreateMainEnvironment(node::ExitCode*) [/lib64/libnode.so.127]
10: 0x7fbb3002e6bb node::NodeMainInstance::Run() [/lib64/libnode.so.127]
11: 0x7fbb2ff9185f node::Start(int, char**) [/lib64/libnode.so.127]
12: 0x7fbb2f23c1c8  [/lib64/libc.so.6]
13: 0x7fbb2f23c28b __libc_start_main [/lib64/libc.so.6]
14: 0x557a26402035 _start [/usr/bin/node


Reproducible: Always

Steps to Reproduce:
1. npm install

Comment 1 Stephen Gallagher 2024-05-21 13:50:59 UTC
Oof, there are several issues here that I need to fix. The first of which is that 22 isn't supposed to be the default in Rawhide until next week... Specifically to avoid issues like this.

Comment 2 Stephen Gallagher 2024-05-23 20:04:24 UTC
I think this should be addressed in nodejs22-22.2.0-9.fc41

Comment 3 Sandro Mani 2024-05-27 13:30:15 UTC
Yes works, thanks!