Git Product home page Git Product logo

Comments (5)

github-actions avatar github-actions commented on August 22, 2024

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:

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.

OneBlue avatar OneBlue commented on August 22, 2024

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.

OneBlue avatar OneBlue commented on August 22, 2024

@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.

struglee avatar struglee commented on August 22, 2024

Here is the crash dump.
wsl-crash-1722926090-1-_init-11.dmp

from wsl.

OneBlue avatar OneBlue commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.