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

Node 7 build throws segmentation fault #86

Closed
ruimarinho opened this issue Sep 29, 2016 · 1 comment
Closed

Node 7 build throws segmentation fault #86

ruimarinho opened this issue Sep 29, 2016 · 1 comment

Comments

@ruimarinho
Copy link

ruimarinho commented Sep 29, 2016

Hi,

Using the node 7 nightlies, the build runs fine but a segmentation fault is thrown at runtime.

❯ npm i bignum
❯ node
> require('bignum')
dyld: lazy symbol binding failed: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEi
  Referenced from: /project/node_modules/bignum/binding/bignum.node
  Expected in: flat namespace

dyld: Symbol not found: __ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEi
  Referenced from: /project/node_modules/bignum/binding/bignum.node
  Expected in: flat namespace

[1]    78372 segmentation fault  node

node-pre-gyp is able to download a pre compiled version from remote. Maybe that's where the problem lies.

@ruimarinho
Copy link
Author

This has been fixed by the merge of nodejs/node#8808. It now falls back to source compile with node-gyp.

node-pre-gyp ERR! Tried to download: https://rvagg-node.s3-us-west-2.amazonaws.com/bignum/v0.12.5/bignum-v0.12.5-node-v51-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v51 ABI) (falling back to source compile with node-gyp)

It still generates several (harmless) deprecation logs, but that's expected with the ABI changes. Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant