Skip to content

CHECK failure in ResetStdio on >=12.5.0 #28479

Closed
@devsnek

Description

@devsnek

Check failure is this: ../src/node.cc:649:void node::ResetStdio(): Assertion (err) != (-1)' failed.`

node/src/node.cc

Lines 646 to 649 in dec5b22

do
err = tcsetattr(fd, TCSANOW, &s.termios);
while (err == -1 && errno == EINTR); // NOLINT
CHECK_NE(err, -1);

Reproduction:

  1. Make sure you are on >=12.5.0
  2. clone https://github.com/engine262/engine262
  3. npm run build && npm run test
  4. Tests start running, hit ctrl+c to kill it
  5. Check failure happens consistently here

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++Issues and PRs that require attention from people who are familiar with C++.cliIssues and PRs related to the Node.js command line interface.confirmed-bugIssues with confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions