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

Installation on WSL (Ubuntu) crashing windows with BSOD #336

Closed
a-tonchev opened this issue Feb 10, 2022 · 3 comments
Closed

Installation on WSL (Ubuntu) crashing windows with BSOD #336

a-tonchev opened this issue Feb 10, 2022 · 3 comments

Comments

@a-tonchev
Copy link

a-tonchev commented Feb 10, 2022

Trying to upgrade/install to latest node-libcurl (from 2.3.3 to 2.3.4) is causing Windows to crash, mixing up package.json and yarn.lock

BSOD: KERNEL_SYSTEM_CHECK_FAILURE

In a large project, this is the only library that can not be installed and crash on every try. At first I was thinking that my windows is broken, so I reinstalled it, but the same problem happens.

microsoft/WSL#4537 (comment)

Win 11
WSL 1 with Ubuntu 20.04

@JCMais
Copy link
Owner

JCMais commented Feb 12, 2022

Hi, I develop the addon using WSL 2 on Windows 10, and I am not able to reproduce it. I would recommend upgrading to WSL 2 if possible.

With that said, I do not think this is an issue with the addon, it is an issue with WSL and probably the way it handles multiple file descriptors being opened at the same time. The issue you linked above has a few comments from other people having the same issue with different libraries.

WSL 2 has a different filesystem handling, so that is probably why I do not see this issue.

@JCMais JCMais closed this as completed Feb 12, 2022
@a-tonchev
Copy link
Author

a-tonchev commented Feb 22, 2022

@JCMais out of curiosity - how did you solve the problem with hot reloading on WSL2? My biggest issue with WSL2 is the hot reloading, I want to use my Windows IDE (Webstorm) for edit files and git commands but to have the code running in linux.
Moving files into the linux filesystem solves the hot reaload, but it makes somehow the IDE slow and git does not work well.

@JCMais
Copy link
Owner

JCMais commented Feb 23, 2022

@a-tonchev I use VSCode with WSL2 and I have no issues with the filesystem or git, it is as fast as opening a file in the Windows filesystem. With WSL2 access to the Windows filesystem from within WSL2 is slower than it was with WSL1, but the WSL2 own filesystem has performance close to native.

In your case, my assumption would be that the IDE is not optimized for development using WSL. You should also make sure the git being used is the one from the UNIX distro, and not the one from Windows.

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

No branches or pull requests

2 participants