Enterprise replset [direct: primary]> EJSON.stringify(db.test.find()) internal/async_hooks.js:189 function emitInitNative(asyncId, type, triggerAsyncId, resource) { ^ RangeError: Maximum call stack size exceeded (Use `-- --trace-uncaught ...` to show where the exception was thrown)
The async_hooks involvement may or may not be a red herring, it is used by the REPL under the hood for async tracking, but I suspect that the error itself would also reproduce in a non-REPL environment.
- is related to
-
NODE-3226 EJSON.serialize() overflows stack for circular references in input
- Closed
- related to
-
MONGOSH-764 Bump driver + bson
- Closed