Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

The nodejs/chakra bundle does not work with Ubuntu on Windows. #332

Closed
restarian opened this issue Jul 9, 2017 · 7 comments
Closed

The nodejs/chakra bundle does not work with Ubuntu on Windows. #332

restarian opened this issue Jul 9, 2017 · 7 comments
Assignees

Comments

@restarian
Copy link

restarian commented Jul 9, 2017

build: node-v8.1.2-nightly201706274be96a0e53-linux-x64.tar.xz

The above build does not work on Ubuntu under Windows. The exact output from it is:
> ./node
Out of Memory
Aborted (core dumped)

> uname -a
Linux DESKTOP-BCNCPSO 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux

The same build does work with a native install of Ubuntu however. The below pictures show the working and non-working output of the two different platforms.

Also, it is worth noting that node/v8 is working fine on Ubuntu in WIndows. Below is the output.
``
surge@DESKTOP-BCNCPSO:/mnt/c/Users/Rober/commonjs_projects/tester$ node

process.versions
{ http_parser: '2.7.0',
node: '7.10.0',
v8: '5.5.372.43',
uv: '1.11.0',
zlib: '1.2.11',
ares: '1.10.1-DEV',
modules: '51',
openssl: '1.0.2k',
icu: '58.2',
unicode: '9.0',
cldr: '30.0.3',
tz: '2016j' }
surge@DESKTOP-BCNCPSO:/mnt/c/Users/Rober/commonjs_projects/tester$ uname -a
Linux DESKTOP-BCNCPSO 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
``
Non-functioning build on Ubuntu in Windows
capture

The same file working on a native Ubuntu install
chakra_working

@jianchun
Copy link

This is probably microsoft/WSL#597. What's your Windows version? (That issue fixed in Creators update.)

@restarian
Copy link
Author

Well I do have the creators update version of windows at 1703.

version_info

@obastemur obastemur self-assigned this Jul 10, 2017
@obastemur
Copy link
Contributor

@jianchun I'm doing a related stuff on Windows-Bash. If you didn't spend time on it already, taking this one.

@kfarnung
Copy link
Contributor

kfarnung commented Jul 10, 2017

@restarian Can you run lsb_release -a in the Linux shell? Was this machine upgraded to 1703 and do you remember if you setup Ubuntu on Linux before the upgrade?

EDIT: Actually, I'm seeing this on my own machine with 1703, I'll let @obastemur investigate further.

@obastemur
Copy link
Contributor

The problem should be fixed on Windows Bash end. Keeping this open and will update once the problem is fixed.

@jianchun
Copy link

@kfarnung My box works fine though (170513-2252):

xjc@xjc1:~/node-v8.1.2-nightly201706274be96a0e53-linux-x64$ bin/node
> process.versions
{ http_parser: '2.7.0',
  node: '8.1.2-nightly201706274be96a0e53',
  chakracore: '1.5.1.0',
  uv: '1.12.0',
  zlib: '1.2.11',
  ares: '1.10.1-DEV',
  modules: '57',
  openssl: '1.0.2l',
  icu: '59.1',
  unicode: '9.0',
  cldr: '31.0.1',
  tz: '2017b' }

@kfarnung
Copy link
Contributor

On my SP4 device I'm seeing that same as @restarian. One thing to note is that I had the Linux Subsystem enabled when I upgraded from 1607 to 1703 just the other day (standard Windows Update) and I uninstalled/reinstalled the Ubuntu image using:

> lxrun /uninstall /full
> bash

Maybe there's something about upgrades that's causing issues? On my insider build machine I'm not seeing any issues.

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

No branches or pull requests

4 participants