Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate flaky test-repl-sigint-nested-eval #41123

Closed
lpinca opened this issue Dec 9, 2021 · 3 comments · Fixed by #45354
Closed

Investigate flaky test-repl-sigint-nested-eval #41123

lpinca opened this issue Dec 9, 2021 · 3 comments · Fixed by #45354
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI. linux Issues and PRs related to the Linux platform. macos Issues and PRs related to the macOS platform / OSX. repl Issues and PRs related to the REPL subsystem.

Comments

@lpinca
Copy link
Member

lpinca commented Dec 9, 2021

Test

test-repl-sigint-nested-eval

Platform

macos, linux

Console output

09:40:33 not ok 2115 parallel/test-repl-sigint-nested-eval
09:40:33   ---
09:40:33   duration_ms: 0.413
09:40:33   severity: fail
09:40:33   exitcode: 1
09:40:33   stack: |-
09:40:33     Stacktrace:
09:40:33        ptr1=0x14fc68801d49
09:40:33         ptr2=(nil)
09:40:33         ptr3=(nil)
09:40:33         ptr4=(nil)
09:40:33         failure_message_object=0x7ffc5b8b25b0
09:40:33     
09:40:33     ==== JS stack trace =========================================
09:40:33     
09:40:33         0: ExitFrame [pc: 0x55880ec15cf9]
09:40:33         1: StubFrame [pc: 0x55880eca171d]
09:40:33     Security context: 0x363e5c8714f1 <JSGlobalObject>
09:40:33         2: _fatalException [0x363e5c848781] [node:internal/process/execution:145] [bytecode=0x31e1a03ea1b9 offset=13](this=0x363e5c842d09 <process map = 0x193ab760c9>,0x14fc68801d49 <Odd Oddball: termination_exception>,0x14fc68801769 <false>)
09:40:33         3: InternalFrame [pc: 0x55880eba2f5b]
09:40:33         4: EntryFrame [pc: 0x55880eba2c83]
09:40:33         5: builtin exit frame: evaluate(this=0x0bc4b6e68301 <ModuleWrap map = 0x35187a50dbe1>,0x0bc4b6e68301 <ModuleWrap map = 0x35187a50dbe1>,-1,0x14fc68801769 <false>)
09:40:33     
09:40:33         6: getESMFacade [0x140ba85ace9] [node:internal/bootstrap/loaders:279] [bytecode=0x31e1a03e98b1 offset=140](this=0x1f6a976ce221 <NativeModule map = 0x193ab5aff1>)
09:40:33         7: compileForPublicLoader [0x140ba85ac71] [node:internal/bootstrap/loaders:259] [bytecode=0x31e1a03e9611 offset=111](this=0x1f6a976ce221 <NativeModule map = 0x193ab5aff1>)
09:40:33         8: loadNativeModule(aka loadNativeModule) [0xbc4b6e4b539] [node:internal/modules/cjs/helpers:49] [bytecode=0x31e1a03e9369 offset=53](this=0x14fc68801599 <undefined>,0x2ea24d428139 <String[2]: >"vm">,0x2ea24d428139 <String[2]: >"vm">)
09:40:33         9: _load [0x2022d685ac41] [node:internal/modules/cjs/loader:804] [bytecode=0x31e1a03e8531 offset=304](this=0x293d1659d4a9 <JSFunction Module (sfi = 0x2022d684a479)>,0x2ea24d428139 <String[2]: >"vm">,0x0bc4b6e5b5d1 <Module map = 0x35187a50c999>,0x14fc68801769 <false>)
09:40:33        10: require [0x2022d685ad01] [node:internal/modules/cjs/loader:999] [bytecode=0x31e1a03e81c1 offset=76](this=0x0bc4b6e5b5d1 <Module map = 0x35187a50c999>,0x2ea24d428139 <String[2]: >"vm">)
09:40:33        11: get [0x293d16593109] [node:internal/modules/cjs/helpers:175] [bytecode=0x31e1a03e7fa9 offset=25](this=0x363e5c841119 <JSGlobalProxy>)
09:40:33        12: InternalFrame [pc: 0x55880eba2f5b]
09:40:33        13: EntryFrame [pc: 0x55880eba2c83]
09:40:33        14: ExitFrame [pc: 0x55880ec15cf9]
09:40:33        15: StubFrame [pc: 0x55880ec9c3ec]
09:40:33        16: /* anonymous */ [0x31e1a03e7b01] [REPL1:1] [bytecode=0x31e1a03e70a1 offset=34](this=0x363e5c841119 <JSGlobalProxy>)
09:40:33        17: InternalFrame [pc: 0x55880eba2f5b]
09:40:33        18: EntryFrame [pc: 0x55880eba2c83]
09:40:33        19: builtin exit frame: runInThisContext(this=0x0bc4b6e673e9 <ContextifyScript map = 0x35187a509e01>,0x0bc4b6e673e9 <ContextifyScript map = 0x35187a509e01>,-1,0x14fc68801769 <false>,0x14fc68801709 <true>,0x14fc68801769 <false>)
09:40:33     
09:40:33        20: runInThisContext [0x1f6a976ce899] [node:vm:129] [bytecode=0x31e1a03e7a09 offset=93](this=0x0bc4b6e673e9 <ContextifyScript map = 0x35187a509e01>,0x0bc4b6e67d51 <Object map = 0x35187a50db51>)
09:40:33        21: defaultEval [0xbc4b6e41119] [node:repl:564] [bytecode=0x31e1a03e3d89 offset=1020](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>,0x0bc4b6e65689 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">,0x363e5c841119 <JSGlobalProxy>,0x0bc4b6e656a9 <String[5]: "REPL1">,0x0bc4b6e65491 <JSFunction finish (sfi = 0x31e1a03e22f1)>)
09:40:33        22: bound(aka bound) [0x293d165b7789] [node:domain:421] [bytecode=0x31e1a03e2bb9 offset=23](this=0x14fc68801599 <undefined>,0x293d165ab411 <REPLServer map = 0x35187a50d329>,0x293d165abc31 <EventEmitter map = 0x35187a50b949>,0x0bc4b6e41119 <JSFunction defaultEval (sfi = 0x31e1a03cd271)>,0x0bc4b6e656f1 <Arguments map = 0x193ab5a739>)
09:40:33        23: eval(aka runBound) [0x293d165abca9] [node:domain:432] [bytecode=0x31e1a03e2a99 offset=21](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>)
09:40:33        24: onLine [0xbc4b6e41199] [node:repl:891] [bytecode=0x31e1a03e24b1 offset=546](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>,0x0bc4b6e65301 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">)
09:40:33        25: emit [0x363e5c8422c1] [node:events:390] [bytecode=0x1bbc3df87731 offset=268](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>,0x14fc68804d71 <String[4]: #line>)
09:40:33        26: emit [0x3a4daa4e5a01] [node:domain:475] [bytecode=0x31e1a03d2d51 offset=69](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>)
09:40:33        27: _onLine [0x293d1659df19] [node:internal/readline/interface:389] [bytecode=0x31e1a03e20c9 offset=59](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>,0x0bc4b6e65301 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">)
09:40:33        28: _normalWrite [0x293d1659e411] [node:internal/readline/interface:574] [bytecode=0x31e1a03e1a31 offset=248](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>,0x0bc4b6e65031 <Uint8Array map = 0x193ab4cd41>)
09:40:33        29: ondata [0xbc4b6e44229] [node:internal/readline/interface:219] [bytecode=0x31e1a03e1799 offset=15](this=0x293d16585b69 <Socket map = 0x35187a50b2d1>,0x0bc4b6e65031 <Uint8Array map = 0x193ab4cd41>)
09:40:33        30: emit [0x363e5c8422c1] [node:events:390] [bytecode=0x1bbc3df87731 offset=268](this=0x293d16585b69 <Socket map = 0x35187a50b2d1>,0x2ea24d412d79 <String[4]: #data>)
09:40:33        31: emit [0x3a4daa4e5a01] [node:domain:475] [bytecode=0x31e1a03d2d51 offset=69](this=0x293d16585b69 <Socket map = 0x35187a50b2d1>)
09:40:33        32: addChunk(aka addChunk) [0x363e5c860649] [node:internal/streams/readable:324] [bytecode=0x31e1a03e15a1 offset=83](this=0x14fc68801599 <undefined>,0x293d16585b69 <Socket map = 0x35187a50b2d1>,0x0bc4b6e50ce1 <ReadableState map = 0x193ab793b1>,0x0bc4b6e65031 <Uint8Array map = 0x193ab4cd41>,0x14fc68801769 <false>)
09:40:33        33: readableAddChunk(aka readableAddChunk) [0x363e5c8605f1] [node:internal/streams/readable:297] [bytecode=0x31e1a03e1149 offset=469](this=0x14fc68801599 <undefined>,0x293d16585b69 <Socket map = 0x35187a50b2d1>,0x0bc4b6e65031 <Uint8Array map = 0x193ab4cd41>,0x14fc688017b1 <String[0]: #>,0x14fc68801769 <false>)
09:40:33        34: push [0x363e5c862001] [node:internal/streams/readable:234] [bytecode=0x31e1a03e0f19 offset=14](this=0x293d16585b69 <Socket map = 0x35187a50b2d1>,0x0bc4b6e65031 <Uint8Array map = 0x193ab4cd41>,0x14fc68801599 <undefined>)
09:40:33        35: onStreamRead [0x140ba847759] [node:internal/stream_base_commons:190] [bytecode=0x31e1a03e0ad9 offset=164](this=0x293d16583f11 <Pipe map = 0x35187a50b319>,0x0bc4b6e64f11 <ArrayBuffer map = 0x193ab43291>)
09:40:33        36: callbackTrampoline [0x363e5c849721] [node:internal/async_hooks:130] [bytecode=0x31e1a03e03d1 offset=120](this=0x293d16583f11 <Pipe map = 0x35187a50b319>,4,0x293d16583f11 <Pipe map = 0x35187a50b319>,0x0140ba847759 <JSFunction onStreamRead (sfi = 0x204b6b2ff549)>)
09:40:33        37: InternalFrame [pc: 0x55880eba2f5b]
09:40:33        38: EntryFrame [pc: 0x55880eba2c83]
09:40:33     
09:40:33     ==== Details ================================================
09:40:33     
09:40:33     [0]: ExitFrame [pc: 0x55880ec15cf9]
09:40:33     [1]: StubFrame [pc: 0x55880eca171d]
09:40:33     [2]: _fatalException [0x363e5c848781] [node:internal/process/execution:145] [bytecode=0x31e1a03ea1b9 offset=13](this=0x363e5c842d09 <process map = 0x193ab760c9>,0x14fc68801d49 <Odd Oddball: termination_exception>,0x14fc68801769 <false>) {
09:40:33       // expression stack (top to bottom)
09:40:33       [08] : 0x14fc68801599 <undefined>
09:40:33       [07] : 0x14fc68801599 <undefined>
09:40:33       [06] : 0x14fc68801599 <undefined>
09:40:33       [05] : 0x14fc68801599 <undefined>
09:40:33       [04] : 0x14fc68801599 <undefined>
09:40:33       [03] : 0x14fc68801599 <undefined>
09:40:33       [02] : 0x363e5c849e71 <JSFunction clearDefaultTriggerAsyncId (sfi = 0x2a88a683a2c9)>
09:40:33       [01] : 0x14fc68801599 <undefined>
09:40:33       [00] : 0x14fc68801599 <undefined>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function (er, fromPromise) => {\x0a    // It's possible that defaultTriggerAsyncId was set for a constructor\x0a    // call that threw and was never cleared. So clear it now.\x0a    clearDefaultTriggerAsyncId();\x0a\x0a    // If diagnostic reporting is enabled, call into its handler to see\x0a    // whether it is interested i...
09:40:33     
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [3]: InternalFrame [pc: 0x55880eba2f5b]
09:40:33     [4]: EntryFrame [pc: 0x55880eba2c83]
09:40:33     [5]: builtin exit frame: evaluate(this=0x0bc4b6e68301 <ModuleWrap map = 0x35187a50dbe1>,0x0bc4b6e68301 <ModuleWrap map = 0x35187a50dbe1>,-1,0x14fc68801769 <false>)
09:40:33     
09:40:33     [6]: getESMFacade [0x140ba85ace9] [node:internal/bootstrap/loaders:279] [bytecode=0x31e1a03e98b1 offset=140](this=0x1f6a976ce221 <NativeModule map = 0x193ab5aff1>) {
09:40:33       // heap-allocated locals
09:40:33       var nativeModule = 0x1f6a976ce221 <NativeModule map = 0x193ab5aff1>
09:40:33       // expression stack (top to bottom)
09:40:33       [16] : 0x14fc68801599 <undefined>
09:40:33       [15] : 0x2022d6855469 <JSFunction evaluate (sfi = 0x2022d6855431)>
09:40:33       [14] : 7
09:40:33       [13] : 0x14fc68801669 <the_hole>
09:40:33       [12] : 0x0bc4b6e68301 <ModuleWrap map = 0x35187a50dbe1>
09:40:33       [11] : -1
09:40:33       [10] : 0x14fc68801769 <false>
09:40:33       [09] : 0x0bc4b6e68281 <JSFunction (sfi = 0x31e1a03e97e1)>
09:40:33       [08] : 0x0bc4b6e68159 <JSArray[10]>
09:40:33       [07] : 0x14fc68801769 <false>
09:40:33       [06] : -1
09:40:33       [05] : 0x0bc4b6e68301 <ModuleWrap map = 0x35187a50dbe1>
09:40:33       [04] : 0x2022d6855469 <JSFunction evaluate (sfi = 0x2022d6855431)>
09:40:33       [03] : 0x0140ba85aca9 <BlockContext[3]>
09:40:33       [02] : 0x0bc4b6e68159 <JSArray[10]>
09:40:33       [01] : 0x0bc4b6e680e9 <String[7]: "node:vm">
09:40:33       [00] : 0x2022d6855779 <JSFunction ModuleWrap (sfi = 0x2022d6855741)>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function getESMFacade() {\x0a    if (this.module) return this.module;\x0a    const { ModuleWrap } = internalBinding('module_wrap');\x0a    const url = `node:${this.id}`;\x0a    const nativeModule = this;\x0a    const exportsKeys = ArrayPrototypeSlice(this.exportKeys);\x0a    ArrayPrototypePush(exportsKeys, 'default');\x0a    this.module = n...
09:40:33     
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [7]: compileForPublicLoader [0x140ba85ac71] [node:internal/bootstrap/loaders:259] [bytecode=0x31e1a03e9611 offset=111](this=0x1f6a976ce221 <NativeModule map = 0x193ab5aff1>) {
09:40:33       // expression stack (top to bottom)
09:40:33       [04] : 0x1f6a976ce221 <NativeModule map = 0x193ab5aff1>
09:40:33       [03] : 0x1f6a976ce279 <Object map = 0x193ab51ff1>
09:40:33       [02] : 0x1f6a976ed671 <JSFunction keys (sfi = 0x2ea24d41a919)>
09:40:33       [01] : 0x0140ba85ace9 <JSFunction getESMFacade (sfi = 0x2a88a680f7d9)>
09:40:33       [00] : 0x14fc68801769 <false>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function compileForPublicLoader() {\x0a    if (!this.canBeRequiredByUsers) {\x0a      // No code because this is an assertion against bugs\x0a      // eslint-disable-next-line no-restricted-syntax\x0a      throw new Error(`Should not compile ${this.id} for public use`);\x0a    }\x0a    this.compileForInternalLoader();\x0a    if (!this.exportKeys) {\x0a ...
09:40:33     
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [8]: loadNativeModule(aka loadNativeModule) [0xbc4b6e4b539] [node:internal/modules/cjs/helpers:49] [bytecode=0x31e1a03e9369 offset=53](this=0x14fc68801599 <undefined>,0x2ea24d428139 <String[2]: >"vm">,0x2ea24d428139 <String[2]: >"vm">) {
09:40:33       // expression stack (top to bottom)
09:40:33       [03] : 0x1f6a976ce221 <NativeModule map = 0x193ab5aff1>
09:40:33       [02] : 0x31e1a03e92a9 <String[21]: #load native module %s>
09:40:33       [01] : 0x0140ba85ac71 <JSFunction compileForPublicLoader (sfi = 0x2a88a680f761)>
09:40:33       [00] : 0x1f6a976ce221 <NativeModule map = 0x193ab5aff1>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function loadNativeModule(filename, request) {\x0a  const mod = NativeModule.map.get(filename);\x0a  if (mod?.canBeRequiredByUsers) {\x0a    debug('load native module %s', request);\x0a    // compileForPublicLoader() throws if mod.canBeRequiredByUsers is false:\x0a    mod.compileForPublicLoader();\x0a    return mod;\x0a  }\x0a}
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [9]: _load [0x2022d685ac41] [node:internal/modules/cjs/loader:804] [bytecode=0x31e1a03e8531 offset=304](this=0x293d1659d4a9 <JSFunction Module (sfi = 0x2022d684a479)>,0x2ea24d428139 <String[2]: >"vm">,0x0bc4b6e5b5d1 <Module map = 0x35187a50c999>,0x14fc68801769 <false>) {
09:40:33       // expression stack (top to bottom)
09:40:33       [22] : 0x14fc68801599 <undefined>
09:40:33       [21] : 0x2ea24d428139 <String[2]: >"vm">
09:40:33       [20] : 0x2ea24d428139 <String[2]: >"vm">
09:40:33       [19] : 0x14fc68801599 <undefined>
09:40:33       [18] : 0x14fc68801599 <undefined>
09:40:33       [17] : 0x14fc68801769 <false>
09:40:33       [16] : 0x0bc4b6e5b5d1 <Module map = 0x35187a50c999>
09:40:33       [15] : 0x2022d6859ab9 <String[5]: #node:>
09:40:33       [14] : 0x293d1659d4a9 <JSFunction Module (sfi = 0x2022d684a479)>
09:40:33       [13] : 0x0bc4b6e4b539 <JSFunction loadNativeModule (sfi = 0x2022d68505f9)>
09:40:33       [12] : 0x14fc68801599 <undefined>
09:40:33       [11] : 0x14fc68801599 <undefined>
09:40:33       [10] : 0x14fc68801599 <undefined>
09:40:33       [09] : 0x14fc68801599 <undefined>
09:40:33       [08] : 0x14fc68801599 <undefined>
09:40:33       [07] : 0x14fc68801599 <undefined>
09:40:33       [06] : 0x14fc68801599 <undefined>
09:40:33       [05] : 0x14fc68801599 <undefined>
09:40:33       [04] : 0x14fc68801599 <undefined>
09:40:33       [03] : 0x14fc68801599 <undefined>
09:40:33       [02] : 0x14fc68801599 <undefined>
09:40:33       [01] : 0x2ea24d428139 <String[2]: >"vm">
09:40:33       [00] : 0x0bc4b6e67ec1 <String[4]: >".\x00vm">
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function (request, parent, isMain) {\x0a  let relResolveCacheIdentifier;\x0a  if (parent) {\x0a    debug('Module._load REQUEST %s parent: %s', request, parent.id);\x0a    // Fast path for (lazy loaded) modules in the same directory. The indirect\x0a    // caching is required to allow cache invalidation without changing the...
09:40:33     
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [10]: require [0x2022d685ad01] [node:internal/modules/cjs/loader:999] [bytecode=0x31e1a03e81c1 offset=76](this=0x0bc4b6e5b5d1 <Module map = 0x35187a50c999>,0x2ea24d428139 <String[2]: >"vm">) {
09:40:33       // expression stack (top to bottom)
09:40:33       [11] : 0x293d1659d4a9 <JSFunction Module (sfi = 0x2022d684a479)>
09:40:33       [10] : 0x2ea24d428139 <String[2]: >"vm">
09:40:33       [09] : 0x0bc4b6e5b5d1 <Module map = 0x35187a50c999>
09:40:33       [08] : 0x14fc68801769 <false>
09:40:33       [07] : 0x14fc68801769 <false>
09:40:33       [06] : 0x0bc4b6e5b5d1 <Module map = 0x35187a50c999>
09:40:33       [05] : 0x2ea24d428139 <String[2]: >"vm">
09:40:33       [04] : 0x293d1659d4a9 <JSFunction Module (sfi = 0x2022d684a479)>
09:40:33       [03] : 0x2022d685ac41 <JSFunction Module._load (sfi = 0x2022d684af61)>
09:40:33       [02] : 0x293d16589929 <FunctionContext[124]>
09:40:33       [01] : 0x14fc68801599 <undefined>
09:40:33       [00] : 1
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function (id) {\x0a  validateString(id, 'id');\x0a  if (id === '') {\x0a    throw new ERR_INVALID_ARG_VALUE('id', id,\x0a                                    'must be a non-empty string');\x0a  }\x0a  requireDepth++;\x0a  try {\x0a    return Module._load(id, this, /* isMain */ false);\x0a  } finally {\x0a    requireDepth--;\x0a  }\x0a}
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [11]: get [0x293d16593109] [node:internal/modules/cjs/helpers:175] [bytecode=0x31e1a03e7fa9 offset=25](this=0x363e5c841119 <JSGlobalProxy>) {
09:40:33       // heap-allocated locals
09:40:33       var lib = 0x14fc68801669 <the_hole>
09:40:33       // expression stack (top to bottom)
09:40:33       [06] : 0x0bc4b6e5b5d1 <Module map = 0x35187a50c999>
09:40:33       [05] : 0x2ea24d428139 <String[2]: >"vm">
09:40:33       [04] : 0x14fc68801599 <undefined>
09:40:33       [03] : 0x2ea24d428139 <String[2]: >"vm">
09:40:33       [02] : 0x0bc4b6e5b5d1 <Module map = 0x35187a50c999>
09:40:33       [01] : 0x2022d685ad01 <JSFunction Module.require (sfi = 0x2022d684b191)>
09:40:33       [00] : 0x0bc4b6e4dbd1 <FunctionContext[4]>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function get() => {\x0a        const lib = dummyModule.require(name);\x0a\x0a        // Disable the current getter/setter and set up a new\x0a        // non-enumerable property.\x0a        delete object[name];\x0a        ObjectDefineProperty(object, name, {\x0a          get: () => lib,\x0a          set: setReal,\x0a          configurable...
09:40:33     
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [12]: InternalFrame [pc: 0x55880eba2f5b]
09:40:33     [13]: EntryFrame [pc: 0x55880eba2c83]
09:40:33     [14]: ExitFrame [pc: 0x55880ec15cf9]
09:40:33     [15]: StubFrame [pc: 0x55880ec9c3ec]
09:40:33     [16]: /* anonymous */ [0x31e1a03e7b01] [REPL1:1] [bytecode=0x31e1a03e70a1 offset=34](this=0x363e5c841119 <JSGlobalProxy>) {
09:40:33       // expression stack (top to bottom)
09:40:33       [04] : 0x365a24245d09 <String[7]: #SIGUSR2>
09:40:33       [03] : 14248
09:40:33       [02] : 0x363e5c842d09 <process map = 0x193ab760c9>
09:40:33       [01] : 0x363e5c846c31 <JSFunction kill (sfi = 0x378e149ff8e1)>
09:40:33       [00] : 0x14fc68801599 <undefined>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\x0a
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [17]: InternalFrame [pc: 0x55880eba2f5b]
09:40:33     [18]: EntryFrame [pc: 0x55880eba2c83]
09:40:33     [19]: builtin exit frame: runInThisContext(this=0x0bc4b6e673e9 <ContextifyScript map = 0x35187a509e01>,0x0bc4b6e673e9 <ContextifyScript map = 0x35187a509e01>,-1,0x14fc68801769 <false>,0x14fc68801709 <true>,0x14fc68801769 <false>)
09:40:33     
09:40:33     [20]: runInThisContext [0x1f6a976ce899] [node:vm:129] [bytecode=0x31e1a03e7a09 offset=93](this=0x0bc4b6e673e9 <ContextifyScript map = 0x35187a509e01>,0x0bc4b6e67d51 <Object map = 0x35187a50db51>) {
09:40:33       // expression stack (top to bottom)
09:40:33       [14] : 0x14fc68801599 <undefined>
09:40:33       [13] : 0x0140ba849631 <JSFunction runInThisContext (sfi = 0x2ea24d419ba1)>
09:40:33       [12] : 9
09:40:33       [11] : 0x14fc68801669 <the_hole>
09:40:33       [10] : 0x0bc4b6e673e9 <ContextifyScript map = 0x35187a509e01>
09:40:33       [09] : -1
09:40:33       [08] : 0x14fc68801769 <false>
09:40:33       [07] : 0x14fc68801709 <true>
09:40:33       [06] : 0x14fc68801769 <false>
09:40:33       [05] : 0x0bc4b6e67e49 <JSArray[4]>
09:40:33       [04] : 0x0bc4b6e673e9 <ContextifyScript map = 0x35187a509e01>
09:40:33       [03] : 0x0140ba849631 <JSFunction runInThisContext (sfi = 0x2ea24d419ba1)>
09:40:33       [02] : 0x363e5c8436c9 <JSFunction apply (sfi = 0x2ea24d41cf29)>
09:40:33       [01] : 0x0bc4b6e67e49 <JSArray[4]>
09:40:33       [00] : 0x14fc68801709 <true>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function runInThisContext(options) {\x0a    const { breakOnSigint, args } = getRunInContextArgs(options);\x0a    if (breakOnSigint && process.listenerCount('SIGINT') > 0) {\x0a      return sigintHandlersWrap(super.runInThisContext, this, args);\x0a    }\x0a    return ReflectApply(super.runInThisContext, this, args);\x0a  }
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [21]: defaultEval [0xbc4b6e41119] [node:repl:564] [bytecode=0x31e1a03e3d89 offset=1020](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>,0x0bc4b6e65689 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">,0x363e5c841119 <JSGlobalProxy>,0x0bc4b6e656a9 <String[5]: "REPL1">,0x0bc4b6e65491 <JSFunction finish (sfi = 0x31e1a03e22f1)>) {
09:40:33       // heap-allocated locals
09:40:33       var cb = 0x0bc4b6e65491 <JSFunction finish (sfi = 0x31e1a03e22f1)>
09:40:33       var asyncESM = 0x1f6a976c6ee9 <Object map = 0x193ab76081>
09:40:33       var finished = 0x14fc68801769 <false>
09:40:33       var finishExecution = 0x0bc4b6e65871 <JSFunction finishExecution (sfi = 0x31e1a03e36f1)>
09:40:33       // expression stack (top to bottom)
09:40:33       [27] : 0x0bc4b6e673e9 <ContextifyScript map = 0x35187a509e01>
09:40:33       [26] : 0x0bc4b6e67d51 <Object map = 0x35187a50db51>
09:40:33       [25] : 0x14fc68801599 <undefined>
09:40:33       [24] : 0x14fc68801599 <undefined>
09:40:33       [23] : 0x1f6a976ffed1 <String[4]: #repl>
09:40:33       [22] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [21] : 0x1f6a976ce899 <JSFunction runInThisContext (sfi = 0x2ea24d404b89)>
09:40:33       [20] : 0x0bc4b6e65831 <FunctionContext[6]>
09:40:33       [19] : 0x14fc68801769 <false>
09:40:33       [18] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [17] : 0x0bc4b6e65831 <FunctionContext[6]>
09:40:33       [16] : 0x293d16593419 <FunctionContext[20]>
09:40:33       [15] : 0x14fc68801599 <undefined>
09:40:33       [14] : 0x14fc68801599 <undefined>
09:40:33       [13] : 0x14fc68801599 <undefined>
09:40:33       [12] : 0x14fc68801599 <undefined>
09:40:33       [11] : 0x1f6a976c9039 <JSFunction pathToFileURL (sfi = 0x232e8a39bf39)>
09:40:33       [10] : 0x14fc68801599 <undefined>
09:40:33       [09] : 0x0bc4b6e67d51 <Object map = 0x35187a50db51>
09:40:33       [08] : 0x14fc68801599 <undefined>
09:40:33       [07] : 0x14fc68801599 <undefined>
09:40:33       [06] : 0x0bc4b6e65689 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">
09:40:33       [05] : 0x14fc68801769 <false>
09:40:33       [04] : 0x14fc68801769 <false>
09:40:33       [03] : 0x14fc68801319 <null>
09:40:33       [02] : 0x14fc68801599 <undefined>
09:40:33       [01] : 0x0bc4b6e673e9 <ContextifyScript map = 0x35187a509e01>
09:40:33       [00] : 0x14fc68801599 <undefined>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function defaultEval(code, context, file, cb) {\x0a    const asyncESM = require('internal/process/esm_loader');\x0a\x0a    let result, script, wrappedErr;\x0a    let err = null;\x0a    let wrappedCmd = false;\x0a    let awaitPromise = false;\x0a    const input = code;\x0a\x0a    // It's confusing for `{ a : 1 }` to be interpreted as a block\x0a    ...
09:40:33     
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [22]: bound(aka bound) [0x293d165b7789] [node:domain:421] [bytecode=0x31e1a03e2bb9 offset=23](this=0x14fc68801599 <undefined>,0x293d165ab411 <REPLServer map = 0x35187a50d329>,0x293d165abc31 <EventEmitter map = 0x35187a50b949>,0x0bc4b6e41119 <JSFunction defaultEval (sfi = 0x31e1a03cd271)>,0x0bc4b6e656f1 <Arguments map = 0x193ab5a739>) {
09:40:33       // expression stack (top to bottom)
09:40:33       [09] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [08] : 0x0bc4b6e65689 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">
09:40:33       [07] : 0x363e5c841119 <JSGlobalProxy>
09:40:33       [06] : 0x0bc4b6e656a9 <String[5]: "REPL1">
09:40:33       [05] : 0x0bc4b6e65491 <JSFunction finish (sfi = 0x31e1a03e22f1)>
09:40:33       [04] : 0x0bc4b6e656f1 <Arguments map = 0x193ab5a739>
09:40:33       [03] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [02] : 0x0bc4b6e41119 <JSFunction defaultEval (sfi = 0x31e1a03cd271)>
09:40:33       [01] : 0x363e5c8436c9 <JSFunction apply (sfi = 0x2ea24d41cf29)>
09:40:33       [00] : 0x14fc68801599 <undefined>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function bound(_this, self, cb, fnargs) {\x0a  self.enter();\x0a  const ret = ReflectApply(cb, _this, fnargs);\x0a  self.exit();\x0a\x0a  return ret;\x0a}
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [23]: eval(aka runBound) [0x293d165abca9] [node:domain:432] [bytecode=0x31e1a03e2a99 offset=21](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>) {
09:40:33       // expression stack (top to bottom)
09:40:33       [10] : 0x14fc68801599 <undefined>
09:40:33       [09] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [08] : 0x293d165abc31 <EventEmitter map = 0x35187a50b949>
09:40:33       [07] : 0x0bc4b6e41119 <JSFunction defaultEval (sfi = 0x31e1a03cd271)>
09:40:33       [06] : 0x0bc4b6e656f1 <Arguments map = 0x193ab5a739>
09:40:33       [05] : 0x0bc4b6e656f1 <Arguments map = 0x193ab5a739>
09:40:33       [04] : 0x0bc4b6e41119 <JSFunction defaultEval (sfi = 0x31e1a03cd271)>
09:40:33       [03] : 0x293d165abc31 <EventEmitter map = 0x35187a50b949>
09:40:33       [02] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [01] : 0x293d165b7789 <JSFunction bound (sfi = 0x3a4daa4ddee1)>
09:40:33       [00] : 0x0bc4b6e656f1 <Arguments map = 0x193ab5a739>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function runBound() {\x0a    return bound(this, self, cb, arguments);\x0a  }
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [24]: onLine [0xbc4b6e41199] [node:repl:891] [bytecode=0x31e1a03e24b1 offset=546](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>,0x0bc4b6e65301 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">) {
09:40:33       // heap-allocated locals
09:40:33       var cmd = 0x0bc4b6e65301 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
09:40:33       // expression stack (top to bottom)
09:40:33       [19] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [18] : 0x0bc4b6e65689 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">
09:40:33       [17] : 0x363e5c841119 <JSGlobalProxy>
09:40:33       [16] : 0x0bc4b6e656a9 <String[5]: "REPL1">
09:40:33       [15] : 0x0bc4b6e65491 <JSFunction finish (sfi = 0x31e1a03e22f1)>
09:40:33       [14] : 0x0bc4b6e65491 <JSFunction finish (sfi = 0x31e1a03e22f1)>
09:40:33       [13] : 0x0bc4b6e656a9 <String[5]: "REPL1">
09:40:33       [12] : 0x363e5c841119 <JSGlobalProxy>
09:40:33       [11] : 0x0bc4b6e65689 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">
09:40:33       [10] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [09] : 0x293d165abca9 <JSFunction runBound (sfi = 0x31e1a03d2961)>
09:40:33       [08] : 0x293d16593419 <FunctionContext[20]>
09:40:33       [07] : 0x14fc68801599 <undefined>
09:40:33       [06] : 0x14fc68801599 <undefined>
09:40:33       [05] : 0x14fc68801599 <undefined>
09:40:33       [04] : 0x14fc68801599 <undefined>
09:40:33       [03] : 0x14fc68801599 <undefined>
09:40:33       [02] : 0x0bc4b6e65491 <JSFunction finish (sfi = 0x31e1a03e22f1)>
09:40:33       [01] : 0x0bc4b6e65689 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">
09:40:33       [00] : 0x0bc4b6e65301 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function onLine(cmd) {\x0a    debug('line %j', cmd);\x0a    cmd = cmd || '';\x0a    sawSIGINT = false;\x0a\x0a    if (self.editorMode) {\x0a      self[kBufferedCommandSymbol] += cmd + '\n';\x0a\x0a      // code alignment\x0a      const matches = self._sawKeyPress ?\x0a        StringPrototypeMatch(cmd, /^\s+/) : null;\x0a      if (matches) {\x0a     ...
09:40:33     
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [25]: emit [0x363e5c8422c1] [node:events:390] [bytecode=0x1bbc3df87731 offset=268](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>,0x14fc68804d71 <String[4]: #line>) {
09:40:33       // expression stack (top to bottom)
09:40:33       [26] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [25] : 0x0bc4b6e65301 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
09:40:33       [24] : 0x14fc68801599 <undefined>
09:40:33       [23] : 0x14fc68801599 <undefined>
09:40:33       [22] : 0x14fc68801599 <undefined>
09:40:33       [21] : 0x14fc68801599 <undefined>
09:40:33       [20] : 0x14fc68801599 <undefined>
09:40:33       [19] : 0x14fc68801599 <undefined>
09:40:33       [18] : 0x14fc68801599 <undefined>
09:40:33       [17] : 0x14fc68801599 <undefined>
09:40:33       [16] : 0x14fc68801599 <undefined>
09:40:33       [15] : 0x363e5c84e0f1 <JSFunction apply (sfi = 0x2ea24d41a2b9)>
09:40:33       [14] : 0x14fc68801599 <undefined>
09:40:33       [13] : 0x14fc68801599 <undefined>
09:40:33       [12] : 0x14fc68801599 <undefined>
09:40:33       [11] : 0x14fc68801599 <undefined>
09:40:33       [10] : 0x14fc68801599 <undefined>
09:40:33       [09] : 0x14fc68801599 <undefined>
09:40:33       [08] : 0x14fc68801599 <undefined>
09:40:33       [07] : 0x14fc68801599 <undefined>
09:40:33       [06] : 0x14fc68801599 <undefined>
09:40:33       [05] : 0x0bc4b6e41199 <JSFunction onLine (sfi = 0x31e1a03cd9a9)>
09:40:33       [04] : 0x293d165abce9 <Object map = 0x193ab435f1>
09:40:33       [03] : 0x14fc68801769 <false>
09:40:33       [02] : 0x0bc4b6e65449 <JSArray[1]>
09:40:33       [01] : 0x0bc4b6e65449 <JSArray[1]>
09:40:33       [00] : 0x14fc68804d71 <String[4]: #line>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function emit(type, ...args) {\x0a  let doError = (type === 'error');\x0a\x0a  const events = this._events;\x0a  if (events !== undefined) {\x0a    if (doError && events[kErrorMonitor] !== undefined)\x0a      this.emit(kErrorMonitor, ...args);\x0a    doError = (doError && events.error === undefined);\x0a  } else if (!doError)\x0a    retur...
09:40:33     
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [26]: emit [0x3a4daa4e5a01] [node:domain:475] [bytecode=0x31e1a03d2d51 offset=69](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>) {
09:40:33       // expression stack (top to bottom)
09:40:33       [16] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [15] : 0x14fc68804d71 <String[4]: #line>
09:40:33       [14] : 0x0bc4b6e65301 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
09:40:33       [13] : 0x0bc4b6e65411 <JSArray[2]>
09:40:33       [12] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [11] : 0x363e5c8422c1 <JSFunction emit (sfi = 0x2a88a6833169)>
09:40:33       [10] : 0x363e5c8436c9 <JSFunction apply (sfi = 0x2ea24d41cf29)>
09:40:33       [09] : 0x14fc68801599 <undefined>
09:40:33       [08] : 0x14fc68801599 <undefined>
09:40:33       [07] : 0x14fc68801599 <undefined>
09:40:33       [06] : 0x14fc68801599 <undefined>
09:40:33       [05] : 0x14fc68801599 <undefined>
09:40:33       [04] : 0x14fc68801769 <false>
09:40:33       [03] : 0x14fc68804d71 <String[4]: #line>
09:40:33       [02] : 0x14fc68801319 <null>
09:40:33       [01] : 0x0bc4b6e65411 <JSArray[2]>
09:40:33       [00] : 0x0bc4b6e65411 <JSArray[2]>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function emit(...args) {\x0a  const domain = this.domain;\x0a\x0a  const type = args[0];\x0a  const shouldEmitError = type === 'error' &&\x0a                          this.listenerCount(type) > 0;\x0a\x0a  // Just call original `emit` if current EE instance has `error`\x0a  // handler, there's no active domain or this is process\x0a  if (...
09:40:33     
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [27]: _onLine [0x293d1659df19] [node:internal/readline/interface:389] [bytecode=0x31e1a03e20c9 offset=59](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>,0x0bc4b6e65301 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">) {
09:40:33       // expression stack (top to bottom)
09:40:33       [06] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [05] : 0x14fc68804d71 <String[4]: #line>
09:40:33       [04] : 0x0bc4b6e65301 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
09:40:33       [03] : 0x14fc68804d71 <String[4]: #line>
09:40:33       [02] : 0x14fc68801599 <undefined>
09:40:33       [01] : 0x3a4daa4e5a01 <JSFunction emit (sfi = 0x3a4daa4de051)>
09:40:33       [00] : 0x14fc68801599 <undefined>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function (line) {\x0a    if (this[kQuestionCallback]) {\x0a      const cb = this[kQuestionCallback];\x0a      this[kQuestionCallback] = null;\x0a      this.setPrompt(this[kOldPrompt]);\x0a      cb(line);\x0a    } else {\x0a      this.emit('line', line);\x0a    }\x0a  }
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [28]: _normalWrite [0x293d1659e411] [node:internal/readline/interface:574] [bytecode=0x31e1a03e1a31 offset=248](this=0x293d165ab411 <REPLServer map = 0x35187a50d329>,0x0bc4b6e65031 <Uint8Array map = 0x193ab4cd41>) {
09:40:33       // expression stack (top to bottom)
09:40:33       [10] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [09] : 0x0bc4b6e65301 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
09:40:33       [08] : 0x2a88a6802179 <String[1]: #\r>
09:40:33       [07] : 0x14fc68801599 <undefined>
09:40:33       [06] : 0x0bc4b6e65301 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
09:40:33       [05] : 0x3a4daa4d9831 <Symbol: _line_buffer>
09:40:33       [04] : 0x293d1659df19 <JSFunction (sfi = 0x3a4daa4d6e99)>
09:40:33       [03] : 0
09:40:33       [02] : 0x0bc4b6e653d1 <JSArray[1]>
09:40:33       [01] : 0x14fc68801709 <true>
09:40:33       [00] : 0x14fc688017b1 <String[0]: #>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function (b) {\x0a    if (b === undefined) {\x0a      return;\x0a    }\x0a    let string = this[kDecoder].write(b);\x0a    if (\x0a      this[kSawReturnAt] &&\x0a      DateNow() - this[kSawReturnAt] <= this.crlfDelay\x0a    ) {\x0a      string = StringPrototypeReplace(string, /^\n/, '');\x0a      this[kSawReturnAt] = 0;\x0a    }\x0a\x0a    // Run...
09:40:33     
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [29]: ondata [0xbc4b6e44229] [node:internal/readline/interface:219] [bytecode=0x31e1a03e1799 offset=15](this=0x293d16585b69 <Socket map = 0x35187a50b2d1>,0x0bc4b6e65031 <Uint8Array map = 0x193ab4cd41>) {
09:40:33       // expression stack (top to bottom)
09:40:33       [03] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [02] : 0x0bc4b6e65031 <Uint8Array map = 0x193ab4cd41>
09:40:33       [01] : 0x293d165ab411 <REPLServer map = 0x35187a50d329>
09:40:33       [00] : 0x293d1659e411 <JSFunction (sfi = 0x3a4daa4d71c9)>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function ondata(data) {\x0a    self[kNormalWrite](data);\x0a  }
09:40:33     -----------------------------------------
09:40:33     }
09:40:33     
09:40:33     [30]: emit [0x363e5c8422c1] [node:events:390] [bytecode=0x1bbc3df87731 offset=268](this=0x293d16585b69 <Socket map = 0x35187a50b2d1>,0x2ea24d412d79 <String[4]: #data>) {
09:40:33       // expression stack (top to bottom)
09:40:33       [26] : 0x293d16585b69 <Socket map = 0x35187a50b2d1>
09:40:33       [25] : 0x0bc4b6e65031 <Uint8Array map = 0x193ab4cd41>
09:40:33       [24] : 0x14fc68801599 <undefined>
09:40:33       [23] : 0x14fc68801599 <undefined>
09:40:33       [22] : 0x14fc68801599 <undefined>
09:40:33       [21] : 0x14fc68801599 <undefined>
09:40:33       [20] : 0x14fc68801599 <undefined>
09:40:33       [19] : 0x14fc68801599 <undefined>
09:40:33       [18] : 0x14fc68801599 <undefined>
09:40:33       [17] : 0x14fc68801599 <undefined>
09:40:33       [16] : 0x14fc68801599 <undefined>
09:40:33       [15] : 0x363e5c84e0f1 <JSFunction apply (sfi = 0x2ea24d41a2b9)>
09:40:33       [14] : 0x14fc68801599 <undefined>
09:40:33       [13] : 0x14fc68801599 <undefined>
09:40:33       [12] : 0x14fc68801599 <undefined>
09:40:33       [11] : 0x14fc68801599 <undefined>
09:40:33       [10] : 0x14fc68801599 <undefined>
09:40:33       [09] : 0x14fc68801599 <undefined>
09:40:33       [08] : 0x14fc68801599 <undefined>
09:40:33       [07] : 0x14fc68801599 <undefined>
09:40:33       [06] : 0x14fc68801599 <undefined>
09:40:33       [05] : 0x0bc4b6e44229 <JSFunction ondata (sfi = 0x31e1a03cf739)>
09:40:33       [04] : 0x0bc4b6e50e41 <Object map = 0x193ab435f1>
09:40:33       [03] : 0x14fc68801769 <false>
09:40:33       [02] : 0x0bc4b6e650e9 <JSArray[1]>
09:40:33       [01] : 0x0bc4b6e650e9 <JSArray[1]>
09:40:33       [00] : 0x2ea24d412d79 <String[4]: #data>
09:40:33     --------- s o u r c e   c o d e ---------
09:40:33     function emit(type, ...args) {\x0a  let doError = (type === 'error');\x0a\x0a  const events = this._events;\x0a  if (ev...
09:40:33     node:assert:400
09:40:33         throw err;
09:40:33         ^
09:40:33     
09:40:33     AssertionError [ERR_ASSERTION]: Expected stdout to contain "Script execution was interrupted by `SIGINT`", got Welcome to Node.js v18.0.0-pre.
09:40:33     Type ".help" for more information.
09:40:33     > 
09:40:33         at ChildProcess.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/test/parallel/test-repl-sigint-nested-eval.js:40:10)
09:40:33         at ChildProcess.emit (node:events:390:28)
09:40:33         at maybeClose (node:internal/child_process:1062:16)
09:40:33         at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
09:40:33       generatedMessage: false,
09:40:33       code: 'ERR_ASSERTION',
09:40:33       actual: false,
09:40:33       expected: true,
09:40:33       operator: '=='
09:40:33     }
09:40:33     
09:40:33     Node.js v18.0.0-pre
09:40:33   ...

Build links

Additional information

No response

@lpinca lpinca added flaky-test Issues and PRs related to the tests with unstable failures on the CI. linux Issues and PRs related to the Linux platform. macos Issues and PRs related to the macOS platform / OSX. labels Dec 9, 2021
@lpinca
Copy link
Member Author

lpinca commented Dec 12, 2021

To reproduce locally run

tools/test.py --repeat=1000 test/parallel/test-repl-sigint-nested-eval.js

Bisecting points to c7222b3.

cc: @XadillaX

@Mesteery Mesteery added the repl Issues and PRs related to the REPL subsystem. label Dec 12, 2021
mhdawson added a commit to mhdawson/io.js that referenced this issue Dec 23, 2021
Refs: nodejs#41123

- This is one of the remaining high occurance flaky
  tests from the reliability reports and recent
  failures in the CI. Mark as flaky until issue
  is resolved under referenced issue.

Signed-off-by: Michael Dawson <mdawson@devrus.com>
mhdawson added a commit that referenced this issue Jan 4, 2022
Refs: #41123

- This is one of the remaining high occurance flaky
  tests from the reliability reports and recent
  failures in the CI. Mark as flaky until issue
  is resolved under referenced issue.

Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: #41302
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
targos pushed a commit that referenced this issue Jan 14, 2022
Refs: #41123

- This is one of the remaining high occurance flaky
  tests from the reliability reports and recent
  failures in the CI. Mark as flaky until issue
  is resolved under referenced issue.

Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: #41302
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
danielleadams pushed a commit that referenced this issue Jan 31, 2022
Refs: #41123

- This is one of the remaining high occurance flaky
  tests from the reliability reports and recent
  failures in the CI. Mark as flaky until issue
  is resolved under referenced issue.

Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: #41302
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Linkgoron pushed a commit to Linkgoron/node that referenced this issue Jan 31, 2022
Refs: nodejs#41123

- This is one of the remaining high occurance flaky
  tests from the reliability reports and recent
  failures in the CI. Mark as flaky until issue
  is resolved under referenced issue.

Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: nodejs#41302
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
danielleadams pushed a commit that referenced this issue Feb 1, 2022
Refs: #41123

- This is one of the remaining high occurance flaky
  tests from the reliability reports and recent
  failures in the CI. Mark as flaky until issue
  is resolved under referenced issue.

Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: #41302
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@Trott
Copy link
Member

Trott commented Mar 26, 2022

Ran into this again: https://ci.nodejs.org/job/node-test-commit-linux/nodes=ubuntu1804-64/45162/console

00:28:04 not ok 2270 parallel/test-repl-sigint-nested-eval # TODO : Fix flaky test
00:28:04   ---
00:28:04   duration_ms: 0.524
00:28:04   severity: flaky
00:28:04   exitcode: 1
00:28:04   stack: |-
00:28:04     Stacktrace:
00:28:04         ptr1=0xf8d7ae41d51
00:28:04         ptr2=(nil)
00:28:04         ptr3=(nil)
00:28:04         ptr4=(nil)
00:28:04         failure_message_object=0x7fff2fb65a50
00:28:04     
00:28:04     ==== JS stack trace =========================================
00:28:04     
00:28:04         0: ExitFrame [pc: 0x559a53718779]
00:28:04         1: StubFrame [pc: 0x559a537ac66b]
00:28:04     Security context: 0x000796fb3049 <JSGlobalObject>
00:28:04         2: _fatalException [0x796f891b1] [node:internal/process/execution:146] [bytecode=0x8d51ef93ab1 offset=13](this=0x000796f82781 <process map = 0x261993a41479>,0x0f8d7ae41d51 <Odd Oddball: termination_exception>,0x0f8d7ae41771 <false>)
00:28:04         3: InternalFrame [pc: 0x559a5369d25c]
00:28:04         4: EntryFrame [pc: 0x559a5369cf83]
00:28:04         5: builtin exit frame: evaluate(this=0x31d4a2728551 <ModuleWrap map = 0x301c75d14829>,0x31d4a2728551 <ModuleWrap map = 0x301c75d14829>,-1,0x0f8d7ae41771 <false>)
00:28:04     
00:28:04         6: getESMFacade [0x654018ec039] [node:internal/bootstrap/loaders:295] [bytecode=0x8d51ef931c9 offset=140](this=0x36662612b0a1 <NativeModule map = 0x261993a664c9>)
00:28:04         7: compileForPublicLoader [0x654018ebfc1] [node:internal/bootstrap/loaders:275] [bytecode=0x8d51ef92f31 offset=111](this=0x36662612b0a1 <NativeModule map = 0x261993a664c9>)
00:28:04         8: loadNativeModule(aka loadNativeModule) [0x3978c8333389] [node:internal/modules/cjs/helpers:49] [bytecode=0x8d51ef92c91 offset=53](this=0x0f8d7ae415a1 <undefined>,0x0d811c23fc41 <String[2]: >"vm">,0x0d811c23fc41 <String[2]: >"vm">)
00:28:04         9: _load [0x2d9573286929] [node:internal/modules/cjs/loader:805] [bytecode=0x8d51ef91e31 offset=304](this=0x3978c830e7d1 <JSFunction Module (sfi = 0x1438a33e16f9)>,0x0d811c23fc41 <String[2]: >"vm">,0x31d4a2713a01 <Module map = 0x301c75d13671>,0x0f8d7ae41771 <false>)
00:28:04        10: require [0x2d95732869e9] [node:internal/modules/cjs/loader:1006] [bytecode=0x8d51ef91ab1 offset=76](this=0x31d4a2713a01 <Module map = 0x301c75d13671>,0x0d811c23fc41 <String[2]: >"vm">)
00:28:04        11: get [0x3978c8312d21] [node:internal/modules/cjs/helpers:175] [bytecode=0x8d51ef918a1 offset=25](this=0x000796f81119 <JSGlobalProxy>)
00:28:04        12: InternalFrame [pc: 0x559a5369d25c]
00:28:04        13: EntryFrame [pc: 0x559a5369cf83]
00:28:04        14: ExitFrame [pc: 0x559a53718779]
00:28:04        15: StubFrame [pc: 0x559a537a73b8]
00:28:04        16: /* anonymous */ [0x8d51ef913f9] [REPL1:1] [bytecode=0x8d51ef90c81 offset=34](this=0x000796f81119 <JSGlobalProxy>)
00:28:04        17: InternalFrame [pc: 0x559a5369d25c]
00:28:04        18: EntryFrame [pc: 0x559a5369cf83]
00:28:04        19: builtin exit frame: runInThisContext(this=0x31d4a2727621 <ContextifyScript map = 0x301c75d108e1>,0x31d4a2727621 <ContextifyScript map = 0x301c75d108e1>,-1,0x0f8d7ae41771 <false>,0x0f8d7ae41711 <true>,0x0f8d7ae41771 <false>)
00:28:04     
00:28:04        20: runInThisContext [0x36662612b6a9] [node:vm:129] [bytecode=0x8d51ef91301 offset=93](this=0x31d4a2727621 <ContextifyScript map = 0x301c75d108e1>,0x31d4a2727fa1 <Object map = 0x301c75d14799>)
00:28:04        21: defaultEval [0x31d4a2713bf1] [node:repl:571] [bytecode=0x8d51ef8d901 offset=1020](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>,0x31d4a27258d9 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">,0x000796f81119 <JSGlobalProxy>,0x31d4a27258f9 <String[5]: "REPL1">,0x31d4a27256e1 <JSFunction finish (sfi = 0x8d51ef8be79)>)
00:28:04        22: bound(aka bound) [0x3978c830f459] [node:domain:421] [bytecode=0x8d51ef8c739 offset=23](this=0x0f8d7ae415a1 <undefined>,0x3978c8337109 <REPLServer map = 0x301c75d13f71>,0x3978c8337a39 <EventEmitter map = 0x301c75d12501>,0x31d4a2713bf1 <JSFunction defaultEval (sfi = 0x369c18276801)>,0x31d4a2725941 <Arguments map = 0x261993a65c11>)
00:28:04        23: eval(aka runBound) [0x3978c8337ab1] [node:domain:432] [bytecode=0x8d51ef8c619 offset=21](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>)
00:28:04        24: onLine [0x31d4a2713d09] [node:repl:898] [bytecode=0x8d51ef8c039 offset=546](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>,0x31d4a2725551 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">)
00:28:04        25: emit [0x796f82319] [node:events:527] [bytecode=0x2d95732b2329 offset=268](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>,0x0f8d7ae452c1 <String[4]: #line>)
00:28:04        26: emit [0x369c1824fc11] [node:domain:475] [bytecode=0x369c1827c0e9 offset=69](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>)
00:28:04        27: _onLine [0x3978c832a6d1] [node:internal/readline/interface:418] [bytecode=0x8d51ef8bc51 offset=59](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>,0x31d4a2725551 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">)
00:28:04        28: _normalWrite [0x3978c832b9f9] [node:internal/readline/interface:607] [bytecode=0x8d51ef8b591 offset=248](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>,0x31d4a2725281 <Uint8Array map = 0x261993a49c51>)
00:28:04        29: ondata [0x31d4a2714ed9] [node:internal/readline/interface:248] [bytecode=0x8d51ef8b309 offset=15](this=0x3978c83044f9 <Socket map = 0x301c75d11e89>,0x31d4a2725281 <Uint8Array map = 0x261993a49c51>)
00:28:04        30: emit [0x796f82319] [node:events:527] [bytecode=0x2d95732b2329 offset=268](this=0x3978c83044f9 <Socket map = 0x301c75d11e89>,0x0dba93fd5211 <String[4]: #data>)
00:28:04        31: emit [0x369c1824fc11] [node:domain:475] [bytecode=0x369c1827c0e9 offset=69](this=0x3978c83044f9 <Socket map = 0x301c75d11e89>)
00:28:04        32: addChunk(aka addChunk) [0x796fabd51] [node:internal/streams/readable:324] [bytecode=0x8d51ef8b111 offset=83](this=0x0f8d7ae415a1 <undefined>,0x3978c83044f9 <Socket map = 0x301c75d11e89>,0x31d4a271c261 <ReadableState map = 0x261993a7fb31>,0x31d4a2725281 <Uint8Array map = 0x261993a49c51>,0x0f8d7ae41771 <false>)
00:28:04        33: readableAddChunk(aka readableAddChunk) [0x796fabcf9] [node:internal/streams/readable:297] [bytecode=0x8d51ef8acb9 offset=469](this=0x0f8d7ae415a1 <undefined>,0x3978c83044f9 <Socket map = 0x301c75d11e89>,0x31d4a2725281 <Uint8Array map = 0x261993a49c51>,0x0f8d7ae417b9 <String[0]: #>,0x0f8d7ae41771 <false>)
00:28:04        34: push [0x796fae1e9] [node:internal/streams/readable:234] [bytecode=0x8d51ef8aa89 offset=14](this=0x3978c83044f9 <Socket map = 0x301c75d11e89>,0x31d4a2725281 <Uint8Array map = 0x261993a49c51>,0x0f8d7ae415a1 <undefined>)
00:28:04        35: onStreamRead [0x654018cb121] [node:internal/stream_base_commons:190] [bytecode=0x8d51ef8a6a1 offset=164](this=0x3978c8304061 <Pipe map = 0x301c75d11ed1>,0x31d4a2725161 <ArrayBuffer map = 0x261993a42679>)
00:28:04        36: callbackTrampoline [0x654018f6f81] [node:internal/async_hooks:130] [bytecode=0x8d51ef8a2d1 offset=120](this=0x3978c8304061 <Pipe map = 0x301c75d11ed1>,4,0x3978c8304061 <Pipe map = 0x301c75d11ed1>,0x0654018cb121 <JSFunction onStreamRead (sfi = 0x205e535559d9)>)
00:28:04        37: InternalFrame [pc: 0x559a5369d25c]
00:28:04        38: EntryFrame [pc: 0x559a5369cf83]
00:28:04     
00:28:04     ==== Details ================================================
00:28:04     
00:28:04     [0]: ExitFrame [pc: 0x559a53718779]
00:28:04     [1]: StubFrame [pc: 0x559a537ac66b]
00:28:04     [2]: _fatalException [0x796f891b1] [node:internal/process/execution:146] [bytecode=0x8d51ef93ab1 offset=13](this=0x000796f82781 <process map = 0x261993a41479>,0x0f8d7ae41d51 <Odd Oddball: termination_exception>,0x0f8d7ae41771 <false>) {
00:28:04       // expression stack (top to bottom)
00:28:04       [09] : 0x0f8d7ae415a1 <undefined>
00:28:04       [08] : 0x0f8d7ae415a1 <undefined>
00:28:04       [07] : 0x0f8d7ae415a1 <undefined>
00:28:04       [06] : 0x0f8d7ae415a1 <undefined>
00:28:04       [05] : 0x0f8d7ae415a1 <undefined>
00:28:04       [04] : 0x0f8d7ae415a1 <undefined>
00:28:04       [03] : 0x000796f88a91 <JSFunction clearDefaultTriggerAsyncId (sfi = 0x7516fb662c9)>
00:28:04       [02] : 0x0f8d7ae415a1 <undefined>
00:28:04       [01] : 0x0f8d7ae415a1 <undefined>
00:28:04       [00] : 0x0f8d7ae415a1 <undefined>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function (er, fromPromise) => {\x0a    // It's possible that defaultTriggerAsyncId was set for a constructor\x0a    // call that threw and was never cleared. So clear it now.\x0a    clearDefaultTriggerAsyncId();\x0a\x0a    // If diagnostic reporting is enabled, call into its handler to see\x0a    // whether it is interested i...
00:28:04     
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [3]: InternalFrame [pc: 0x559a5369d25c]
00:28:04     [4]: EntryFrame [pc: 0x559a5369cf83]
00:28:04     [5]: builtin exit frame: evaluate(this=0x31d4a2728551 <ModuleWrap map = 0x301c75d14829>,0x31d4a2728551 <ModuleWrap map = 0x301c75d14829>,-1,0x0f8d7ae41771 <false>)
00:28:04     
00:28:04     [6]: getESMFacade [0x654018ec039] [node:internal/bootstrap/loaders:295] [bytecode=0x8d51ef931c9 offset=140](this=0x36662612b0a1 <NativeModule map = 0x261993a664c9>) {
00:28:04       // heap-allocated locals
00:28:04       var nativeModule = 0x36662612b0a1 <NativeModule map = 0x261993a664c9>
00:28:04       // expression stack (top to bottom)
00:28:04       [16] : 0x0f8d7ae415a1 <undefined>
00:28:04       [15] : 0x1438a33eca49 <JSFunction evaluate (sfi = 0x1438a33eca11)>
00:28:04       [14] : 7
00:28:04       [13] : 0x0f8d7ae41671 <the_hole>
00:28:04       [12] : 0x31d4a2728551 <ModuleWrap map = 0x301c75d14829>
00:28:04       [11] : -1
00:28:04       [10] : 0x0f8d7ae41771 <false>
00:28:04       [09] : 0x31d4a27284d1 <JSFunction (sfi = 0x8d51ef930f9)>
00:28:04       [08] : 0x31d4a27283a9 <JSArray[10]>
00:28:04       [07] : 0x0f8d7ae41771 <false>
00:28:04       [06] : -1
00:28:04       [05] : 0x31d4a2728551 <ModuleWrap map = 0x301c75d14829>
00:28:04       [04] : 0x1438a33eca49 <JSFunction evaluate (sfi = 0x1438a33eca11)>
00:28:04       [03] : 0x0654018ebff9 <BlockContext[3]>
00:28:04       [02] : 0x31d4a27283a9 <JSArray[10]>
00:28:04       [01] : 0x31d4a2728339 <String[7]: "node:vm">
00:28:04       [00] : 0x1438a33ecd59 <JSFunction ModuleWrap (sfi = 0x1438a33ecd21)>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function getESMFacade() {\x0a    if (this.module) return this.module;\x0a    const { ModuleWrap } = internalBinding('module_wrap');\x0a    const url = `node:${this.id}`;\x0a    const nativeModule = this;\x0a    const exportsKeys = ArrayPrototypeSlice(this.exportKeys);\x0a    ArrayPrototypePush(exportsKeys, 'default');\x0a    this.module = n...
00:28:04     
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [7]: compileForPublicLoader [0x654018ebfc1] [node:internal/bootstrap/loaders:275] [bytecode=0x8d51ef92f31 offset=111](this=0x36662612b0a1 <NativeModule map = 0x261993a664c9>) {
00:28:04       // expression stack (top to bottom)
00:28:04       [04] : 0x36662612b0a1 <NativeModule map = 0x261993a664c9>
00:28:04       [03] : 0x36662612b0f9 <Object map = 0x261993a592f9>
00:28:04       [02] : 0x36662612e459 <JSFunction keys (sfi = 0x1e2ef9a33f41)>
00:28:04       [01] : 0x0654018ec039 <JSFunction getESMFacade (sfi = 0xdba93fffdd1)>
00:28:04       [00] : 0x0f8d7ae41771 <false>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function compileForPublicLoader() {\x0a    if (!this.canBeRequiredByUsers) {\x0a      // No code because this is an assertion against bugs\x0a      // eslint-disable-next-line no-restricted-syntax\x0a      throw new Error(`Should not compile ${this.id} for public use`);\x0a    }\x0a    this.compileForInternalLoader();\x0a    if (!this.exportKeys) {\x0a ...
00:28:04     
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [8]: loadNativeModule(aka loadNativeModule) [0x3978c8333389] [node:internal/modules/cjs/helpers:49] [bytecode=0x8d51ef92c91 offset=53](this=0x0f8d7ae415a1 <undefined>,0x0d811c23fc41 <String[2]: >"vm">,0x0d811c23fc41 <String[2]: >"vm">) {
00:28:04       // expression stack (top to bottom)
00:28:04       [03] : 0x36662612b0a1 <NativeModule map = 0x261993a664c9>
00:28:04       [02] : 0x08d51ef92bd1 <String[21]: #load native module %s>
00:28:04       [01] : 0x0654018ebfc1 <JSFunction compileForPublicLoader (sfi = 0xdba93fffd81)>
00:28:04       [00] : 0x36662612b0a1 <NativeModule map = 0x261993a664c9>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function loadNativeModule(filename, request) {\x0a  const mod = NativeModule.map.get(filename);\x0a  if (mod?.canBeRequiredByUsers) {\x0a    debug('load native module %s', request);\x0a    // compileForPublicLoader() throws if mod.canBeRequiredByUsers is false:\x0a    mod.compileForPublicLoader();\x0a    return mod;\x0a  }\x0a}
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [9]: _load [0x2d9573286929] [node:internal/modules/cjs/loader:805] [bytecode=0x8d51ef91e31 offset=304](this=0x3978c830e7d1 <JSFunction Module (sfi = 0x1438a33e16f9)>,0x0d811c23fc41 <String[2]: >"vm">,0x31d4a2713a01 <Module map = 0x301c75d13671>,0x0f8d7ae41771 <false>) {
00:28:04       // expression stack (top to bottom)
00:28:04       [22] : 0x0f8d7ae415a1 <undefined>
00:28:04       [21] : 0x0d811c23fc41 <String[2]: >"vm">
00:28:04       [20] : 0x0d811c23fc41 <String[2]: >"vm">
00:28:04       [19] : 0x0f8d7ae415a1 <undefined>
00:28:04       [18] : 0x0f8d7ae415a1 <undefined>
00:28:04       [17] : 0x0f8d7ae41771 <false>
00:28:04       [16] : 0x31d4a2713a01 <Module map = 0x301c75d13671>
00:28:04       [15] : 0x1438a33f1909 <String[5]: #node:>
00:28:04       [14] : 0x3978c830e7d1 <JSFunction Module (sfi = 0x1438a33e16f9)>
00:28:04       [13] : 0x3978c8333389 <JSFunction loadNativeModule (sfi = 0x1438a33e7949)>
00:28:04       [12] : 0x0f8d7ae415a1 <undefined>
00:28:04       [11] : 0x0f8d7ae415a1 <undefined>
00:28:04       [10] : 0x0f8d7ae415a1 <undefined>
00:28:04       [09] : 0x0f8d7ae415a1 <undefined>
00:28:04       [08] : 0x0f8d7ae415a1 <undefined>
00:28:04       [07] : 0x0f8d7ae415a1 <undefined>
00:28:04       [06] : 0x0f8d7ae415a1 <undefined>
00:28:04       [05] : 0x0f8d7ae415a1 <undefined>
00:28:04       [04] : 0x0f8d7ae415a1 <undefined>
00:28:04       [03] : 0x0f8d7ae415a1 <undefined>
00:28:04       [02] : 0x0f8d7ae415a1 <undefined>
00:28:04       [01] : 0x0d811c23fc41 <String[2]: >"vm">
00:28:04       [00] : 0x31d4a2728111 <String[4]: >".\x00vm">
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function (request, parent, isMain) {\x0a  let relResolveCacheIdentifier;\x0a  if (parent) {\x0a    debug('Module._load REQUEST %s parent: %s', request, parent.id);\x0a    // Fast path for (lazy loaded) modules in the same directory. The indirect\x0a    // caching is required to allow cache invalidation without changing the...
00:28:04     
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [10]: require [0x2d95732869e9] [node:internal/modules/cjs/loader:1006] [bytecode=0x8d51ef91ab1 offset=76](this=0x31d4a2713a01 <Module map = 0x301c75d13671>,0x0d811c23fc41 <String[2]: >"vm">) {
00:28:04       // expression stack (top to bottom)
00:28:04       [11] : 0x3978c830e7d1 <JSFunction Module (sfi = 0x1438a33e16f9)>
00:28:04       [10] : 0x0d811c23fc41 <String[2]: >"vm">
00:28:04       [09] : 0x31d4a2713a01 <Module map = 0x301c75d13671>
00:28:04       [08] : 0x0f8d7ae41771 <false>
00:28:04       [07] : 0x0f8d7ae41771 <false>
00:28:04       [06] : 0x31d4a2713a01 <Module map = 0x301c75d13671>
00:28:04       [05] : 0x0d811c23fc41 <String[2]: >"vm">
00:28:04       [04] : 0x3978c830e7d1 <JSFunction Module (sfi = 0x1438a33e16f9)>
00:28:04       [03] : 0x2d9573286929 <JSFunction Module._load (sfi = 0x1438a33e21e1)>
00:28:04       [02] : 0x3978c8309721 <FunctionContext[124]>
00:28:04       [01] : 0x0f8d7ae415a1 <undefined>
00:28:04       [00] : 1
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function (id) {\x0a  validateString(id, 'id');\x0a  if (id === '') {\x0a    throw new ERR_INVALID_ARG_VALUE('id', id,\x0a                                    'must be a non-empty string');\x0a  }\x0a  requireDepth++;\x0a  try {\x0a    return Module._load(id, this, /* isMain */ false);\x0a  } finally {\x0a    requireDepth--;\x0a  }\x0a}
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [11]: get [0x3978c8312d21] [node:internal/modules/cjs/helpers:175] [bytecode=0x8d51ef918a1 offset=25](this=0x000796f81119 <JSGlobalProxy>) {
00:28:04       // heap-allocated locals
00:28:04       var lib = 0x0f8d7ae41671 <the_hole>
00:28:04       // expression stack (top to bottom)
00:28:04       [06] : 0x31d4a2713a01 <Module map = 0x301c75d13671>
00:28:04       [05] : 0x0d811c23fc41 <String[2]: >"vm">
00:28:04       [04] : 0x0f8d7ae415a1 <undefined>
00:28:04       [03] : 0x0d811c23fc41 <String[2]: >"vm">
00:28:04       [02] : 0x31d4a2713a01 <Module map = 0x301c75d13671>
00:28:04       [01] : 0x2d95732869e9 <JSFunction Module.require (sfi = 0x1438a33e2411)>
00:28:04       [00] : 0x3978c8337601 <FunctionContext[4]>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function get() => {\x0a        const lib = dummyModule.require(name);\x0a\x0a        // Disable the current getter/setter and set up a new\x0a        // non-enumerable property.\x0a        delete object[name];\x0a        ObjectDefineProperty(object, name, {\x0a          get: () => lib,\x0a          set: setReal,\x0a          configurable...
00:28:04     
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [12]: InternalFrame [pc: 0x559a5369d25c]
00:28:04     [13]: EntryFrame [pc: 0x559a5369cf83]
00:28:04     [14]: ExitFrame [pc: 0x559a53718779]
00:28:04     [15]: StubFrame [pc: 0x559a537a73b8]
00:28:04     [16]: /* anonymous */ [0x8d51ef913f9] [REPL1:1] [bytecode=0x8d51ef90c81 offset=34](this=0x000796f81119 <JSGlobalProxy>) {
00:28:04       // expression stack (top to bottom)
00:28:04       [04] : 0x0dba93feb9a1 <String[7]: #SIGUSR2>
00:28:04       [03] : 28716
00:28:04       [02] : 0x000796f82781 <process map = 0x261993a41479>
00:28:04       [01] : 0x000796f8a361 <JSFunction kill (sfi = 0x7516fb752b9)>
00:28:04       [00] : 0x0f8d7ae415a1 <undefined>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\x0a
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [17]: InternalFrame [pc: 0x559a5369d25c]
00:28:04     [18]: EntryFrame [pc: 0x559a5369cf83]
00:28:04     [19]: builtin exit frame: runInThisContext(this=0x31d4a2727621 <ContextifyScript map = 0x301c75d108e1>,0x31d4a2727621 <ContextifyScript map = 0x301c75d108e1>,-1,0x0f8d7ae41771 <false>,0x0f8d7ae41711 <true>,0x0f8d7ae41771 <false>)
00:28:04     
00:28:04     [20]: runInThisContext [0x36662612b6a9] [node:vm:129] [bytecode=0x8d51ef91301 offset=93](this=0x31d4a2727621 <ContextifyScript map = 0x301c75d108e1>,0x31d4a2727fa1 <Object map = 0x301c75d14799>) {
00:28:04       // expression stack (top to bottom)
00:28:04       [14] : 0x0f8d7ae415a1 <undefined>
00:28:04       [13] : 0x0654018ccfa1 <JSFunction runInThisContext (sfi = 0x1e2ef9a31181)>
00:28:04       [12] : 9
00:28:04       [11] : 0x0f8d7ae41671 <the_hole>
00:28:04       [10] : 0x31d4a2727621 <ContextifyScript map = 0x301c75d108e1>
00:28:04       [09] : -1
00:28:04       [08] : 0x0f8d7ae41771 <false>
00:28:04       [07] : 0x0f8d7ae41711 <true>
00:28:04       [06] : 0x0f8d7ae41771 <false>
00:28:04       [05] : 0x31d4a2728099 <JSArray[4]>
00:28:04       [04] : 0x31d4a2727621 <ContextifyScript map = 0x301c75d108e1>
00:28:04       [03] : 0x0654018ccfa1 <JSFunction runInThisContext (sfi = 0x1e2ef9a31181)>
00:28:04       [02] : 0x000796f841f9 <JSFunction apply (sfi = 0x1e2ef9a35c91)>
00:28:04       [01] : 0x31d4a2728099 <JSArray[4]>
00:28:04       [00] : 0x0f8d7ae41711 <true>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function runInThisContext(options) {\x0a    const { breakOnSigint, args } = getRunInContextArgs(options);\x0a    if (breakOnSigint && process.listenerCount('SIGINT') > 0) {\x0a      return sigintHandlersWrap(super.runInThisContext, this, args);\x0a    }\x0a    return ReflectApply(super.runInThisContext, this, args);\x0a  }
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [21]: defaultEval [0x31d4a2713bf1] [node:repl:571] [bytecode=0x8d51ef8d901 offset=1020](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>,0x31d4a27258d9 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">,0x000796f81119 <JSGlobalProxy>,0x31d4a27258f9 <String[5]: "REPL1">,0x31d4a27256e1 <JSFunction finish (sfi = 0x8d51ef8be79)>) {
00:28:04       // heap-allocated locals
00:28:04       var cb = 0x31d4a27256e1 <JSFunction finish (sfi = 0x8d51ef8be79)>
00:28:04       var asyncESM = 0x366626124489 <Object map = 0x261993a7d971>
00:28:04       var finished = 0x0f8d7ae41771 <false>
00:28:04       var finishExecution = 0x31d4a2725ac1 <JSFunction finishExecution (sfi = 0x8d51ef8d269)>
00:28:04       // expression stack (top to bottom)
00:28:04       [27] : 0x31d4a2727621 <ContextifyScript map = 0x301c75d108e1>
00:28:04       [26] : 0x31d4a2727fa1 <Object map = 0x301c75d14799>
00:28:04       [25] : 0x0f8d7ae415a1 <undefined>
00:28:04       [24] : 0x0f8d7ae415a1 <undefined>
00:28:04       [23] : 0x1438a33d9031 <String[4]: #repl>
00:28:04       [22] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [21] : 0x36662612b6a9 <JSFunction runInThisContext (sfi = 0x205e535592e1)>
00:28:04       [20] : 0x31d4a2725a81 <FunctionContext[6]>
00:28:04       [19] : 0x0f8d7ae41771 <false>
00:28:04       [18] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [17] : 0x31d4a2725a81 <FunctionContext[6]>
00:28:04       [16] : 0x3978c8313031 <FunctionContext[20]>
00:28:04       [15] : 0x0f8d7ae415a1 <undefined>
00:28:04       [14] : 0x0f8d7ae415a1 <undefined>
00:28:04       [13] : 0x0f8d7ae415a1 <undefined>
00:28:04       [12] : 0x0f8d7ae415a1 <undefined>
00:28:04       [11] : 0x3666261265c1 <JSFunction pathToFileURL (sfi = 0x7516fb7fc51)>
00:28:04       [10] : 0x0f8d7ae415a1 <undefined>
00:28:04       [09] : 0x31d4a2727fa1 <Object map = 0x301c75d14799>
00:28:04       [08] : 0x0f8d7ae415a1 <undefined>
00:28:04       [07] : 0x0f8d7ae415a1 <undefined>
00:28:04       [06] : 0x31d4a27258d9 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">
00:28:04       [05] : 0x0f8d7ae41771 <false>
00:28:04       [04] : 0x0f8d7ae41771 <false>
00:28:04       [03] : 0x0f8d7ae41321 <null>
00:28:04       [02] : 0x0f8d7ae415a1 <undefined>
00:28:04       [01] : 0x31d4a2727621 <ContextifyScript map = 0x301c75d108e1>
00:28:04       [00] : 0x0f8d7ae415a1 <undefined>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function defaultEval(code, context, file, cb) {\x0a    const asyncESM = require('internal/process/esm_loader');\x0a\x0a    let result, script, wrappedErr;\x0a    let err = null;\x0a    let wrappedCmd = false;\x0a    let awaitPromise = false;\x0a    const input = code;\x0a\x0a    // It's confusing for `{ a : 1 }` to be interpreted as a block\x0a    ...
00:28:04     
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [22]: bound(aka bound) [0x3978c830f459] [node:domain:421] [bytecode=0x8d51ef8c739 offset=23](this=0x0f8d7ae415a1 <undefined>,0x3978c8337109 <REPLServer map = 0x301c75d13f71>,0x3978c8337a39 <EventEmitter map = 0x301c75d12501>,0x31d4a2713bf1 <JSFunction defaultEval (sfi = 0x369c18276801)>,0x31d4a2725941 <Arguments map = 0x261993a65c11>) {
00:28:04       // expression stack (top to bottom)
00:28:04       [09] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [08] : 0x31d4a27258d9 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">
00:28:04       [07] : 0x000796f81119 <JSGlobalProxy>
00:28:04       [06] : 0x31d4a27258f9 <String[5]: "REPL1">
00:28:04       [05] : 0x31d4a27256e1 <JSFunction finish (sfi = 0x8d51ef8be79)>
00:28:04       [04] : 0x31d4a2725941 <Arguments map = 0x261993a65c11>
00:28:04       [03] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [02] : 0x31d4a2713bf1 <JSFunction defaultEval (sfi = 0x369c18276801)>
00:28:04       [01] : 0x000796f841f9 <JSFunction apply (sfi = 0x1e2ef9a35c91)>
00:28:04       [00] : 0x0f8d7ae415a1 <undefined>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function bound(_this, self, cb, fnargs) {\x0a  self.enter();\x0a  const ret = ReflectApply(cb, _this, fnargs);\x0a  self.exit();\x0a\x0a  return ret;\x0a}
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [23]: eval(aka runBound) [0x3978c8337ab1] [node:domain:432] [bytecode=0x8d51ef8c619 offset=21](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>) {
00:28:04       // expression stack (top to bottom)
00:28:04       [10] : 0x0f8d7ae415a1 <undefined>
00:28:04       [09] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [08] : 0x3978c8337a39 <EventEmitter map = 0x301c75d12501>
00:28:04       [07] : 0x31d4a2713bf1 <JSFunction defaultEval (sfi = 0x369c18276801)>
00:28:04       [06] : 0x31d4a2725941 <Arguments map = 0x261993a65c11>
00:28:04       [05] : 0x31d4a2725941 <Arguments map = 0x261993a65c11>
00:28:04       [04] : 0x31d4a2713bf1 <JSFunction defaultEval (sfi = 0x369c18276801)>
00:28:04       [03] : 0x3978c8337a39 <EventEmitter map = 0x301c75d12501>
00:28:04       [02] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [01] : 0x3978c830f459 <JSFunction bound (sfi = 0x369c18248009)>
00:28:04       [00] : 0x31d4a2725941 <Arguments map = 0x261993a65c11>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function runBound() {\x0a    return bound(this, self, cb, arguments);\x0a  }
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [24]: onLine [0x31d4a2713d09] [node:repl:898] [bytecode=0x8d51ef8c039 offset=546](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>,0x31d4a2725551 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">) {
00:28:04       // heap-allocated locals
00:28:04       var cmd = 0x31d4a2725551 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
00:28:04       // expression stack (top to bottom)
00:28:04       [19] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [18] : 0x31d4a27258d9 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">
00:28:04       [17] : 0x000796f81119 <JSGlobalProxy>
00:28:04       [16] : 0x31d4a27258f9 <String[5]: "REPL1">
00:28:04       [15] : 0x31d4a27256e1 <JSFunction finish (sfi = 0x8d51ef8be79)>
00:28:04       [14] : 0x31d4a27256e1 <JSFunction finish (sfi = 0x8d51ef8be79)>
00:28:04       [13] : 0x31d4a27258f9 <String[5]: "REPL1">
00:28:04       [12] : 0x000796f81119 <JSGlobalProxy>
00:28:04       [11] : 0x31d4a27258d9 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">
00:28:04       [10] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [09] : 0x3978c8337ab1 <JSFunction runBound (sfi = 0x369c1827bd01)>
00:28:04       [08] : 0x3978c8313031 <FunctionContext[20]>
00:28:04       [07] : 0x0f8d7ae415a1 <undefined>
00:28:04       [06] : 0x0f8d7ae415a1 <undefined>
00:28:04       [05] : 0x0f8d7ae415a1 <undefined>
00:28:04       [04] : 0x0f8d7ae415a1 <undefined>
00:28:04       [03] : 0x0f8d7ae415a1 <undefined>
00:28:04       [02] : 0x31d4a27256e1 <JSFunction finish (sfi = 0x8d51ef8be79)>
00:28:04       [01] : 0x31d4a27258d9 <String[116]: c"process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });\n">
00:28:04       [00] : 0x31d4a2725551 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function onLine(cmd) {\x0a    debug('line %j', cmd);\x0a    cmd = cmd || '';\x0a    sawSIGINT = false;\x0a\x0a    if (self.editorMode) {\x0a      self[kBufferedCommandSymbol] += cmd + '\n';\x0a\x0a      // code alignment\x0a      const matches = self._sawKeyPress ?\x0a        StringPrototypeMatch(cmd, /^\s+/) : null;\x0a      if (matches) {\x0a     ...
00:28:04     
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [25]: emit [0x796f82319] [node:events:527] [bytecode=0x2d95732b2329 offset=268](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>,0x0f8d7ae452c1 <String[4]: #line>) {
00:28:04       // expression stack (top to bottom)
00:28:04       [26] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [25] : 0x31d4a2725551 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
00:28:04       [24] : 0x0f8d7ae415a1 <undefined>
00:28:04       [23] : 0x0f8d7ae415a1 <undefined>
00:28:04       [22] : 0x0f8d7ae415a1 <undefined>
00:28:04       [21] : 0x0f8d7ae415a1 <undefined>
00:28:04       [20] : 0x0f8d7ae415a1 <undefined>
00:28:04       [19] : 0x0f8d7ae415a1 <undefined>
00:28:04       [18] : 0x0f8d7ae415a1 <undefined>
00:28:04       [17] : 0x0f8d7ae415a1 <undefined>
00:28:04       [16] : 0x0f8d7ae415a1 <undefined>
00:28:04       [15] : 0x000796f8b161 <JSFunction apply (sfi = 0x1e2ef9a33a71)>
00:28:04       [14] : 0x0f8d7ae415a1 <undefined>
00:28:04       [13] : 0x0f8d7ae415a1 <undefined>
00:28:04       [12] : 0x0f8d7ae415a1 <undefined>
00:28:04       [11] : 0x0f8d7ae415a1 <undefined>
00:28:04       [10] : 0x0f8d7ae415a1 <undefined>
00:28:04       [09] : 0x0f8d7ae415a1 <undefined>
00:28:04       [08] : 0x0f8d7ae415a1 <undefined>
00:28:04       [07] : 0x0f8d7ae415a1 <undefined>
00:28:04       [06] : 0x0f8d7ae415a1 <undefined>
00:28:04       [05] : 0x31d4a2713d09 <JSFunction onLine (sfi = 0x369c18276f39)>
00:28:04       [04] : 0x3978c8337af1 <Object map = 0x261993a418b1>
00:28:04       [03] : 0x0f8d7ae41771 <false>
00:28:04       [02] : 0x31d4a2725699 <JSArray[1]>
00:28:04       [01] : 0x31d4a2725699 <JSArray[1]>
00:28:04       [00] : 0x0f8d7ae452c1 <String[4]: #line>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function emit(type, ...args) {\x0a  let doError = (type === 'error');\x0a\x0a  const events = this._events;\x0a  if (events !== undefined) {\x0a    if (doError && events[kErrorMonitor] !== undefined)\x0a      this.emit(kErrorMonitor, ...args);\x0a    doError = (doError && events.error === undefined);\x0a  } else if (!doError)\x0a    retur...
00:28:04     
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [26]: emit [0x369c1824fc11] [node:domain:475] [bytecode=0x369c1827c0e9 offset=69](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>) {
00:28:04       // expression stack (top to bottom)
00:28:04       [16] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [15] : 0x0f8d7ae452c1 <String[4]: #line>
00:28:04       [14] : 0x31d4a2725551 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
00:28:04       [13] : 0x31d4a2725661 <JSArray[2]>
00:28:04       [12] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [11] : 0x000796f82319 <JSFunction emit (sfi = 0x34875caa0cd1)>
00:28:04       [10] : 0x000796f841f9 <JSFunction apply (sfi = 0x1e2ef9a35c91)>
00:28:04       [09] : 0x0f8d7ae415a1 <undefined>
00:28:04       [08] : 0x0f8d7ae415a1 <undefined>
00:28:04       [07] : 0x0f8d7ae415a1 <undefined>
00:28:04       [06] : 0x0f8d7ae415a1 <undefined>
00:28:04       [05] : 0x0f8d7ae415a1 <undefined>
00:28:04       [04] : 0x0f8d7ae41771 <false>
00:28:04       [03] : 0x0f8d7ae452c1 <String[4]: #line>
00:28:04       [02] : 0x0f8d7ae41321 <null>
00:28:04       [01] : 0x31d4a2725661 <JSArray[2]>
00:28:04       [00] : 0x31d4a2725661 <JSArray[2]>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function emit(...args) {\x0a  const domain = this.domain;\x0a\x0a  const type = args[0];\x0a  const shouldEmitError = type === 'error' &&\x0a                          this.listenerCount(type) > 0;\x0a\x0a  // Just call original `emit` if current EE instance has `error`\x0a  // handler, there's no active domain or this is process\x0a  if (...
00:28:04     
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [27]: _onLine [0x3978c832a6d1] [node:internal/readline/interface:418] [bytecode=0x8d51ef8bc51 offset=59](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>,0x31d4a2725551 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">) {
00:28:04       // expression stack (top to bottom)
00:28:04       [06] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [05] : 0x0f8d7ae452c1 <String[4]: #line>
00:28:04       [04] : 0x31d4a2725551 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
00:28:04       [03] : 0x0f8d7ae452c1 <String[4]: #line>
00:28:04       [02] : 0x0f8d7ae415a1 <undefined>
00:28:04       [01] : 0x369c1824fc11 <JSFunction emit (sfi = 0x369c18248179)>
00:28:04       [00] : 0x0f8d7ae415a1 <undefined>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function (line) {\x0a    if (this[kQuestionCallback]) {\x0a      const cb = this[kQuestionCallback];\x0a      this[kQuestionCallback] = null;\x0a      this.setPrompt(this[kOldPrompt]);\x0a      cb(line);\x0a    } else {\x0a      this.emit('line', line);\x0a    }\x0a  }
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [28]: _normalWrite [0x3978c832b9f9] [node:internal/readline/interface:607] [bytecode=0x8d51ef8b591 offset=248](this=0x3978c8337109 <REPLServer map = 0x301c75d13f71>,0x31d4a2725281 <Uint8Array map = 0x261993a49c51>) {
00:28:04       // expression stack (top to bottom)
00:28:04       [10] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [09] : 0x31d4a2725551 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
00:28:04       [08] : 0x0dba93fc1149 <String[1]: #\r>
00:28:04       [07] : 0x0f8d7ae415a1 <undefined>
00:28:04       [06] : 0x31d4a2725551 <String[115]: "process.kill(+process.env.REPL_TEST_PPID, "SIGUSR2");vm.runInThisContext("while(true){}", { breakOnSigint: true });">
00:28:04       [05] : 0x369c182431f1 <Symbol: _line_buffer>
00:28:04       [04] : 0x3978c832a6d1 <JSFunction (sfi = 0x9eedba3e381)>
00:28:04       [03] : 0
00:28:04       [02] : 0x31d4a2725621 <JSArray[1]>
00:28:04       [01] : 0x0f8d7ae41711 <true>
00:28:04       [00] : 0x0f8d7ae417b9 <String[0]: #>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function (b) {\x0a    if (b === undefined) {\x0a      return;\x0a    }\x0a    let string = this[kDecoder].write(b);\x0a    if (\x0a      this[kSawReturnAt] &&\x0a      DateNow() - this[kSawReturnAt] <= this.crlfDelay\x0a    ) {\x0a      string = StringPrototypeReplace(string, /^\n/, '');\x0a      this[kSawReturnAt] = 0;\x0a    }\x0a\x0a    // Run...
00:28:04     
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [29]: ondata [0x31d4a2714ed9] [node:internal/readline/interface:248] [bytecode=0x8d51ef8b309 offset=15](this=0x3978c83044f9 <Socket map = 0x301c75d11e89>,0x31d4a2725281 <Uint8Array map = 0x261993a49c51>) {
00:28:04       // expression stack (top to bottom)
00:28:04       [03] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [02] : 0x31d4a2725281 <Uint8Array map = 0x261993a49c51>
00:28:04       [01] : 0x3978c8337109 <REPLServer map = 0x301c75d13f71>
00:28:04       [00] : 0x3978c832b9f9 <JSFunction (sfi = 0x9eedba3e701)>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function ondata(data) {\x0a    self[kNormalWrite](data);\x0a  }
00:28:04     -----------------------------------------
00:28:04     }
00:28:04     
00:28:04     [30]: emit [0x796f82319] [node:events:527] [bytecode=0x2d95732b2329 offset=268](this=0x3978c83044f9 <Socket map = 0x301c75d11e89>,0x0dba93fd5211 <String[4]: #data>) {
00:28:04       // expression stack (top to bottom)
00:28:04       [26] : 0x3978c83044f9 <Socket map = 0x301c75d11e89>
00:28:04       [25] : 0x31d4a2725281 <Uint8Array map = 0x261993a49c51>
00:28:04       [24] : 0x0f8d7ae415a1 <undefined>
00:28:04       [23] : 0x0f8d7ae415a1 <undefined>
00:28:04       [22] : 0x0f8d7ae415a1 <undefined>
00:28:04       [21] : 0x0f8d7ae415a1 <undefined>
00:28:04       [20] : 0x0f8d7ae415a1 <undefined>
00:28:04       [19] : 0x0f8d7ae415a1 <undefined>
00:28:04       [18] : 0x0f8d7ae415a1 <undefined>
00:28:04       [17] : 0x0f8d7ae415a1 <undefined>
00:28:04       [16] : 0x0f8d7ae415a1 <undefined>
00:28:04       [15] : 0x000796f8b161 <JSFunction apply (sfi = 0x1e2ef9a33a71)>
00:28:04       [14] : 0x0f8d7ae415a1 <undefined>
00:28:04       [13] : 0x0f8d7ae415a1 <undefined>
00:28:04       [12] : 0x0f8d7ae415a1 <undefined>
00:28:04       [11] : 0x0f8d7ae415a1 <undefined>
00:28:04       [10] : 0x0f8d7ae415a1 <undefined>
00:28:04       [09] : 0x0f8d7ae415a1 <undefined>
00:28:04       [08] : 0x0f8d7ae415a1 <undefined>
00:28:04       [07] : 0x0f8d7ae415a1 <undefined>
00:28:04       [06] : 0x0f8d7ae415a1 <undefined>
00:28:04       [05] : 0x31d4a2714ed9 <JSFunction ondata (sfi = 0x369c18278cb1)>
00:28:04       [04] : 0x31d4a271c3c1 <Object map = 0x261993a418b1>
00:28:04       [03] : 0x0f8d7ae41771 <false>
00:28:04       [02] : 0x31d4a2725339 <JSArray[1]>
00:28:04       [01] : 0x31d4a2725339 <JSArray[1]>
00:28:04       [00] : 0x0dba93fd5211 <String[4]: #data>
00:28:04     --------- s o u r c e   c o d e ---------
00:28:04     function emit(type, ...args) {\x0a  let doError = (type === 'error');\x0a\x0a  const events ...
00:28:04     node:assert:399
00:28:04         throw err;
00:28:04         ^
00:28:04     
00:28:04     AssertionError [ERR_ASSERTION]: Expected stdout to contain "Script execution was interrupted by `SIGINT`", got Welcome to Node.js v18.0.0-pre.
00:28:04     Type ".help" for more information.
00:28:04     > 
00:28:04         at ChildProcess.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux/test/parallel/test-repl-sigint-nested-eval.js:40:10)
00:28:04         at ChildProcess.emit (node:events:527:28)
00:28:04         at maybeClose (node:internal/child_process:1090:16)
00:28:04         at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) {
00:28:04       generatedMessage: false,
00:28:04       code: 'ERR_ASSERTION',
00:28:04       actual: false,
00:28:04       expected: true,
00:28:04       operator: '=='
00:28:04     }
00:28:04     
00:28:04     Node.js v18.0.0-pre
00:28:04   ...

@Trott
Copy link
Member

Trott commented Mar 26, 2022

Bisecting points to c7222b3.

cc: @XadillaX

@BridgeAR @Lxxyx

Trott added a commit to Trott/io.js that referenced this issue Nov 7, 2022
There is a race condition where process.kill can be sent before the
target is ready to receive the signal. Or at least that's what I think
is going on. Regardless, objectively, using setTimeout() to slightly
delay the invocation causes the test to not fail anymore using:
tools/test.py --repeat=1000 test/parallel/test-repl-sigint-nested-eval

Fixes: nodejs#41123
Trott added a commit to Trott/io.js that referenced this issue Nov 7, 2022
There is a race condition where process.kill can be sent before the
target is ready to receive the signal. Or at least that's what I think
is going on. Regardless, objectively, using setTimeout() to slightly
delay the invocation causes the test to not fail anymore using:
tools/test.py --repeat=1000 test/parallel/test-repl-sigint-nested-eval

Fixes: nodejs#41123
Trott added a commit to Trott/io.js that referenced this issue Nov 9, 2022
There is a race condition where process.kill can be sent before the
target is ready to receive the signal. Or at least that's what I think
is going on. Regardless, objectively, using setTimeout() to slightly
delay the invocation causes the test to not fail anymore using:
tools/test.py --repeat=1000 test/parallel/test-repl-sigint-nested-eval

Fixes: nodejs#41123
Trott added a commit to Trott/io.js that referenced this issue Nov 9, 2022
There is a race condition where process.kill can be sent before the
target is ready to receive the signal.

Fixes: nodejs#41123
nodejs-github-bot pushed a commit that referenced this issue Nov 13, 2022
There is a race condition where process.kill can be sent before the
target is ready to receive the signal.

Fixes: #41123
PR-URL: #45354
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
ruyadorno pushed a commit that referenced this issue Nov 21, 2022
There is a race condition where process.kill can be sent before the
target is ready to receive the signal.

Fixes: #41123
PR-URL: #45354
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
danielleadams pushed a commit that referenced this issue Dec 30, 2022
There is a race condition where process.kill can be sent before the
target is ready to receive the signal.

Fixes: #41123
PR-URL: #45354
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
danielleadams pushed a commit that referenced this issue Dec 30, 2022
There is a race condition where process.kill can be sent before the
target is ready to receive the signal.

Fixes: #41123
PR-URL: #45354
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
danielleadams pushed a commit that referenced this issue Jan 3, 2023
There is a race condition where process.kill can be sent before the
target is ready to receive the signal.

Fixes: #41123
PR-URL: #45354
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
danielleadams pushed a commit that referenced this issue Jan 4, 2023
There is a race condition where process.kill can be sent before the
target is ready to receive the signal.

Fixes: #41123
PR-URL: #45354
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI. linux Issues and PRs related to the Linux platform. macos Issues and PRs related to the macOS platform / OSX. repl Issues and PRs related to the REPL subsystem.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants