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
{{ message }}
Repository navigation
Repl crash when SharedArrayBuffers are disabled #39717
Darwin Shelleys-MBP.fritz.box 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64
Subsystem
repl
What steps will reproduce the bug?
Run node --no-harmony-sharedarraybuffer
Try to type an arbitrary command
Observe crash:
electron_node on git:a3d0cc7244 ❯ node --no-harmony-sharedarraybuffer 6:25PM
Welcome to Node.js v16.2.0.
Type ".help" for more information.
> snode:internal/readline/emitKeypressEvents:71
throw err;
^
TypeError: SharedArrayBuffer is not a constructor
at node:internal/worker:96:32
at NativeModule.compileForInternalLoader (node:internal/bootstrap/loaders:312:7)
at nativeModuleRequire (node:internal/bootstrap/loaders:341:14)
at node:worker_threads:11:5
at NativeModule.compileForInternalLoader (node:internal/bootstrap/loaders:312:7)
at nativeModuleRequire (node:internal/bootstrap/loaders:341:14)
at node:inspector:32:26
at NativeModule.compileForInternalLoader (node:internal/bootstrap/loaders:312:7)
at nativeModuleRequire (node:internal/bootstrap/loaders:341:14)
at sendInspectorCommand (node:internal/util/inspector:14:21)
How often does it reproduce? Is there a required condition?
Activity
lib: do not crash using workers with disabled shared array buffers
lib: do not crash using workers with disabled shared array buffers
lib: do not crash using workers with disabled shared array buffers
lib: do not crash using workers with disabled shared array buffers
13 remaining items
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)
Skip test depending on always-true removed --harmony-atomics flag (#155)