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

Error: 0x800703e3 when launching WSL [Insider, Build 17655, 17661 & 17666] #3134

Closed
Erisa opened this issue Apr 29, 2018 · 94 comments
Closed

Comments

@Erisa
Copy link

Erisa commented Apr 29, 2018

On the latest Skip Ahead Insider build (1803 / 10.0.17655.1000), WSL refuses to launch (On any distro), instead hanging (With Init using ~25% cpu at all times) before giving Error: 0x800703e3 and sometimes 0x80070040.
I've tried running clean and even installing a different distro (Can reproduce on Ubuntu and openSUSE) to no avail.
I only noticed this happening directly after updating to 17655, and searching online for this error code only comes up with #1661, which doesn't appear to be related(?)

Full show of everything going on:
image

@0xADD1E
Copy link

0xADD1E commented Apr 30, 2018

I am encountering the same issue. Can anyone more familiar with the WSL internals give more information on further steps or determining steps to reproduce?

@0xADD1E
Copy link

0xADD1E commented Apr 30, 2018

Additional information that may be useful: I'm seeing two init processes. One of them is using the entirety of a CPU core, the other of which is sitting idle. Killing the second one results in another printing of Error: 0x80070490 whereas letting it time out results in the Error: 0x800703e3. In either case, a new idle init daemon is spawned.

Oddly enough, killing the init that's using the entire core will result in the idle one waking up, and taking up an entire core, and spawning it's own idle daemon. Killing the active one reverses it again and prints Error: 0x80070040

Hopefully this is helpful

@0xADD1E
Copy link

0xADD1E commented Apr 30, 2018

I also tried it with https://github.com/yuk7/ArchWSL, to the same result, but I'm not familiar enough with lower-level WSL to know if that's what you mean.

With the behaviours of init, and the admittedly little that I know about WSL from Black Hat talks and blog posts, I'd guess the issue is with the re-implementation of init.

@Brian-Perkins
Copy link

Do either of you (@Seriell, @0xADD1E) happen to remember which build you were upgrading from?

@Erisa
Copy link
Author

Erisa commented Apr 30, 2018

@Brian-Perkins Unfortunately I can't remember. It was either 17643 or 17650, either way it was from one Skip Ahead to another. I've been busy lately so I can't remember whether I skipped 17650 or not.
If theres some way in Windows to find out which I upgraded from, I would be more than happy to tell you.

@benhillis
Copy link
Member

Could somebody experiencing these issues please collect and share logs so I can see what's going on?

https://github.com/Microsoft/WSL/blob/master/CONTRIBUTING.md#8-detailed-logs

@Brian-Perkins
Copy link

@Seriell I am sure there is an official way, but a good enough way is to find a "Build: " string in c:\windows.old\windows\logs\cbs\cbs.log (note the .old part of the path)

@Erisa
Copy link
Author

Erisa commented Apr 30, 2018

@Brian-Perkins Unfortunately I was low on disk space earlier today and I let it delete Windows.old, sorry!

@benhillis Will do that now, hold up.

@Erisa
Copy link
Author

Erisa commented Apr 30, 2018

@benhillis Here are the logs for the Error: 0x800703e3 when launching WSL: lxcore_logs_seriell.zip

All I did was run ubuntu like so:
image

@0xADD1E
Copy link

0xADD1E commented Apr 30, 2018

I had originally installed the latest non-insider build, and then upgraded to this build

@benhillis
Copy link
Member

@Seriell - Thanks for sharing the logs. Unfortunately nothing in there that would indicate what is spinning. Could you see if running bash.exe has the same behavior?

@Erisa
Copy link
Author

Erisa commented Apr 30, 2018

bash.exe does the same thing, as does other distro exes. (I even tried as Admin but no dice) As noted by @0xADD1E it's probably some low level problem with the Init process.
I can provide more logs if needed, but I don't think the bash.exe ones would differ to just running ubuntu.

@Biswa96
Copy link

Biswa96 commented Apr 30, 2018

I tried to install a distro in fresh VM of Win build 17655. There is no problem with Wsl* functions (as was in 17650). Though I didn't try with Store app.
@Seriell Did you install the Ubuntu in previous Windows build? If there is no important files, can you uninstall Ubuntu from Store and try to reinstall it? Some problem shows in LX service. Try to restart the LxssManager service in service manager (services.msc).

@Erisa
Copy link
Author

Erisa commented Apr 30, 2018

Yes I did install Ubuntu in a previous build (More specifically, 17643) from the Store app.
I don't imagine reinstalling Ubuntu from the store doing anything since I installed a fresh distro and that has the same problem, but I will try that as well as the services thing now.
(I'll post a new comment when I've done that, didn't want to delay this information until I've tested stuff)

@benhillis
Copy link
Member

@Seriell - Thanks. Unfortunately I think the next step would be to look at a full memory dump. There are instructions for collecing one here: #2859 (comment)

@Erisa
Copy link
Author

Erisa commented Apr 30, 2018

@Biswa96 That service wasn't running when I first looked (Set to manual), I started it and nothing changed.

@benhillis I'll do that when I have time (Maybe later today, probably end up being tomorrow).
When I send the email should I reference this Issue in it?

@benhillis
Copy link
Member

@Seriell - Thank you very much, yes please reference this issue and my Microsoft alias: benhill

@pryan1check
Copy link

i have same problem too. How to fix it?

@stoltzld
Copy link

stoltzld commented May 2, 2018

I just reverted to 17650 and paused the insider updates.

@windrunner414
Copy link

i have same problem too.

@Erisa
Copy link
Author

Erisa commented May 3, 2018

I couldn't manage to do the memory dump because I've been too caught up in other stuff, but a new build was released today, I'll try that build as soon as I can, and I suggest other with the same problem try updating too.

@AnakinShieh
Copy link

I have tried the new build of Windows 17661, this problem still exists.

@lolmaus
Copy link

lolmaus commented May 4, 2018

This error paralyzed my work. How do I recover from it?

@rodrymbo
Copy link

rodrymbo commented May 4, 2018

I discovered I was updated to 17661 when I logged in this morning. Getting this same error with either legacy or ubuntu.

Anyone know if reverting to the previous build lets this work again?

Oh, and lxrun.exe doesn't seem to be installed any more, or at least not in System32 or anywhere else on the path.

@benhillis
Copy link
Member

We still do not have enough information to fix this issue. The most useful thing somebody that is experiencing this issue can do would be to take a kernel dump and share it with me via secure@microsoft.com.

@lolmaus
Copy link

lolmaus commented May 4, 2018

@benhills, can you please provide a link to instructions?

PS I'm available on Gitter for realtime chat.

@benhillis
Copy link
Member

@lolmaus - Instructions here #3134 (comment).

@rodrymbo
Copy link

rodrymbo commented May 4, 2018

Will any memory dump do, or just before/during/after trying to start wsl.exe, or after the error message shows up?

@benhillis
Copy link
Member

@rodrymbo - It will have to be while the CPU is spinning trying to launch.

@DaJakerBoss
Copy link

DaJakerBoss commented May 10, 2018 via email

@moisespr123
Copy link

image

Yes @DaJakerBoss

@benhillis
Copy link
Member

@moisesmcardona - That is the same error. In the most recent Insider build, wsl.exe and bash.exe will print error strings instead of hex error values whenever possible.

@DaJakerBoss
Copy link

DaJakerBoss commented May 10, 2018 via email

@benhillis
Copy link
Member

Yes it should. I'm not sure, I'll sync up with the people who write those release notes tomorrow and see about adding something.

@DaJakerBoss
Copy link

DaJakerBoss commented May 11, 2018 via email

@ioweb-gr
Copy link

Is it fixed in 17672.1000 perhaps?

@benhillis
Copy link
Member

@ioweb-gr - Yep! This is fixed in 17672.

@ioweb-gr
Copy link

That's great to hear :)

@SemperFu
Copy link

SemperFu commented May 16, 2018

Just tried it and it works! Thank you

@DaJakerBoss
Copy link

DaJakerBoss commented May 16, 2018 via email

@ioweb-gr
Copy link

ioweb-gr commented May 17, 2018

I just updated and it works fine for me too. Thank you very much

@hmqgg
Copy link

hmqgg commented May 17, 2018

17672 Fixed. Thanks!

@Erisa
Copy link
Author

Erisa commented May 18, 2018

Updated and can confirm it works here too.
Since this originated in Insider builds and was fixed in insider too, may I close this issue?

@stoltzld
Copy link

Thanks.

@benhillis
Copy link
Member

Thanks for confirming the issue is resolved.

@arcsoftech
Copy link

The error started poping up again in April 2020 update

@Erisa
Copy link
Author

Erisa commented Apr 23, 2020

The error started poping up again in April 2020 update

I don't have this issue on build 19041.207 with Ryzen 7 2700X, it may be something else causing it. Might also help to know what your CPU is since the original isssue only affected AMD CPUs.
Remember that the error code just means
The I/O operation has been aborted because of either a thread exit or an application request..
which can be caused from a number of things.

@gmos
Copy link

gmos commented May 5, 2020

@arcsoftech Same for me. It happens during startup, before anything else is displayed. And I am on an Intel CPU.

@gmos
Copy link

gmos commented May 5, 2020

@Erisa Perhaps re-open the issue or should we make a new?

@Erisa
Copy link
Author

Erisa commented May 5, 2020

@Erisa Perhaps re-open the issue or should we make a new?

If it's affecting Intel CPUs then it's probably not related to this problem and you should probably open a new issue.

@MBetters
Copy link

I got this issue as well. I found that the most stable way to launch WSL Bash is to wait until after these two conditions are met:

  • My laptop has connected to all my network drives (company VPN done init, etc)
  • My Docker Desktop Hyper-V has finished initializing. (The Docker desktop is running. Open PowerShell and start hacking with docker or compose notification has popped up)

Once those two conditions are met, I open my PowerShell 7 and type bash and don't get the error noted above.

My Winver:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests