GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — illegal hardware instruction (core dumped) on importing gcloud · Issue #425 · googleapis/google-cloud-node

illegal hardware instruction (core dumped) on importing gcloud #425

New issue
Copy link
New issue
Copy link
Closed
#488
Closed
illegal hardware instruction (core dumped) on importing gcloud#425
#488
Copy link
Assignees
ryanseys
Labels
🚨This issue needs some love.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
Milestone
Core Stable

Description

@wingedrhino
wingedrhino
opened on Mar 4, 2015
Issue body actions

I have a laptop running a Penryn CPU (Intel T4400), Fedora 21 x86_64 and Node.js installed from the official repositories (currently v0.10.33).

The only line of code in my app is:

var gcloud = require('gcloud');

And this happens:

zsh: illegal hardware instruction (core dumped)  node gcloud.js

PS: This is different from #424 because it happens on a different machine. Infact #424 happened after I attempted to run the code on a different machine (i.e, google compute cloud).

Activity

Next
  1. ryanseys commented on Mar 4, 2015

    @ryanseys
    ryanseys
    on Mar 4, 2015
    Contributor
    More actions

    Hmm, strange. Have you seen this error before with other modules? I've heard of this issue happening with strange hardware like Raspberry Pis. Considering I don't have access to your hardware, which looks like the issue here, I'd suggest compiling NodeJS from source if you can, preferably the latest version (0.12.0) and if you cannot do that I'd look into whether https://github.com/Voxer/sse4_crc32 (a library we use in this module) is the culprit here. Perhaps try installing and using that module on its own and seeing if you run into any issues similar to the one you've listed here.

    Edit: Another library worth messing with: https://github.com/broofa/node-uuid

  2. wingedrhino commented on Mar 5, 2015

    @wingedrhino
    wingedrhino
    on Mar 5, 2015
    Author
    More actions

    Looks like this happened because of sse4_crc32.

    Setup:

    npm install sse4_crc32

    Script

    console.log('Importing sse4_crc32');
    var SSE4CRC32 = require("sse4_crc32");
    console.log('invoking sse4');
    var output = SSE4CRC32.calculate("my string");
    console.log('invoked sse4. output below');
    console.log(output);
    console.log('end');

    Output

    Importing sse4_crc32
    invoking sse4
    zsh: illegal hardware instruction (core dumped)  node require-test.js

    Similar test with node-uuid created no problems.

    I raised an issue sse4_crc32's repository.

  3. ryanseys commented on Mar 17, 2015

    @ryanseys
    ryanseys
    on Mar 17, 2015
    Contributor
    More actions

    So sse4_crc32 3.0.0 now has software fallback so maybe we should use it instead of the fast-crc library. Might not eliminate this issue but will help reduce the number of layers between our library and the library at hand.

  4. ryanseys commented on Mar 18, 2015

    @ryanseys
    ryanseys
    on Mar 18, 2015
    Contributor
    More actions

    Flawed fallback detection filed here: https://github.com/Voxer/sse4_crc32/issues/24

  5. anandsuresh commented on Apr 2, 2015

    @anandsuresh
    anandsuresh
    on Apr 2, 2015
    Contributor
    More actions

    @ryanseys SSE4_CRC32 release v3.1.0 fixes hardware detection issues. I've tested it on my macbook and our SmartOS boxes and it works just fine. Feel free to upgrade your dependencies and try again.

  6. ryanseys
    closed this as completedin #488on Apr 28, 2015
  7. ryanseys commented on Apr 29, 2015

    @ryanseys
    ryanseys
    on Apr 29, 2015
    Contributor
    More actions

    @mahtuag Can you confirm that the latest version in master no longer gives you the illegal hardware instruction (core dumped) issue? Thanks!

  8. wingedrhino commented on May 3, 2015

    @wingedrhino
    wingedrhino
    on May 3, 2015
    Author
    More actions

    @ryanseys Sorry about the delay. Issue is still reproducible.

  9. anandsuresh commented on May 3, 2015

    @anandsuresh
    anandsuresh
    on May 3, 2015
    Contributor
    More actions

    @mahtuag I'm guessing you're compiling using GCC since you're running Linux. What version of the compiler are you using?

    Also, can you please paste the build log in this thread?

    Thanks

  10. ryanseys commented on May 3, 2015

    @ryanseys
    ryanseys
    on May 3, 2015
    Contributor
    More actions

    You can rebuild your dependencies using npm rebuild.

  11. wingedrhino commented on May 5, 2015

    @wingedrhino
    wingedrhino
    on May 5, 2015
    Author
    More actions

    @anandsuresh @ryanseys rebuilding did not seem to help. Next I re-installed gcloud and it pulled in recent changes. Issue is gone now.

  12. anandsuresh commented on May 5, 2015

    @anandsuresh
    anandsuresh
    on May 5, 2015
    Contributor
    More actions

    Sweet. Good luck.
    On May 4, 2015 5:11 PM, "Gautham Thyagarajan" [email protected]
    wrote:

    @anandsuresh https://github.com/anandsuresh @ryanseys
    https://github.com/ryanseys rebuilding did not seem to help. Next I
    re-installed gcloud and it pulled in recent changes. Issue is gone now.

    —
    Reply to this email directly or view it on GitHub
    #425 (comment)
    .

  13. ofekd commented on May 11, 2015

    @ofekd
    ofekd
    on May 11, 2015
    More actions

    Happens here as well:

    > require('sse4_crc32')
    zsh: illegal hardware instruction (core dumped)  node
    

    I am running Arch linux, Node 0.12.2, Intel Core2Quad Q6600, latest gcloud.

    Thanks

  14. jgeewax
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on May 11, 2015
  15. jgeewax
    added this to the Core Stable milestone on May 11, 2015
  16. 34 remaining items

  17. GautamSharda
    added a commit that references this issue on Feb 2, 2026

    chore: release 3.0.2 (#425)

    533bc4b
  18. sofisl
    added a commit that references this issue on Feb 3, 2026

    chore: do not run CI on grpc-js (#425)

    24b5d8a
  19. GautamSharda
    added 2 commits that reference this issue on Feb 3, 2026

    chore: release 3.0.2 (#425)

    f2c97d5

    refactor: use explicit mocha imports (#425)

    7fb7d7e
  20. GautamSharda
    added a commit that references this issue on Feb 23, 2026

    refactor: use explicit mocha imports (#425)

    62ce09f
  21. sofisl
    added 2 commits that reference this issue on Feb 24, 2026

    chore: include build in eslintignore (#425)

    2097459

    Update kokoro config (#425)

    94d9221
  22. GautamSharda
    added 2 commits that reference this issue on Feb 25, 2026

    chore(deps): update dependency gapic-tools to ^0.4.0 (#425)

    1290888

    refactor: use explicit mocha imports (#425)

    cc66609
  23. sofisl
    added a commit that references this issue on Feb 26, 2026

    chore: use latest npm on Windows (#425)

    5ec35dc
  24. GautamSharda
    added a commit that references this issue on Mar 5, 2026

    chore(deps): update dependency google-proto-files to ^0.20.0 (#425)

    7c68668
  25. sofisl
    added a commit that references this issue on Mar 5, 2026

    chore: migrate code from googleapis/gcp-metadata (#53)

    fa9a454
  26. GautamSharda
    added 2 commits that reference this issue on Mar 11, 2026

    fix: add getSubscriberStub to synth file (#425)

    4d3e1ea

    build: updated kokoro config for coverage and release-please (#425)

    572ee6b
  27. thiyaguk09
    added a commit that references this issue on Mar 18, 2026

    Update kokoro config (googleapis#425)

    0a715a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @ryanseys
    ryanseys

Labels

🚨This issue needs some love.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    • Core Stable

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.