TooTallNate / ref

Turn Buffer instances into "pointers"
http://tootallnate.github.com/ref
453 stars 141 forks source link

Problems with Node 4+ #63

Closed plitex closed 7 years ago

plitex commented 7 years ago

I have a node package using ffi, ref, ref-array and ref-struct to use a dynamic lib. It's already working with Node 0.10 and 0.12, but if I try to use Node 4, 5 or 6, when loading the lib it gives a segmentation fault error.

TooTallNate commented 7 years ago

Did you re-compile?

plitex commented 7 years ago

Yes, I've done a clean install using rm -rf node_modules && npm i. We are looking into the problem with the creators of the library to see if they have the same problem.

There is a FFI issue related to this.

TooTallNate commented 7 years ago

what lib are you trying to load?