-
Notifications
You must be signed in to change notification settings - Fork 847
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
GreenScreen on opening #3304
Comments
+1. When I'm trying to run |
Same here. FeedbackHub asked me what happened to get a GSOD and I replied I just tried to open Ubuntu shell. I don't know if the minidump was automatically sent at that moment though. |
Typically you will find the crashdump at \windows\memory.dmp. If you could email that to us -- see CONTRIBUTING.md, it would be appreciated. If you do not see a memory.dmp file, this option can be configured in the Startup and Recovery UI of System Properties (click start, start typing "view advanced system settings" and you should see the option). |
problem is that windows doesn't create it... even if i have the option enabled (tried with full dump and small memory dump 256kb) |
I just upgraded to '692 moments ago in the hopes of getting a dump to send in, but strangely no GSOD for me. I tried |
Some way to extract them ? |
Our most recent instances of GSOD affecting only a small group have been related to AV software. @Ansuel - the only other reliable mechanism would be to attach a kernel debugger and capture the information from a separate device. |
well... i have windows defender as AV software... |
Ok I tested some things and this is what I found. All these in build 17692 with a practically clean install. (Windows Defender as AV) I have installed Ubuntu 18.04 in C: drive through the store and I can open it (normal and elevated) without getting any GSOD.
So I think launching distros installed through the Store shouldn't have this issue but distros installed manually should. |
looks like the disto should be signed in some way and cause this sign doesn't exist in manually installed (or upgraded) dist windows goes GSOD Open bash with elevated permission skip this check and windows doesn't crash. |
I also see this issue but with BSOD and same error of As I said in this thread #1744 (comment), there is a new option in Also as @Ansuel said, with admin privileges |
i can't find the wslconfig.exe /upgrade option |
i never installed bash on windows from the store. Some checks must be introduced with this insider build as i didn't have any problem before... |
It's seem to be weird. I install build 17692 in VirtualBox and attach windbg with pipe. But there is no blue/green screen with wsl.exe or bash.exe. |
@Brian-Perkins I have sent a kernel memory dump. Hope it helps to fix this issue. For those who can't generate a memory dump, in order to generate the MEMORY.DMP I had to check "Disable Automatic Deletion of Memory Dumps When Disk Space is Low". |
Those of you who are seeing this problem, can you answer two questions for me:
Using |
@SvenGroot anyway my rootfs folder is here C:\Users\Ansue\AppData\Local\Lxss (this is where i have all the data) C:\Users\Ansue\AppData\Local\Lxss\rootfs (rootfs dir)
|
@Ansuel Thanks. From what I can make out, it seems that your user account does not have the "Delete subfolders or files" permission, which is what I suspected. What's happening is that we're hitting an access denied error, and then the error handling path has a bug which is causing the BSOD. The bug in the error handling path has already been fixed internally. However, we also shouldn't be requiring these permissions, and we will fix that too. In the mean time, you can work around this issue by granting yourself full control of the parent of your rootfs folder: For other people following these instructions, make sure you determine where your "rootfs" folder is located, and use its parent in the above command. It may not be in the same place as this example. |
@SvenGroot Indeed It worked. I used Before trying the workaround |
yes can confirm the command fixed the gsod |
@Ansuel @onomatopellan Thanks, that's good to hear. I'm working on the fix for the permissions issue now. |
The temporary work-around was posted in #3304 (comment) |
@SvenGroot Is this permission configured from Windows side or WSL side during installation? Can From @voskrese's idea, If I add |
@Biswa96 на самом деле, эти параметры я взял из инструкции, а по факту просто создал виртуальный диск, отформатировал его в NTFS и основное, после присоединения, с корня диска, через GUI параметра, задал ПОЛНЫЙ доступ для ВСЕХ. распаковал дистриб, даже 5 на сегодняшний день, и тогда у меня все заработало
|
@Biswa96 This is a Windows permission and cannot be set with chmod. It can only be set with icacls.exe (as shown above), PowerShell's Set-Acl cmdlet, and the Windows Explorer security UI. Also, I'd like to reiterate that this is a bug. We should not be requiring this particular permission (Delete subfolders and files), because it's one that's not present in the default permissions of many locations. I've already fixed it and we'll let you know when the fix reaches an insider build. |
The permissions issue should be fixed in Insider Build 17713 |
Indeed it works well again. Thanks! |
But the installation requires admin privileges or to use the above icacls command. |
@SvenGroot Setting |
Adapting the file access permissions using |
Microsoft Windows [Versione 10.0.17692.1000]
As soon as i open The bash shell i have a green screen with lxcore.sys crashing...
I can't find a way to generate a crashdump.
The text was updated successfully, but these errors were encountered: