Why does Ubuntu on Windows crash on startup?

3

0

I'm running Windows 10 Insider Preview Build 17074 for PC. The Windows Subsystem for Linux is enabled and I've installed Ubuntu on Windows from the Windows Store.

Whenever I try to launch Ubuntu, it fails with the following error message:

"The data area passed to a system call is too small."

enter image description here

I've tried uninstalling/installing the app (via Apps & features) and disabling/enabling the Linux Subsystem (via Turn Windows features on or off), but still get the same error.

How can I fix this problem?

Windows version

Error message

Install Ubuntu

Uninstall Ubuntu

Luke Girvin

Posted 2018-01-24T11:03:09.187

Reputation: 200

I haven't seen this, but I did remove WSL before installing Ubuntu on Windows. I don't know if there is a conflict between the two versions, but I suggest you remove both before installing Ubuntu again. – AFH – 2018-01-24T11:24:39.680

117074 Isn’t 1709 that’s a Insidsr Preview build for RS4 which would be more like what will become 1803. – Ramhound – 2018-01-24T12:12:14.300

"I've tried uninstalling/installing the app and disabling/enabling the Linux Subsystem, but still get the same error." - This doesn't reset the environment. How did you uninstall the application exactly? Edit your question. – Ramhound – 2018-01-24T13:09:48.880

In this case the output of WinVer isn't correct. 10.0.17074 · VERSION 1803 · REDSTONE 4. 1709 has a build of 16299 any build higher than that is RS4. Anyways this particular error has happened to various programs and isn't specifically linked to anything to do with WSL.

– Ramhound – 2018-01-24T16:17:04.293

1Try running wslconfig /unregister Ubuntu in an elevated PowerShell prompt. However, worth pointing out, the directory stated in the error, does not appear to be correct. This might have to do with the fact you are on a Slow Insider Preview channel. – Ramhound – 2018-01-24T16:19:47.763

Running 'wslconfig /unregister Ubuntu' gives 'There is no distribution with the supplied name'. Running 'wslconfig /l' gives 'Windows Subsystem for Linux has no installed distributions'. I've tried openSUSE Leap 42 and it also gives a 'data area too small' error. – Luke Girvin – 2018-01-25T10:11:35.350

If Ubuntu isn't supported on Slow Insider Preview then that's fine, but presumably this should be documented somewhere? If it's a bug, is it a bug in Windows or the app? If I've got a borked Windows installation then it's not worth reinstalling just to get this app running. – Luke Girvin – 2018-01-25T10:14:49.403

2

update to Build 17083 and look wha happens. Insider Version tend to have more issues compared to stable Versions.

– magicandre1981 – 2018-01-31T16:12:11.793

I would guess that the Ubuntu version you got from the Store cannot work on the Insider Preview. You use Insider Preview at your own risk - this version is meant for developers to test the compatibility of their software to the upcoming version of Windows, not for serious work. – harrymc – 2018-01-31T18:04:37.907

Answers

3

As mentioned in the comments, you use an Insider Preview Build 17074 of the next Feature Update:

enter image description here

In this preview Version, Microsoft makes a lot of changes and bugs are expected. So try lastest Windows 10 Insider Preview (as of writing this is Build 17083) and look if the issue is fixed. If not, report the issue to Microsoft via Feedback Hub App.

Backup all data and go to the stable Windows 10 Fall Creators Update v1709 (Build 16299) by doing a clean install via 1709 ISO. Now install the Linux Subsystem again and use Ubuntu. This should be stable.

magicandre1981

Posted 2018-01-24T11:03:09.187

Reputation: 86 560

1

This error logged in GitHub. You can't solve that by clean installing. Link.

– Biswapriyo – 2018-02-02T13:16:52.447

@biswapriyo Thanks for the link, change your comment to an answer and I'll accept it. – Luke Girvin – 2018-02-05T12:11:29.857

@LukeGirvin That is not an answer. And I don't know about that problem so much. If I know details I'll definitely do that. – Biswapriyo – 2018-02-05T13:04:48.160

1

This turned out to be a bug which occurs when SQL Server is running with the filestream feature enabled, as described in this blog post:

Simply speaking, this issue occurs due to due to miscommunication between two filter drivers, namely WCNFS (the desktop bridge) and RsFxXXXX.sys driver (filestream system driver). RsFx system driver doesn't honor flags being passed by WCNFS driver appropriately, which causes startup failure of any Centennial application with the aforementioned error.

Stopping the SQL Server service let me run Ubuntu.

Luke Girvin

Posted 2018-01-24T11:03:09.187

Reputation: 200