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

Node v16 segfault on Jest 26/27 when using --detectOpenHandles #11533

Closed
milesj opened this issue Jun 5, 2021 · 6 comments
Closed

Node v16 segfault on Jest 26/27 when using --detectOpenHandles #11533

milesj opened this issue Jun 5, 2021 · 6 comments

Comments

@milesj
Copy link

milesj commented Jun 5, 2021

🐛 Bug Report

I've ran into this twice now while upgrade some projects. Here's some examples on Jest 26:

Beemo:

Boost:

This also fails on Jest 27, example PR here: beemojs/beemo#137

To Reproduce

Clone and checkout this branch: milesj/boost#150 Setup with yarn install && yarn global add packemon && yarn run build.

Run yarn test on Node 16 to trigger the segfault. Can also run npx jest --detectOpenHandles.

Expected behavior

Doesnt segfault.

Link to repl or repo (highly encouraged)

envinfo

  System:
    OS: macOS 11.2.3
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Binaries:
    Node: 16.3.0 - ~/.nvm/versions/node/v16.3.0/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v16.3.0/bin/yarn
    npm: 7.15.1 - ~/.nvm/versions/node/v16.3.0/bin/npm
@milesj milesj changed the title Node v16 segfault on Jest 26 when using --detectOpenHandles Node v16 segfault on Jest 26/27 when using --detectOpenHandles Jun 5, 2021
@thynson
Copy link

thynson commented Jun 19, 2021

+1

@SimenB
Copy link
Member

SimenB commented Jun 22, 2021

Prooobably nodejs/node#39019, fix should come in 16.4.0 (nodejs/node#39031)

@milesj
Copy link
Author

milesj commented Jun 22, 2021

Ok cool. At least I wasn't going crazy thinking it was my setup :P

@SimenB
Copy link
Member

SimenB commented Jun 24, 2021

@milesj 16.4.0 is out, could you test?

@milesj
Copy link
Author

milesj commented Jun 25, 2021

@SimenB Yup seemed to fix it locally, will close.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants