-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Environment:OS: FreeBSD 14.3
node.js / npm versions: 24.11.0/11.6.1
Additional info: I am the maintainer of https://www.freshports.org/databases/mongosh/
-
None
-
Developer Tools
Problem Statement/Rationale
I am the maintainer of the mongosh port on FreeBSD.I tried to compile mongosh with node24 but it crashes at runtime.
For now, I am working with mongosh v2.5.5 that runs fine with node22 but plan to upgrade to 2.5.10.
# /usr/local/bin/mongosh --version Assertion failed: (EmbedderSnapshotData::CanUseCustomSnapshotPerIsolate()), function RunNodeInstance, file ../src/node_main.cc, line 251. Abort
Steps to Reproduce
Get a FreeBSD running, install standalone mongosh and run it.
Expected Results
Make it run with node24.
Actual Results
Crash on startup.
Additional Notes
Link to FreeBSD issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290975