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

WSL crashes with "Catastrohic Failure" when installing from a headless context #12207

Closed
1 of 2 tasks
Paradoxis opened this issue Oct 26, 2024 · 8 comments
Closed
1 of 2 tasks

Comments

@Paradoxis
Copy link

Windows Version

Microsoft Windows [Version 10.0.19045.2965]

WSL Version

2.3.24.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

N/A

Distro Version

N/A

Other Software

No response

Repro Steps

Use Sysinternals' PsExec64 to elevate to NT AUTHORITY\SYSTEM

.\PsExec64.exe -accepteula -s -i \\127.0.0.1 cmd.exe

Run WSL

wsl.exe --install

Expected Behavior

WSL runs normally and exits, preferably it installs something

Actual Behavior

WSL crashes with a "a t a s t r o p h i c f a i l u r e" message

Image

Diagnostic Logs

No response

Copy link

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Paradoxis
Copy link
Author

Copy link

Diagnostic information
Detected appx version: 2.3.24.0

@benhillis
Copy link
Member

For installing from session zero could you please download the .msi from our GitHub releases and install that way?

@Paradoxis
Copy link
Author

Paradoxis commented Nov 4, 2024

@benhillis installing through MSI seems to work, but when using WSL itself through session 0 I still get strange formatting errors, as well as an access denied error, although running it over SSH seems to work fine.

Through PsExec:

Image

Through SSH:

Image

Issue appears to be solved for now, although it would be nice if the formatting and access denied as SYSTEM issue could be resolved.

@Elibar19
Copy link

Elibar19 commented Nov 5, 2024

Hi there, try this solution. Go to Win+R --> regedit --> HKEY_CURRENT_USER/Control Panel/International/Geo and edit the value of Nation with the code of your country where you live --> https://learn.microsoft.com/es-es/windows/win32/intl/table-of-geographical-locations

@OneBlue
Copy link
Collaborator

OneBlue commented Nov 5, 2024

/dupe #11280

Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

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

4 participants