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

InstructionError at 0xF590D60200000000 #1167

Closed
xayanide opened this issue Aug 28, 2022 · 3 comments
Closed

InstructionError at 0xF590D60200000000 #1167

xayanide opened this issue Aug 28, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@xayanide
Copy link

xayanide commented Aug 28, 2022

Similar error names found on these issues

#197
#461
#684
#1088

Version

0.1.10

Platform

UNIX:
Linux DESKTOP-5531PRA 4.4.0-19041-Microsoft #1237-Microsoft Sat Sep 11 14:32:00 PST 2021 x86_64 x86_64 x86_64 GNU/Linux
Windows:
Microsoft Windows NT 10.0.19044.0 x64

What steps will reproduce the bug?

  1. Install Ubuntu 20.04.4 LTS from Microsoft Store
  2. sudo apt update && sudo apt upgrade
  3. apt install unzip
  4. curl https://bun.sh/install | bash
  5. .bashrc thingy
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
mkdir projects && cd projects && mkdir app && cd app && echo "console.log('index.js')" >> index.js
// projects/app/index.js
console.log('Hello world.');

How often does it reproduce? Is there a required condition?

Persistent, most commands.

What is the expected behavior?

Execute one of the basic commands.

What do you see instead?

ava@DESKTOP-5531PRA:~/projects$ cd app
ava@DESKTOP-5531PRA:~/projects/app$ ls -a
.  ..  index.js
ava@DESKTOP-5531PRA:~/projects/app$ bun -v
0.1.10
ava@DESKTOP-5531PRA:~/projects/app$ bun help
bun: a fast bundler, transpiler, JavaScript Runtime and package manager for web software.

  dev       ./a.ts ./b.jsx        Start a bun Dev Server
  bun       ./a.ts ./b.jsx        Bundle dependencies of input files into a .bun

  init                            Start an empty Bun project from a blank template
  create    next ./app            Create a new project from a template (bun c)
  run       test                  Run JavaScript with bun, a package.json script, or a bin
  install                         Install dependencies for a package.json (bun i)
  add       @remix-run/dev        Add a dependency to package.json (bun a)
  link                            Link an npm package globally
  remove    backbone              Remove a dependency from package.json (bun rm)
  unlink                          Globally unlink an npm package

  upgrade                         Get the latest version of bun
  completions                     Install shell completions for tab-completion
  discord                         Open bun's Discord server
  help                            Print this help menu
ava@DESKTOP-5531PRA:~/projects/app$ bun run index.js

InstructionError at 0xF590D60200000000


----- bun meta -----
Bun v0.1.10 (fe7180bc) Linux x64 #1237-Microsoft Sat Sep 11 14:32:00 PST 2021
RunCommand:
Elapsed: 2ms | User: 0ms | Sys: 31ms
RSS: 67.11MB | Peak: 2.34MB | Commit: 67.11MB | Faults: 0
----- bun meta -----

Ask for #help in https://bun.sh/discord or go to https://bun.sh/issues

ava@DESKTOP-5531PRA:~/projects/app$ bun add

InstructionError at 0xF590D60200000000


----- bun meta -----
Bun v0.1.10 (fe7180bc) Linux x64 #1237-Microsoft Sat Sep 11 14:32:00 PST 2021
AddCommand:
Elapsed: 2ms | User: 0ms | Sys: 15ms
RSS: 67.11MB | Peak: 2.36MB | Commit: 67.11MB | Faults: 0
----- bun meta -----

Ask for #help in https://bun.sh/discord or go to https://bun.sh/issues

ava@DESKTOP-5531PRA:~/projects/app$ bun init
bun init helps you get started with a minimal project and tries to guess sensible defaults. Press ^C anytime to quit

package name (app):
entry point (index.js):


InstructionError at 0xF590D60200000000


----- bun meta -----
Bun v0.1.10 (fe7180bc) Linux x64 #1237-Microsoft Sat Sep 11 14:32:00 PST 2021
Unknown:
Elapsed: 3059ms | User: 0ms | Sys: 15ms
RSS: 67.11MB | Peak: 2.60MB | Commit: 67.11MB | Faults: 0
----- bun meta -----

Ask for #help in https://bun.sh/discord or go to https://bun.sh/issues

ava@DESKTOP-5531PRA:~/projects/app$

Additional information

OS:
Windows 10 21H2 19044.1889
Mobo:
Foxconn G31MX-K
CPU:
Intel Core 2 Quad Q9500 (Doesn't support AVX2 instruction set)
Memory:
4GB 800Mhz DDR2

WSL Version: 1

C:\Windows\system32>wsl -l -v
  NAME            STATE           VERSION
* Ubuntu-20.04    Stopped         1
@xayanide xayanide added bug Something isn't working needs repro Needs an example to reproduce labels Aug 28, 2022
@xhyrom
Copy link
Collaborator

xhyrom commented Aug 28, 2022

can you try to manually install build with no avx2?
https://github.com/oven-sh/bun/releases/tag/bun-v0.1.10 - download yourarch-baseline

@xayanide
Copy link
Author

xayanide commented Aug 28, 2022

Still persists, tried manual install with https://github.com/oven-sh/bun/releases/download/bun-v0.1.10/bun-linux-x64-baseline.zip

@Jarred-Sumner
Copy link
Collaborator

Should be fixed due to building for non-AVX in -baseline

If you still see this please leave a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants