-
Notifications
You must be signed in to change notification settings - Fork 846
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
Running NPM causes non-deterministic BSOD #4537
Comments
It's not only with installing core-js. I have the feeling that it has something todo with the massive amount of files being written to the disk. Already send Microsoft the mini dump but so far I didn't hear back. |
Had the same issue when installing But its not easy to reproduce, usually the same command (like
I tried to run |
I'm getting the same issue as OP with coincidentally the exact same setup down to the version # and it's only BSOD when using integrated terminal. Sometimes I'll also get a BSOD with Using WSL in external terminal I don't have any permission or BSOD issues. *Unless I've tried to run something like After this I guess I'm not going to be using the integrated terminal again in VSCode. I've run into so many issues, both with Bash in WSL and Powershell. |
Got same issue as @PaulSearcy ! Running WSL and its terminal integrated in VSCode and running |
Same issue (BSOD with |
Same issue |
Same problem here with same errors but it seems to only occurs with "big" projects having a lot of dependencies. Using Yarn instead of npm solved this for me but it's quite annoying. Could it be the memory? |
If anyone catches this in the act, send the minidump to secure@microsoft.com and make clear in the subject and body it should be directed to the WSL team. This is in all likelihood going to be related to #1529, which is not new. What is new is the BSOD. |
@therealkenc
I have never heard anything. Not sure if I should have been more precise regarding the forwarding to the WSL team. |
Can confirm this issue when using npm. It doesn't even have to be something like core-js, even doing a single package install can sometimes cause a BSOD on my system. Doesn't seem to be any rhyme or reason to it, but the error is always the same: LXCORE.SYS I've got a couple different event logs with what looks like different parameters as well.
I'll go ahead and send the minidump to the address as well. |
I figured out a workaround for the time being for VS Code in
Microsoft in the link above explains why VS Code has such trouble in WSL with renaming folders. Which isn't a direct answer for this issue, but after using polling I haven't had a single issue yet. Downside is that depending on the polling interval you may have to reopen files to see updates, package.json for example, and they point out could slow down larger projects considerably. They go on to say there not going to fix it in WSL 1 and that its fixed in WSL 2. WSL 2 is actually slower than WSL 1 if you need to access files and folders outside of virtual drive it creates. (Which I do) So its kinda a mixed bag depending on your situation. Hope this helps people coming to this issue. |
Glad you referenced that link, with guilt by association microsoft/vscode-remote-release/#208. I nearly mentioned as much last post, but wanted to see how the BSOD investigation played out (read: not VS Code's problem). I suspect but can't prove that VS Code banging hard polling file status is surfacing the bug. I believe VS Code also retries rename in the face of failure, but now I can't find a reference to the patch. Ref #1956 which is the LZ for the perennial |
I just ran into this issue with (meteor/meteor#10768 (comment)):
If it helps, I have no antivirus and Windows Defender is completely disabled (it makes WSL much faster). I am also using the VSCode integrated terminal, as a few of you mentioned above. This SO user also seems to have the same issue: https://stackoverflow.com/questions/57952780/npm-install-makes-windows-crash. He/she is using
@AbdusamadTurdiev any chance to just rename this issue to something like the following? Running NPM causes non-deterministic BSOD
This is happening to me all the time but those instructions are not exactly clear. Are you suggesting the following steps?
|
@mizzao yes, according to above problems of people that's the right name for this issue |
Well, it seems that a month passed and I am still having the exact same issue here. I am running WSL1 on Any suggestions but sent minidump to |
Whoa this is what i'm looking for! I opened an issue at expo/expo-cli#2379 because whenever i'm running I don't even know where the bug came from. I sent my dump file to microsoft feedback after instructed by one of microsoft team in their website though.. let's see |
I was recived the same BSOD without WSL |
got |
I have the same problem on Windows 11 with WSL 1
The files yarn.lock and package.json get broken and filled with NUL NUL NUL: EDIT: I found the reason! Updating |
Got the same problem with Rust, trunk. |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Steps to Reproduce:
Does this issue occur when you try this locally?: No
npm install --save core-js@3
I'm running this command in integrated terminal of vscode which is connected to wsl and get BSoD with this error
The text was updated successfully, but these errors were encountered: