question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SIGILL with latest farmhash

See original GitHub issue

After 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:closed
  • Created 6 years ago
  • Comments:17 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
NuSkoolercommented, Sep 30, 2017

@lovell Thanks for taking the time to go hardcore instruction digging on this thing! It’s working like a champ on my box now!

0reactions
lovellcommented, May 3, 2018

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found