node-rsa icon indicating copy to clipboard operation
node-rsa copied to clipboard

crash

Open stevedekorte opened this issue 14 years ago • 2 comments

bash-3.2$ node

require('rsaBinding') { RsaKeypair: [Function: RsaKeypair] } require('rsaBinding').RsaKeypair() Assertion failed: (handle->InternalFieldCount() > 0), function Wrap, file ../src/node_object_wrap.h, line 62. Abort trap: 6

bash-3.2$ node --version v0.6.2

This is on OSX 10.7.2.

stevedekorte avatar Nov 23 '11 23:11 stevedekorte

I'm not sure why this fails so terminally - I'll see how I can avoid that happening.

The rsaBinding extension isn't intended to be used directly like that though - please see issue #3 for the various 0.6.x issues, which I believe are now fixed in branch 06x-compat - could you give that a go?

Thanks.

chrisa avatar Nov 24 '11 10:11 chrisa

Same issue here after a macports node upgrade to v0.7.12 (nodejs-devel).

There is this similar issue with a possible fix : https://github.com/kkaefer/node-cpp-modules/issues/2 https://github.com/kkaefer/node-cpp-modules/commit/bd9432026affafd8450ecfd9b49b7dc647b6d348

mgcrea avatar Jul 03 '12 13:07 mgcrea