SIGILL with latest farmhash
See original GitHub issueAfter updating to the latest 2.0.1
version, farmhash crashes for me in CentOS x64.
Details of system:
- OS: CentOS 7 x64
- Kernel: Linux 3.10.0-514.16.1.el7.x86_64
- Node.js version: 6.11.3
Small program that crashes (index.js
):
console.log('before require');
const farmhash = require('farmhash');
function main() {
console.log('before string');
const art = 'abc'.repeat(1000);
console.log('before hash');
const hash = farmhash.hash32(art);
console.log(hash);
}
main();
The above outputs:
node index.js
before require
before string
before hash
fish: “node index.js” terminated by signal SIGILL (Illegal instruction)
I tried this with a previous dot version of Node with the same results. The same code functions on my eOS (Ubuntu) x64 machine. Previous versions of farmhash worked on both.
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (10 by maintainers)
Top Results From Across the Web
What causes signal 'SIGILL'? - Stack Overflow
It means the CPU attempted to execute an instruction it didn't understand. This could be caused by corruption I guess, or maybe it's...
Read more >farmhash - npm
Node.js implementation of FarmHash, Google's family of very fast hash functions. Latest version: 3.2.2, last published: a year ago.
Read more >tensorflow-on-arm - Bountysource
Hi , I have issues when I use the command below I am using python version 3.8.5 # docker build -t tf-arm -f...
Read more >Untitled
New world record freefall, 2k13 baseball game, Istanbul zeytinburnu go kart, ... link fence drag rake, Ua qualifier, Uc web sigill, Norconia qb...
Read more >Introducing FarmHash - Google Open Source Blog
Introducing FarmHash. Monday, March 31, 2014. We're pleased to announce the new FarmHash family of hash functions for strings. FarmHash is a successor...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lovell Thanks for taking the time to go hardcore instruction digging on this thing! It’s working like a champ on my box now!
@rbustami Please can you provide details of the platform (e.g. Windows, Linux) and CPU (e.g. the output of
cat /proc/cpuinfo
) you’re experiencing this with.