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

Getting 'illegal instruction' error on old AMD Phenom II #32625

Closed
findoff opened this issue Apr 3, 2020 · 2 comments
Closed

Getting 'illegal instruction' error on old AMD Phenom II #32625

findoff opened this issue Apr 3, 2020 · 2 comments
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs. zlib Issues and PRs related to the zlib subsystem.

Comments

@findoff
Copy link

findoff commented Apr 3, 2020

  • Version: v13.12.0
  • Platform: Linux Centos 7.7.1908 3.10.0-1062.12.1.el7.x86_64 deps: update openssl to 1.0.1j #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
  • Subsystem:

What steps will reproduce the bug?

Just install node 13 from nodesource (https://rpm.nodesource.com/pub_13.x/el/7/x86_64)
Or builder from source. Onto ~old AMD CPU.

npm install any-module-name

With CPU:

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

Every time.

What is the expected behavior?

Install packages

What do you see instead?

Illegal instruction] - rollbackFailedOptional: verb npm-session 549900aa043a9abd

Additional information

Checked CPU:

  • AMD Phenom(tm) II X6 1100T Processor
    Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc art rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt cpb hw_pstate retpoline_amd ibp_disable vmmcall npt lbrv svm_lock nrip_save pausefilter

  • AMD Sempron(tm) 140 Processor

  • Also checked with same CPUs and qemu+kvm with Ubuntu 18.04 guest

Node 12 work correct.

@addaleax
Copy link
Member

addaleax commented Apr 3, 2020

The report here does not provide enough information to verify, but can you check if this is the same as #32553? How do things go with the binary linked in #32553 (comment)?

@findoff
Copy link
Author

findoff commented Apr 3, 2020

Yes, patch helps.
My old CPU be near to meltdown, but after rebuilding with patch error is gone.
Thanks you!

@findoff findoff closed this as completed Apr 3, 2020
@addaleax addaleax added duplicate Issues and PRs that are duplicates of other issues or PRs. zlib Issues and PRs related to the zlib subsystem. labels Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs. zlib Issues and PRs related to the zlib subsystem.
Projects
None yet
Development

No branches or pull requests

2 participants