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

BSOD on Win11 with WSL when running jest tests #86

Open
DerGernTod opened this issue Mar 15, 2022 · 1 comment
Open

BSOD on Win11 with WSL when running jest tests #86

DerGernTod opened this issue Mar 15, 2022 · 1 comment

Comments

@DerGernTod
Copy link

DerGernTod commented Mar 15, 2022

took me a while to figure it out, but it's actually caused by swc.

Reproduce

  • run a wsl terminal
  • clone the reproducer repository: https://github.com/DerGernTod/swc-bsod
  • run npm install
  • run npm test
    After all tests ran, the system crashes with a BSOD every time, showing the error code MEMORY_MANAGEMENT.

If you replace swc in the reproducer with ts-jest, you won't get a BSOD.
Note that, after reproducing it, your node_modules dir might be corrupted, so you'll have to remove it and install again.

Windows 11 version: 22000.493
WSL version: 2 (Kernel version 5.10.60.1)
Ubuntu version: 2004.2022.1.0 (from windows store
Node version: 16.13.0
NPM version: 8.8.1

@marchaos
Copy link

marchaos commented May 11, 2022

You might be hitting this issue - jestjs/jest#11956

Try going to node 16.10 as it starts in the issue (or 14+). There still may be an issue with swc give you say that ts-jest seems ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants