Comments (5)
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!
Closed similar issues:
- Catastrophic failure : Error code: Wsl/Service/CreateInstance/E_UNEXPECTED (#10140), similarity score: 0.86
- Ubuntu 22.04 with systemd can't start (#11411), similarity score: 0.84
- Wsl/Service/CreateInstance/CreateVm/HCS/E_INVALIDARG (#11260), similarity score: 0.82
- Error code: Wsl/Service/CreateInstance/0x8000ffff (#8711), similarity score: 0.80
- Unable to start Ubuntu 20.04 under WSL2 (#6922), similarity score: 0.80
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Diagnostic information
.wslconfig found
Detected appx version: 2.2.4.0
Detected user visible error: Wsl/Service/CreateInstance/E_UNEXPECTED
from wsl.
This issue is caused by a segfault in init:
Microsoft.Windows.Lxss.Manager GuestLog 06-24-2024 18:58:47.778 " " "text: ""[ 1.168587] init[211]: segfault at 1 ip 000000000032b93a sp 00007ffd89f612a8 error 4 in init[299000+15a000] ""
vmId: {3557af94-5639-4053-a9b8-13c5e2342a48}" 10156 9120 5 00000000-0000-0000-0000-000000000000
I'll come back to this with instructions on how to capture a process once we have more logging to help root cause issues like this.
from wsl.
@struglee: Can you try to update to the latest package and reproduce the issue ?
This should generate a crash dump in %tmp%/wsl-crashes
from wsl.
Here is the crash dump.
wsl-crash-1722926090-1-_init-11.dmp
from wsl.
Thank you @struglee. With this dump I root caused the issue to a bug causing init to crash when initPath
in /etc/wsl.conf
points to a file that doesn't exist.
This will be fixed in the next release. In the meantime, setting:
[wsl2]
safeMode=true
in %USERPROFILE%/.wslconfig
should allow you to boot the distribution and remove initPath
from /etc/wsl.conf
to get your distro back in a working state.
from wsl.
Related Issues (20)
- The installation process for distribution 'Ubuntu' failed with exit code: 1. Error code: Wsl/InstallDistro/WSL_E_INSTALL_PROCESS_FAILED HOT 3
- WSL installation fails with error "0x8007019e" plus "wsl -l -v" gives an error "Wsl/0x80080005" HOT 6
- Mirrored networking mode is not supported, falling back to NAT networking HOT 3
- USBIPD broken by latest WSL pre-release version HOT 2
- Missing WSL Blobs for openSUSE Leap 15.5 HOT 8
- wsl --install not running HOT 4
- network problem mirrored HOT 2
- Error code: Wsl/CallMsi/Install/ERROR_SERVICE_DOES_NOT_EXIST/ I can't install wsl --install HOT 2
- wsl --update failed error code 1603 HOT 9
- Failed to start apt-news.service: Transport endpoint is not connected HOT 14
- Unable to create files on the WSL network share after opening a big PHPStorm project HOT 7
- git pull takes a long time; was fixed by turning off ipv6 using GIT_SSH_COMMAND="ssh -4" HOT 5
- Error: 0x80070002 The system cannot find the file specified. HOT 2
- Add a configuration setting to suppress error messages HOT 7
- WSLInterop in effect even with `interop.enabled = false` in `wsl.conf` HOT 8
- The system cannot find the path specified. HOT 4
- /tmp/.X11-unit/X0 auto removed a few minutes after the wsl2 starts HOT 4
- WSL2 with Ubuntu not starting anymore - Blinking cursor HOT 6
- Warning notifications shown despite `WSL_DISABLE_WARNINGS=1` HOT 3
- Text content corruption after PowerShell terminal is minimized inside OneDrive - Business folders HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.