Giter VIP home page Giter VIP logo

node-mcrypt's Introduction

This repository not in active maintain state. Please use cryptian library instead of this library.

node-mcrypt Build Status

MCrypt bindings for Node.js

Install

npm install mcrypt
var mcrypt = require('mcrypt');

There are 3 exposed common functions in the package. These functions are getAlgorithmNames(), getModeNames() and MCrypt() constructor function. Also there are some functions under the prototype of MCrypt() constructor function.

getAlgorithmNames() : Array

getAlgorithmNames() returns an array that contains available algorithm names.

var mcrypt = require('mcrypt');

var algos = mcrypt.getAlgorithmNames();
console.log(algos);

Expected result like that

[ 'cast-128', 'gost', 'rijndael-128', 'twofish', 'arcfour', 'cast-256', 'loki97', 'rijndael-192', 'saferplus', 'wake', 'blowfish-compat', 'des', 'rijndael-256', 'serpent', 'xtea', 'blowfish', 'enigma', 'rc2', 'tripledes' ]

getModeNames() : Array

getModeNames() returns an array that contains available mode names.

var mcrypt = require('mcrypt');

var algos = mcrypt.getModeNames();
console.log(algos);

Expected result like that

[ 'cbc', 'cfb', 'ctr', 'ecb', 'ncfb', 'nofb', 'ofb', 'stream' ]

MCrypt(algorithm, mode) : Object

MCrypt(algorithm, mode) is a constructor function to create object for cipher and decipher operations. algorithm is a required parameter and one of the values of array returned by getAlgorithmNames(). mode is required parameter and one of the values of array returned by getModeNames().

var MCrypt = require('mcrypt').MCrypt;

var desEcb = new MCrypt('des', 'ecb');

There are some prototype functions to make cipher decipher operations and to identify algorithm properties.

open(key [, iv])

We are need to open() with a key for decrypt() and encrypt() operations also we should set an iv if required by algorithm in other case iv is optional parameter. key and iv should be string or Buffer

var MCrypt = require('mcrypt').MCrypt;

var desEcb = new MCrypt('des', 'ecb');
desEcb.open('madepass'); // we are set the key

encrypt(plaintext) : Buffer

encrypt() returns a Buffer object that contains ciphertext of plaintext parameter. plaintext parameter should be string or Buffer

var MCrypt = require('mcrypt').MCrypt;

var desEcb = new MCrypt('des', 'ecb');
desEcb.open('madepass'); // we are set the key

var ciphertext = desEcb.encrypt('this is top secret message!');
console.log(ciphertext.toString('base64'));

Expected result like that

fkJnIgtiH8nsGDryyuIsmyf5vABMGStlpACfKCTifvA=

decrypt(ciphertext) : Buffer

decrypt() returns a Buffer object that contains plaintext of ciphertext parameter. ciphertext parameter should be Buffer

var MCrypt = require('mcrypt').MCrypt;

var desEcb = new MCrypt('des', 'ecb');
desEcb.open('madepass'); // we are set the key

var plaintext = desEcb.decrypt(new Buffer('fkJnIgtiH8nsGDryyuIsmyf5vABMGStlpACfKCTifvA=', 'base64'));
console.log(plaintext.toString());

Expected result like that

this is top secret message!

generateIv() : Buffer

generateIv() function generates IV randomly.

var MCrypt = require('mcrypt').MCrypt;

var blowfishCfb = new MCrypt('blowfish', 'cfb');
var iv = blowfishCfb.generateIv();

blowfishCfb.open('somekey', iv);

var ciphertext = blowfishCfb.encrypt('sometext');

console.log(Buffer.concat([iv, ciphertext]).toString('base64'));

validateKeySize(Boolean)

validateKeySize() is a function to disable or enable key size validation on open()

var mc = new MCrypt('blowfish', 'ecb');
mc.validateKeySize(false); // disable key size checking
mc.open('typeconfig.sys^_-');

validateIvSize(Boolean)

validateIvSize() is a function to disable or enable iv size validation on open()

var mc = new MCrypt('rijndael-256', 'cbc');
mc.validateIvSize(false); // disable iv size checking
mc.open('$verysec$retkey$', 'foobar');

selfTest() : Boolean

selfTest() is an utility function to make test algorithm internally and returns boolean value of status

var MCrypt = require('mcrypt').MCrypt;

var blowfishCfb = new MCrypt('blowfish', 'cfb');
console.log(blowfishCfb.selfTest());

isBlockAlgorithmMode() : Boolean

var MCrypt = require('mcrypt').MCrypt;

var blowfishCfb = new MCrypt('blowfish', 'cfb');
console.log(blowfishCfb.isBlockAlgorithmMode());

isBlockAlgorithm() : Boolean

var MCrypt = require('mcrypt').MCrypt;

var blowfishCfb = new MCrypt('blowfish', 'cfb');
console.log(blowfishCfb.isBlockAlgorithm());

isBlockMode() : Boolean

var MCrypt = require('mcrypt').MCrypt;

var blowfishCfb = new MCrypt('blowfish', 'cfb');
console.log(blowfishCfb.isBlockMode());

getBlockSize() : Number

var MCrypt = require('mcrypt').MCrypt;

var blowfishCfb = new MCrypt('blowfish', 'cfb');
console.log(blowfishCfb.getBlockSize());

getKeySize() : Number

var MCrypt = require('mcrypt').MCrypt;

var blowfishCfb = new MCrypt('blowfish', 'cfb');
console.log(blowfishCfb.getKeySize());

getSupportedKeySizes() : Array

var MCrypt = require('mcrypt').MCrypt;

var blowfishCfb = new MCrypt('blowfish', 'cfb');
console.log(blowfishCfb.getSupportedKeySizes());

getIvSize() : Number

var MCrypt = require('mcrypt').MCrypt;

var blowfishCfb = new MCrypt('blowfish', 'cfb');
console.log(blowfishCfb.getIvSize());

hasIv() : Boolean

var MCrypt = require('mcrypt').MCrypt;

var blowfishCfb = new MCrypt('blowfish', 'cfb');
console.log(blowfishCfb.hasIv());

getAlgorithmName() : String

var MCrypt = require('mcrypt').MCrypt;

var blowfishCfb = new MCrypt('blowfish', 'cfb');
console.log(blowfishCfb.getAlgorithmName());

getModeName() : String

var MCrypt = require('mcrypt').MCrypt;

var blowfishCfb = new MCrypt('blowfish', 'cfb');
console.log(blowfishCfb.getModeName());

node-mcrypt's People

Contributors

charles-logdirect avatar ignitenet-martynas avatar joeblynch avatar lcarsos avatar mohanjith avatar stephenkubovic avatar tugrul avatar vkongv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

node-mcrypt's Issues

Invalid key size error

Hi,
i have problem with this short sample i found on stackoverflow:

var mcrypt = require('mcrypt');

var bfEcb = new mcrypt.MCrypt('blowfish', 'ecb');

bfEcb.open('typeconfig.sys^_-');

var cipherText = new Buffer('2tGiKhSjSQEjoDNukf5BpfvwmdjBtA9kS1EaNPupESqheZ1TCr5ckEdWUvd+e51XWLUzdhBFNOBRrUB5jR64Pjf1VKvQ4dhcDk3Fdu4hyUoBSWfY053Rfd3fqpgZVggoKk4wvmNiCuEMEHxV3rGNKeFzOvP/P3O5gOF7HZYa2dgezizXSgnnD6mCp37OJXqHuAngr0pps/i9819O6FyKgu6t2AzwbWZkP2sXvH3OGRU6oj5DFTgiKGv1GbrM8mIrC7rlRdNgiJ9dyHrOAwqO+SVwzhhTWj1K//PoyyzDKUuqqUQ6AvJl7d1o5sHNzeNgJxhywMT9F10+gnliBxIg8gGSmzBqrgwUNZxltT4uEKz67u9eJi59a0HBBi/2+umzwOCHNA4jl1x0mv0MhYiX/A==', 'base64');

console.log(bfEcb.decrypt(cipherText).toString());

bfEcb.close();

When executing i get:
home/mstein/test.js:5
bfEcb.open('typeconfig.sys^_-');
^
TypeError: Invalid key size. You can determine key sizes using getSupportedKeySizes()
at Object. (/home/mstein/test.js:5:7)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:901:3

My environment is:
Ubuntu 13.04
mcrypt version is:
2.5.8-3.1

Any help appreciated ;-)
Best regards
Michael

Can't install on iojs 3.0

It works on iojs 2.5.
But it doesn't work on iojs 3.0.
error is following.

> [email protected] install /Users/ryan/air-closet/air-closet-console/node_modules/mcrypt
> node-gyp rebuild --release

  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/3-way.o
In file included from ../lib/libmcrypt/modules/algorithms/3-way.c:14:
../lib/libmcrypt/lib/libdefs.h:55:11: fatal error: 'endian.h' file not found
# include <endian.h>
          ^
1 error generated.
make: *** [Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/3-way.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/ryan/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 14.4.0
gyp ERR! command "/Users/ryan/.nvm/versions/io.js/v3.0.0/bin/iojs" "/Users/ryan/.nvm/versions/io.js/v3.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /Users/ryan/air-closet/air-closet-console/node_modules/mcrypt
gyp ERR! node -v v3.0.0
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok 
npm ERR! Darwin 14.4.0
npm ERR! argv "/Users/ryan/.nvm/versions/io.js/v3.0.0/bin/iojs" "/Users/ryan/.nvm/versions/io.js/v3.0.0/bin/npm" "install" "--save" "mcrypt"
npm ERR! node v3.0.0
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild --release`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild --release'.
npm ERR! This is most likely a problem with the mcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild --release
npm ERR! You can get their info via:
npm ERR!     npm owner ls mcrypt
npm ERR! There is likely additional logging output above.

Are there any solution?

decrypt text encrypted through php encrypt

We are re-writing our php app to node js app and trying to decrypt the password which is encrypted using php encrypt by twofish.

$this->load->library('encrypt'); 
$this->encrypt->set_cipher(MCRYPT_TWOFISH); 
$encodedPass = $this->encrypt->encode($_POST['password']);

Mode defaulted to cbc.

Here is my decrypt code using in node js:

        var ivAndCiphertext = new Buffer(ENCRYPTED_PASSWORD, 'base64');
        var twofishCbc = new MCrypt('twofish', 'cbc');
        var ivSize = twofishCbc.getIvSize();
        var iv = new Buffer(ivSize);
        var cipherText = new Buffer(ivAndCiphertext.length - ivSize);

        ivAndCiphertext.copy(iv, 0, 0, ivSize);
        ivAndCiphertext.copy(cipherText, 0, ivSize);

        twofishCbc.open('somekey', iv);

        console.log(twofishCbc.decrypt(cipherText).toString());

I am stuck here. Could you please help me how to decrypt using mcrypt library.

Keeps crashing on CentOS

It just keeps crashing on centOS. when on the line to decrypt. Could it be a missing library? I only installed libmcrypt-devel, can't find libmcrypt4 in centos.

node-gyp rebuild error

sudo npm i mcrypt -g --python=/usr/bin/python2.6

[email protected] install /usr/local/lib/node_modules/mcrypt
node-gyp rebuild --release

CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/3-way.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/arcfour.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/blowfish.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/blowfish-compat.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/cast-128.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/cast-256.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/des.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/enigma.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/gost.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/loki97.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/panama.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/rc2.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/rijndael-128.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/rijndael-192.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/rijndael-256.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/safer64.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/safer128.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/saferplus.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/serpent.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/tripledes.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/twofish.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/wake.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/xtea.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/cbc.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/cfb.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/ctr.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/ecb.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/ncfb.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/nofb.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/ofb.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/stream.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/bzero.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/mcrypt.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/mcrypt_extra.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/mcrypt_modules.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/mcrypt_symb.o
CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/xmemory.o
LIBTOOL-STATIC Release/mcrypt.a
Traceback (most recent call last):
File "./gyp-mac-tool", line 611, in
sys.exit(main(sys.argv[1:]))
File "./gyp-mac-tool", line 28, in main
exit_code = executor.Dispatch(args)
File "./gyp-mac-tool", line 43, in Dispatch
return getattr(self, method)(args[1:])
File "./gyp-mac-tool", line 246, in ExecFilterLibtool
if not libtool_re.match(line) and not libtool_re5.match(line):
TypeError: can't use a string pattern on a bytes-like object
make: *
* [Release/mcrypt.a] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Darwin 15.6.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /usr/local/lib/node_modules/mcrypt
gyp ERR! node -v v5.10.1
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "mcrypt" "-g" "--python=/usr/bin/python2.6"
npm ERR! node v5.10.1
npm ERR! npm v3.8.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild --release
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild --release'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild --release
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs mcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls mcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/User1/npm-debug.log


OSX 10.11.6
➜ ~ node -v
v5.10.1
➜ ~ npm -v
3.8.3

Slight difference in ciphertext between node and php

Hi,

There is a slight difference towards the end when using php-mcrypt and node-mcrypt
I'm using aes(rjindael)-128, ecb mode. (Base64 encoded)

PHP Ciphertext :
CbG0ejjpHv11tLbkGU7Tko1AMW+R7wuFyT6iO07klAoXbV46jDtAF6b9lBASaVdyf2A9dCVc/zAP0hrXOewMqaeI1hmyQHtGZgFUnZlUVH8=

Node-Mcrypt ciphertext :
CbG0ejjpHv11tLbkGU7Tko1AMW+R7wuFyT6iO07klAoXbV46jDtAF6b9lBASaVdyf2A9dCVc/zAP0hrXOewMqXT3y9zfxTXPagYN1UQ0Up0=

It seems to be mostly identical except for the last part, i.e.
aeI1hmyQHtGZgFUnZlUVH8= and XT3y9zfxTXPagYN1UQ0Up0=

Any suggestions ?

Can't build under mac os 10.10.4 & Node 0.12.7

Node 0.12.7
Npm 2.11.3

brew install mcrypt

==> Downloading https://homebrew.bintray.com/bottles/mcrypt-2.6.8.yosemite.bottle.1.tar.gz
==> Pouring mcrypt-2.6.8.yosemite.bottle.1.tar.gz
🍺  /usr/local/Cellar/mcrypt/2.6.8: 15 files, 448K

npm i mcrypt

npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
\
[email protected] install node_modules/mcrypt
node-gyp rebuild --release
  CXX(target) Release/obj.target/mcrypt/src/mcrypt.o
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:10:10: error: 'mcrypt.h' file not found with <angled> include; use "quotes" instead
#include <mcrypt.h>
         ^~~~~~~~~~
         "mcrypt.h"

And build failed.

How to fix:

cat binding.gyp

{
    "targets": [
        {
            "target_name": "mcrypt",
            "sources": [
                "src/mcrypt.cc"
            ],
            "include_dirs": [
                "/usr/include/",
                "/usr/local/include",
                "/opt/local/include/",
                "/usr/local/Cellar/mcrypt/",
                "<!(node -e \"require('nan')\")"
            ],
            "link_settings": {
                "libraries": [
                    "-lmcrypt",
                    "-L/opt/local/lib/ -L/usr/local/lib",
                ]
            }
        }
    ]
}

I am added include dir /usr/local/include and -L/usr/local/lib - and build success.
Please fix.

IV length error with AES (Rijndael) 256

Hello,

I just tried to decrypt a 64 bytes buffer using mcrypt with NodeJS. I supplied a 32 bytes key length and a 16 bytes IV length but there is an error saying that the IV length is incorrect.

Here is my code:
var crypto = require('mcrypt').MCrypt;

function decrypt( data, key, iv, len )
{
console.log('Deciphering a buffer of size ' + len + ' bytes');
var aes = new crypto('rijndael-256', 'cbc');
aes.open(key, iv);
return aes.decrypt(data);
}

I've checked many discussion and AES-256 CBC needs a 16 bytes IV, not a 32 bytes IV.

Failing npm install

Using Node 0.12.7

npm install fails with the following errors:

../src/mcrypt.cc:526:5: error: call to 'SetMethod' is ambiguous
    Nan::SetMethod(exports, "getAlgorithmNames", GetAlgorithmNames);
    ^~~~~~~~~~~~~~
../node_modules/nan/nan.h:1853:17: note: candidate function
NAN_INLINE void SetMethod(
                ^
../node_modules/nan/nan.h:1865:17: note: candidate function
NAN_INLINE void SetMethod(
                ^
../node_modules/nan/nan.h:1876:17: note: candidate function
NAN_INLINE void SetMethod(
                ^
../src/mcrypt.cc:527:5: error: call to 'SetMethod' is ambiguous
    Nan::SetMethod(exports, "getModeNames", GetModeNames);
    ^~~~~~~~~~~~~~
../node_modules/nan/nan.h:1853:17: note: candidate function
NAN_INLINE void SetMethod(
                ^
../node_modules/nan/nan.h:1865:17: note: candidate function
NAN_INLINE void SetMethod(
                ^
../node_modules/nan/nan.h:1876:17: note: candidate function
NAN_INLINE void SetMethod(
                ^

I noticed that nan recently published a new version. Could be related?

Getting v8 stack dump as soon as lib is required

As soon as I require('mcrypt'), I get this giant dump in my console:

(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,exports=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,require=0x3bc7cd76db91 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#23#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,__filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,__dirname=0x3bc7cd76dcf1 <String[34]: /usr/lib/node_modules/node-dev/lib>)
   31: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,content=0x3bc7cd76e741 <Very long string[2345]>#24#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   32: /* anonymous */ [module.js:~548] [pc=0x20a5bfe48cab] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   33: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   34: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   35: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76f0a9 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,parent=0x2c24d5504101 <null>,isMain=0x2c24d5504231 <true>)
   36: runMain [module.js:575] [pc=0x20a5bfe4288a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#)
   37: startup(aka startup) [node.js:160] [pc=0x20a5bfd408c9] (this=0x2c24d5504189 <undefined>)
   38: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x20a5bfd3e523] (this=0x2c24d5504101 <null>,process=0x2c24d55e1d29 <a process with map 0x101ea2462199>#25#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,exports=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,require=0x3bc7cd76db91 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#23#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,__filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,__dirname=0x3bc7cd76dcf1 <String[34]: /usr/lib/node_modules/node-dev/lib>)
   31: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,content=0x3bc7cd76e741 <Very long string[2345]>#24#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   32: /* anonymous */ [module.js:~548] [pc=0x20a5bfe48cab] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   33: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   34: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   35: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76f0a9 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,parent=0x2c24d5504101 <null>,isMain=0x2c24d5504231 <true>)
   36: runMain [module.js:575] [pc=0x20a5bfe4288a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#)
   37: startup(aka startup) [node.js:160] [pc=0x20a5bfd408c9] (this=0x2c24d5504189 <undefined>)
   38: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x20a5bfd3e523] (this=0x2c24d5504101 <null>,process=0x2c24d55e1d29 <a process with map 0x101ea2462199>#25#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,exports=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,require=0x3bc7cd76db91 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#23#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,__filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,__dirname=0x3bc7cd76dcf1 <String[34]: /usr/lib/node_modules/node-dev/lib>)
   31: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,content=0x3bc7cd76e741 <Very long string[2345]>#24#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   32: /* anonymous */ [module.js:~548] [pc=0x20a5bfe48cab] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   33: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   34: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   35: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76f0a9 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,parent=0x2c24d5504101 <null>,isMain=0x2c24d5504231 <true>)
   36: runMain [module.js:575] [pc=0x20a5bfe4288a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#)
   37: startup(aka startup) [node.js:160] [pc=0x20a5bfd408c9] (this=0x2c24d5504189 <undefined>)
   38: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x20a5bfd3e523] (this=0x2c24d5504101 <null>,process=0x2c24d55e1d29 <a process with map 0x101ea2462199>#25#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,exports=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,require=0x3bc7cd76db91 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#23#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,__filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,__dirname=0x3bc7cd76dcf1 <String[34]: /usr/lib/node_modules/node-dev/lib>)
   31: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,content=0x3bc7cd76e741 <Very long string[2345]>#24#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   32: /* anonymous */ [module.js:~548] [pc=0x20a5bfe48cab] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   33: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   34: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   35: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76f0a9 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,parent=0x2c24d5504101 <null>,isMain=0x2c24d5504231 <true>)
   36: runMain [module.js:575] [pc=0x20a5bfe4288a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#)
   37: startup(aka startup) [node.js:160] [pc=0x20a5bfd408c9] (this=0x2c24d5504189 <undefined>)
   38: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x20a5bfd3e523] (this=0x2c24d5504101 <null>,process=0x2c24d55e1d29 <a process with map 0x101ea2462199>#25#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,exports=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,require=0x3bc7cd76db91 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#23#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,__filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,__dirname=0x3bc7cd76dcf1 <String[34]: /usr/lib/node_modules/node-dev/lib>)
   31: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,content=0x3bc7cd76e741 <Very long string[2345]>#24#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   32: /* anonymous */ [module.js:~548] [pc=0x20a5bfe48cab] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   33: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   34: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   35: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76f0a9 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,parent=0x2c24d5504101 <null>,isMain=0x2c24d5504231 <true>)
   36: runMain [module.js:575] [pc=0x20a5bfe4288a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#)
   37: startup(aka startup) [node.js:160] [pc=0x20a5bfd408c9] (this=0x2c24d5504189 <undefined>)
   38: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x20a5bfd3e523] (this=0x2c24d5504101 <null>,process=0x2c24d55e1d29 <a process with map 0x101ea2462199>#25#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,exports=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,require=0x3bc7cd76db91 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#23#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,__filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,__dirname=0x3bc7cd76dcf1 <String[34]: /usr/lib/node_modules/node-dev/lib>)
   31: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,content=0x3bc7cd76e741 <Very long string[2345]>#24#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   32: /* anonymous */ [module.js:~548] [pc=0x20a5bfe48cab] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   33: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   34: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   35: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76f0a9 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,parent=0x2c24d5504101 <null>,isMain=0x2c24d5504231 <true>)
   36: runMain [module.js:575] [pc=0x20a5bfe4288a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#)
   37: startup(aka startup) [node.js:160] [pc=0x20a5bfd408c9] (this=0x2c24d5504189 <undefined>)
   38: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x20a5bfd3e523] (this=0x2c24d5504101 <null>,process=0x2c24d55e1d29 <a process with map 0x101ea2462199>#25#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,exports=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,require=0x3bc7cd76db91 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#23#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,__filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,__dirname=0x3bc7cd76dcf1 <String[34]: /usr/lib/node_modules/node-dev/lib>)
   31: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,content=0x3bc7cd76e741 <Very long string[2345]>#24#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   32: /* anonymous */ [module.js:~548] [pc=0x20a5bfe48cab] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   33: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   34: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   35: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76f0a9 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,parent=0x2c24d5504101 <null>,isMain=0x2c24d5504231 <true>)
   36: runMain [module.js:575] [pc=0x20a5bfe4288a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#)
   37: startup(aka startup) [node.js:160] [pc=0x20a5bfd408c9] (this=0x2c24d5504189 <undefined>)
   38: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x20a5bfd3e523] (this=0x2c24d5504101 <null>,process=0x2c24d55e1d29 <a process with map 0x101ea2462199>#25#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,exports=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,require=0x3bc7cd76db91 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#23#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,__filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,__dirname=0x3bc7cd76dcf1 <String[34]: /usr/lib/node_modules/node-dev/lib>)
   31: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,content=0x3bc7cd76e741 <Very long string[2345]>#24#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   32: /* anonymous */ [module.js:~548] [pc=0x20a5bfe48cab] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   33: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   34: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   35: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76f0a9 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,parent=0x2c24d5504101 <null>,isMain=0x2c24d5504231 <true>)
   36: runMain [module.js:575] [pc=0x20a5bfe4288a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#)
   37: startup(aka startup) [node.js:160] [pc=0x20a5bfd408c9] (this=0x2c24d5504189 <undefined>)
   38: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x20a5bfd3e523] (this=0x2c24d5504101 <null>,process=0x2c24d55e1d29 <a process with map 0x101ea2462199>#25#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,exports=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,require=0x3bc7cd76db91 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#23#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,__filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,__dirname=0x3bc7cd76dcf1 <String[34]: /usr/lib/node_modules/node-dev/lib>)
   31: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,content=0x3bc7cd76e741 <Very long string[2345]>#24#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   32: /* anonymous */ [module.js:~548] [pc=0x20a5bfe48cab] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   33: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   34: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   35: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76f0a9 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,parent=0x2c24d5504101 <null>,isMain=0x2c24d5504231 <true>)
   36: runMain [module.js:575] [pc=0x20a5bfe4288a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#)
   37: startup(aka startup) [node.js:160] [pc=0x20a5bfd408c9] (this=0x2c24d5504189 <undefined>)
   38: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x20a5bfd3e523] (this=0x2c24d5504101 <null>,process=0x2c24d55e1d29 <a process with map 0x101ea2462199>#25#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,exports=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,require=0x3bc7cd76db91 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#23#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,__filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,__dirname=0x3bc7cd76dcf1 <String[34]: /usr/lib/node_modules/node-dev/lib>)
   31: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,content=0x3bc7cd76e741 <Very long string[2345]>#24#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   32: /* anonymous */ [module.js:~548] [pc=0x20a5bfe48cab] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   33: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   34: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   35: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76f0a9 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,parent=0x2c24d5504101 <null>,isMain=0x2c24d5504231 <true>)
   36: runMain [module.js:575] [pc=0x20a5bfe4288a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#)
   37: startup(aka startup) [node.js:160] [pc=0x20a5bfd408c9] (this=0x2c24d5504189 <undefined>)
   38: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x20a5bfd3e523] (this=0x2c24d5504101 <null>,process=0x2c24d55e1d29 <a process with map 0x101ea2462199>#25#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,exports=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,require=0x3bc7cd76db91 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#23#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,__filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,__dirname=0x3bc7cd76dcf1 <String[34]: /usr/lib/node_modules/node-dev/lib>)
   31: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,content=0x3bc7cd76e741 <Very long string[2345]>#24#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   32: /* anonymous */ [module.js:~548] [pc=0x20a5bfe48cab] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   33: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   34: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   35: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76f0a9 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,parent=0x2c24d5504101 <null>,isMain=0x2c24d5504231 <true>)
   36: runMain [module.js:575] [pc=0x20a5bfe4288a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#)
   37: startup(aka startup) [node.js:160] [pc=0x20a5bfd408c9] (this=0x2c24d5504189 <undefined>)
   38: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x20a5bfd3e523] (this=0x2c24d5504101 <null>,process=0x2c24d55e1d29 <a process with map 0x101ea2462199>#25#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,exports=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22#,require=0x3bc7cd76db91 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#23#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,__filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,__dirname=0x3bc7cd76dcf1 <String[34]: /usr/lib/node_modules/node-dev/lib>)
   31: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,content=0x3bc7cd76e741 <Very long string[2345]>#24#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   32: /* anonymous */ [module.js:~548] [pc=0x20a5bfe48cab] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   33: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   34: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,filename=0x3bc7cd76dd19 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>)
   35: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76f0a9 <String[42]: /usr/lib/node_modules/node-dev/lib/wrap.js>,parent=0x2c24d5504101 <null>,isMain=0x2c24d5504231 <true>)
   36: runMain [module.js:575] [pc=0x20a5bfe4288a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#)
   37: startup(aka startup) [node.js:160] [pc=0x20a5bfd408c9] (this=0x2c24d5504189 <undefined>)
   38: /* anonymous */(aka /* anonymous */) [node.js:449] [pc=0x20a5bfd3e523] (this=0x2c24d5504101 <null>,process=0x2c24d55e1d29 <a process with map 0x101ea2462199>#25#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2c24d55c9e59 <JS Object>#0#
    1: /* anonymous */(aka /* anonymous */) [module.js:568] [pc=0x20a5c01553e4] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    2: .node(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    3: load [module.js:~449] [pc=0x20a5c0118f56] (this=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    4: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x182f8b6e4db1 <a Module with map 0x101ea24b0d19>#1#,filename=0x182f8b6e4d51 <String[66]: /home/mpenner/wxgqls/node_modules/mcrypt/build/Release/mcrypt.node>)
    5: _load [module.js:~383] [pc=0x20a5c00d3b3a] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x60b769c6c09 <String[6]: mcrypt>,parent=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,isMain=0x2c24d5504299 <false>)
    6: require [module.js:~465] [pc=0x20a5bfe8852b] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,path=0x60b769c6c09 <String[6]: mcrypt>)
    7: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x60b769c6c09 <String[6]: mcrypt>)
    8: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:273] [pc=0x20a5c0155221] (this=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#,module=0x182f8b6dfc31 <an Object with map 0x101ea2427db1>#6#,exports=0x182f8b6dfc71 <an Object with map 0x3167bce07b71>#5#)
    9: arguments adaptor frame: 3->2
   10: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=24)
   11: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:237] [pc=0x20a5c0127fcf] (this=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,module=0x182f8b514469 <an Object with map 0x101ea2427db1>#9#,exports=0x182f8b5144a9 <an Object with map 0x8d7e1705079>#8#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   12: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=20)
   13: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:228] [pc=0x20a5c012722d] (this=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,module=0x182f8b5140b9 <an Object with map 0x101ea2427db1>#12#,exports=0x182f8b5140f9 <an Object with map 0x101ea247c601>#11#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   14: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=19)
   15: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:200] [pc=0x20a5c006be12] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__dirname=0x60b769c62c1 <String[10]: src/graphi>)
   16: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:201] [pc=0x20a5c006c780] (this=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,module=0x14d4150be31 <an Object with map 0x101ea2427db1>#14#,exports=0x14d4150bdc1 <an Object with map 0x3167bce07b71>#13#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   17: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=16)
   18: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:54] [pc=0x20a5bfe67eeb] (this=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,module=0x3bc7cd711ae1 <an Object with map 0x101ea2427db1>#16#,exports=0x3bc7cd711aa9 <an Object with map 0x3167bce07b71>#15#,__webpack_require__=0x3bc7cd7119d1 <JS Function __webpack_require__ (SharedFunctionInfo 0x60b769ca261)>#10#)
   19: __webpack_require__ [/home/mpenner/wxgqls/bin/graphi.js:21] [pc=0x20a5bfe67c0e] (this=0x2c24d55e5bf9 <JS Global Object>#7#,moduleId=0)
   20: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:41] [pc=0x20a5bfe66be1] (this=0x2c24d55e5bf9 <JS Global Object>#7#,modules=0x3bc7cd711b59 <JS Array[52]>#17#)
   21: /* anonymous */ [/home/mpenner/wxgqls/bin/graphi.js:44] [pc=0x20a5bfe67789] (this=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,exports=0x3bc7cd711c29 <an Object with map 0x3167bce07b71>#18#,require=0x3bc7cd7118a1 <JS Function require (SharedFunctionInfo 0x60b7698ca59)>#19#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,__filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,__dirname=0x3bc7cd711bc1 <String[24]: /home/mpenner/wxgqls/bin>)
   22: _compile [module.js:541] [pc=0x20a5bfe4e4b0] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,content=0x3bc7cd73fbb1 <Very long string[188117]>#20#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   23: /* anonymous */(aka /* anonymous */) [module.js:~548] [pc=0x20a5bfe48cab] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   24: .js(aka nodeDevHook) [/usr/lib/node_modules/node-dev/lib/hook.js:58] [pc=0x20a5bfe63749] (this=0x3bc7cd70d131 <an Object with map 0x101ea2427049>#2#,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   25: load [module.js:~449] [pc=0x20a5bfe476b2] (this=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   26: tryModuleLoad(aka tryModuleLoad) [module.js:417] [pc=0x20a5bfe471dd] (this=0x2c24d5504189 <undefined>,module=0x3bc7cd711811 <a Module with map 0x101ea24b0d19>#4#,filename=0x3bc7cd711be9 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   27: _load [module.js:~383] [pc=0x20a5bfe42dc2] (this=0x2b72a5a590f9 <JS Function Module (SharedFunctionInfo 0x60b7695ab89)>#3#,request=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>,parent=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,isMain=0x2c24d5504299 <false>)
   28: require [module.js:~465] [pc=0x20a5bfe4fa53] (this=0x3bc7cd76dac1 <a Module with deprecated map 0x101ea24233c9>#21#,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   29: require(aka require) [internal/module.js:20] [pc=0x20a5bfe4f786] (this=0x2c24d5504189 <undefined>,path=0x3bc7cd76db11 <String[34]: /home/mpenner/wxgqls/bin/graphi.js>)
   30: /* anonymous */ [/usr/lib/node_modules/node-dev/lib/wrap.js:73] [pc=0x20a5bfe4f254] (this=0x3bc7cd76dd61 <an Object with map 0x3167bce07b71>#22 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: MCrypt::Init(v8::Local<v8::Object>)
 3: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 5: 0x9a32ca
 6: 0x9a36dc
 7: 0x20a5bfd0961b

This is happening with Node 6.2. The library actually seems to work after this, but the error/warning is not nice.

Wrong encryption with cyrillic letters.

var desEcb = new (require('mcrypt').MCrypt)('des', 'ecb'),
    message = 'Проверка! Привет, друзья, как дела ваши? Чем занимаетесь?',
    key = '1234qwer',
    encrypted,
    decrypted;

desEcb.open(key);
encrypted = desEcb.encrypt(message);
decrypted = desEcb.decrypt(encrypted);

console.log(decrypted.toString());

Won't output the source message. This will come out:
�@>25@:0! �@825B, 4@C7LO, :0: 45;0 20H8? '5< 70=8<05B5AL?

But when I receive a message encrypted with cyrillic letters on the other side

desEcb.decrypt(encrypted);

It works just fine.

centos build error

make: *** [Release/obj.target/mcrypt/src/mcrypt.o] Error 1
make: Leaving directory `/data/www/bbs/h5web/node_modules/mcrypt/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 2.6.32-504.12.2.el6.x86_64
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /data/www/bbs/h5web/node_modules/mcrypt
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok 
npm ERR! Linux 2.6.32-504.12.2.el6.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.2
npm ERR! npm  v2.7.4
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild --release`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild --release'.
npm ERR! This is most likely a problem with the mcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild --release
npm ERR! You can get their info via:
npm ERR!     npm owner ls mcrypt
npm ERR! There is likely additional logging output above.

Doesn't build on windows

Trying to install this extension on windows fails with this error:

..\src\mcrypt.cc(7): fatal error C1083: Cannot open include file: 'mcrypt.h': No such file or directory [**********\node_modules\mcrypt\build\mcrypt.vcxproj]

Any ideas on how to fix that?

Can't install on ubuntu 14.04 LTS

Hi,
I'm trying to install mcrypt, with following configuration.

ubuntu 14.04 LTS
node : 0.12.7
npm  : 2.11.3

Getting error like this when i tried to install mcrypt.

> npm install mcrypt
> [email protected] install /home/project/project/code/testing_app/mcrypt-demo/express/node_modules/mcrypt
> node-gyp rebuild --release
> make: Entering directory `/home/project/project/code/testing_app/mcrypt-demo/express/node_modules/mcrypt/build'
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/3-way.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/arcfour.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/blowfish.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/blowfish-compat.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/cast-128.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/cast-256.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/des.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/enigma.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/gost.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/loki97.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/panama.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/rc2.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/rijndael-128.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/rijndael-192.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/rijndael-256.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/safer64.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/safer128.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/saferplus.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/serpent.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/tripledes.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/twofish.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/wake.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/xtea.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/cbc.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/cfb.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/ctr.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/ecb.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/ncfb.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/nofb.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/ofb.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/stream.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/bzero.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/mcrypt.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/mcrypt_extra.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/mcrypt_modules.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/mcrypt_symb.o
  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/xmemory.o
  AR(target) Release/obj.target/lib/libmcrypt/mcrypt.a
  COPY Release/mcrypt.a
  CXX(target) Release/obj.target/mcrypt/src/mcrypt.o
make: g++: Command not found
make: *** [Release/obj.target/mcrypt/src/mcrypt.o] Error 127
make: Leaving directory `/home/project/project/code/testing_app/mcrypt-demo/express/node_modules/mcrypt/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/project/.nodejs/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.13.0-32-generic
gyp ERR! command "node" "/home/project/.nodejs/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /home/project/project/code/testing_app/mcrypt-demo/express/node_modules/mcrypt
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok 
npm ERR! Linux 3.13.0-32-generic
npm ERR! argv "/home/project/.nodejs/bin/node" "/home/project/.nodejs/bin/npm" "install" "mcrypt"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild --release`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild --release'.
npm ERR! This is most likely a problem with the mcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild --release
npm ERR! You can get their info via:
npm ERR!     npm owner ls mcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/project/project/code/testing_app/mcrypt-demo/express/npm-debug.log

Attempting to use...

Hi I'm attempting to use this module, however I cannot seem to get it to work right. I've created a gist that attempts to encrypt a message using the node-mcrypt module and also through the php mcrypt_encrypt function. Hopefully I'm just missing something.

https://gist.github.com/scull7/6911294

Thank you for creating this module and taking the time to look at my issue.

Unable to Install mcrypt locally without sudo

Node Version: 6.0.0.
NPM Version: 3.8.6
OS: CentOS release 6.7 (Final)

When running npm install mcrypt I get a lot of C/C++ errors for the nan module.

The very first error is:

AR(target) Release/obj.target/lib/libmcrypt/mcrypt.a
  COPY Release/mcrypt.a
  CXX(target) Release/obj.target/mcrypt/src/mcrypt.o
In file included from ../src/mcrypt.h:9,
                 from ../src/mcrypt.cc:3:
../../nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler

Then at the bottom of the output:

make: *** [Release/obj.target/mcrypt/src/mcrypt.o] Error 1
make: Leaving directory `/home/vagrant/testNodeProject/node_modules/mcrypt/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Linux 2.6.32-573.el6.x86_64
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /home/vagrant/testNodeProject/node_modules/mcrypt
gyp ERR! node -v v6.0.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok 
npm WARN enoent ENOENT: no such file or directory, open '/home/vagrant/testNodeProject/package.json'
npm WARN testNodeProject No description
npm WARN testNodeProject No repository field.
npm WARN testNodeProject No README data
npm WARN testNodeProject No license field.
npm ERR! Linux 2.6.32-573.el6.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "mcrypt"
npm ERR! node v6.0.0
npm ERR! npm  v3.8.6
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild --release`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild --release'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild --release
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs mcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls mcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/vagrant/testNodeProject/npm-debug.log

If I run this with sudo it installs without errors. I am not doing a global install. I also cannot execute any script that I require the mcrypt module in without sudo either.

how can I convert des/ecb/nopadding written java into node use mcrypt

This is my ex:

var MCrypt = require('mcrypt').MCrypt;
var desEcb = new MCrypt('des', 'ecb');
desEcb.open('aa0de112'); // we are set the key
var ciphertext = desEcb.encrypt('62120907316962');
console.log(ciphertext.toString('base64'));

the result is +6QVWOfvKe1pzz6sFaZxPQ==

but in java i got +6QVWOfvKe3ZIf8QC7jklg==

can you help me fix this problom?

thanks a lot

Issue on install Ubuntu 14.04

Hi,

I'm trying to install [email protected], and I got this error:

npm install mcrypt
/
> [email protected] install /home/sylvainlap/DEV/WORKSPACE/mc/node_modules/mcrypt
> node-gyp rebuild --release

gyp: lib/libmcrypt/libmcrypt.gyp not found (cwd: /home/sylvainlap/DEV/WORKSPACE/mc/node_modules/mcrypt) while loading dependencies of binding.gyp while trying to load binding.gyp
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:355:16)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.16.0-50-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /home/sylvainlap/DEV/WORKSPACE/mc/node_modules/mcrypt
gyp ERR! node -v v4.2.1
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok 
npm ERR! Linux 3.16.0-50-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "mcrypt"
npm ERR! node v4.2.1
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild --release`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild --release'.
npm ERR! This is most likely a problem with the mcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild --release
npm ERR! You can get their info via:
npm ERR!     npm owner ls mcrypt
npm ERR! There is likely additional logging output above.

> [email protected] preuninstall /home/sylvainlap/DEV/WORKSPACE/mc/node_modules/mcrypt
> rm -rf build/*


npm ERR! Please include the following file with any support request:
npm ERR!     /home/sylvainlap/DEV/WORKSPACE/mc/npm-debug.log

My env is: node v4.2.1, node-gyp v3.0.3, npm v2.14.7
libmcrypt4 is installed

sudo apt-get install libmcrypt4 libmcrypt-dev
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
libmcrypt-dev est déjà la plus récente version disponible.
libmcrypt4 est déjà la plus récente version disponible.

decrypt a message encrypted in php

Hi. I have an Yii application using "rijndael-128", "ofb" with IV. The encrypted message is saved in mysql and read in a node.js application. I try to decrypt it. The message is stored in mysql as blob and node-mysql transform it in a Buffer. I do not change it. My algorithm is

let message = ....; //Buffer
let Decipher = new MCrypt("rijndael-128", "ofb");
let ivSize = Decipher.getIvSize();
let iv = message.slice(0, ivSize); //IV
Decipher.open(encryptionKey, iv); //encryptionKey is considered as password on Yii side
console.log(Decipher.decypher(message.slice(ivSize)); //decyper only the encrypted part, without IV
//the result printed by console.log is = "correct message" + "garbage"

How could I get rid of the garbage from the decrypted message?

Thank you

install error CentOs 6.8

I develop in Ubuntu 14.04 and install this module done.
But I install in CentOs 6.8 error. in this Os, I has install package:

  • libmcrypt
  • libmcrypt-devel
  • autoconf
  • automake
  • cmake
    -freetype-devel
  • gcc
  • gcc-c++
  • libtool
  • make
  • mercurial
  • nasm
  • pkgconfig
  • zlib-devel
  • devtoolset-2-gcc
  • devtoolset-2-binutils
  • devtoolset-2-gcc-c++

Detail error:

[email protected] install /home/tanmv/nodeapi/node_modules/mcrypt
node-gyp rebuild --release

make: Entering directory /home/tanmv/nodeapi/node_modules/mcrypt/build' CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/3-way.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/arcfour.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/blowfish.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/blowfish-compat.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/cast-128.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/cast-256.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/des.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/enigma.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/gost.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/loki97.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/panama.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/rc2.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/rijndael-128.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/rijndael-192.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/rijndael-256.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/safer64.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/safer128.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/saferplus.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/serpent.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/tripledes.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/twofish.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/wake.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/xtea.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/cbc.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/cfb.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/ctr.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/ecb.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/ncfb.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/nofb.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/ofb.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/modes/stream.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/bzero.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/mcrypt.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/mcrypt_extra.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/mcrypt_modules.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/mcrypt_symb.o CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/lib/xmemory.o AR(target) Release/obj.target/lib/libmcrypt/mcrypt.a COPY Release/mcrypt.a CXX(target) Release/obj.target/mcrypt/src/mcrypt.o In file included from ../src/mcrypt.h:9, from ../src/mcrypt.cc:3: ../node_modules/nan/nan.h:43:3: error: #error This version of node/NAN/v8 requires a C++11 compiler In file included from /home/tanmv/.node-gyp/4.6.0/include/node/node.h:42, from ../node_modules/nan/nan.h:47, from ../src/mcrypt.h:9, from ../src/mcrypt.cc:3: /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:336: error: expected unqualified-id before ‘using’ /home/tanmv/.node-gyp/4.6.0/include/node/v8.h: In constructor ‘v8::MaybeLocal<T>::MaybeLocal()’: /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:353: error: ‘nullptr’ was not declared in this scope /home/tanmv/.node-gyp/4.6.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::IsEmpty() const’: /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:360: error: ‘nullptr’ was not declared in this scope /home/tanmv/.node-gyp/4.6.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const’: /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:364: error: ‘nullptr’ was not declared in this scope /home/tanmv/.node-gyp/4.6.0/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const’: /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:430: error: ‘nullptr’ was not declared in this scope /home/tanmv/.node-gyp/4.6.0/include/node/v8.h: At global scope: /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:469: error: expected unqualified-id before ‘using’ /home/tanmv/.node-gyp/4.6.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global()’: /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:790: error: ‘nullptr’ was not declared in this scope /home/tanmv/.node-gyp/4.6.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global(v8::Global<T>&&)’: /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:815: error: ‘nullptr’ was not declared in this scope /home/tanmv/.node-gyp/4.6.0/include/node/v8.h: In member function ‘v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)’: /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:827: error: ‘nullptr’ was not declared in this scope /home/tanmv/.node-gyp/4.6.0/include/node/v8.h: At global scope: /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:852: error: expected unqualified-id before ‘using’ /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:1089: error: ‘nullptr’ was not declared in this scope /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:1095: error: ‘nullptr’ was not declared in this scope /home/tanmv/.node-gyp/4.6.0/include/node/v8.h: In member function ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’: /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:3205: error: ‘nullptr’ was not declared in this scope /home/tanmv/.node-gyp/4.6.0/include/node/v8.h: In member function ‘v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()’: /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:7164: error: ‘nullptr’ was not declared in this scope In file included from ../node_modules/nan/nan.h:190, from ../src/mcrypt.h:9, from ../src/mcrypt.cc:3: ../node_modules/nan/nan_maybe_43_inl.h: At global scope: ../node_modules/nan/nan_maybe_43_inl.h:13: error: expected unqualified-id before ‘using’ ../node_modules/nan/nan_maybe_43_inl.h:16: error: expected unqualified-id before ‘using’ ../node_modules/nan/nan_maybe_43_inl.h:19: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:24: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:31: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:36: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:41: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:46: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:51: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:59: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:64: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:69: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:76: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:83: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:91: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:98: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:108: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:114: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:118: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:125: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:130: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:135: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:139: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:145: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:150: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:156: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:162: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:168: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:174: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:180: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:186: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:194: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:201: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:205: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:209: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:213: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:217: error: expected initializer before ‘<’ token ../node_modules/nan/nan_maybe_43_inl.h:237: error: expected initializer before ‘<’ token In file included from ../node_modules/nan/nan.h:195, from ../src/mcrypt.h:9, from ../src/mcrypt.cc:3: ../node_modules/nan/nan_converters.h:14: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type ../node_modules/nan/nan_converters.h:14: error: expected ‘;’ before ‘<’ token ../node_modules/nan/nan_converters.h:16: error: ISO C++ forbids declaration of ‘Maybe’ with no type ../node_modules/nan/nan_converters.h:16: error: expected ‘;’ before ‘<’ token ../node_modules/nan/nan_converters.h:26: error: ‘return_t’ does not name a type ../node_modules/nan/nan_converters.h:27: error: ‘return_t’ does not name a type ../node_modules/nan/nan_converters.h:28: error: ‘return_t’ does not name a type ../node_modules/nan/nan_converters.h:29: error: ‘return_t’ does not name a type ../node_modules/nan/nan_converters.h:30: error: ‘return_t’ does not name a type ../node_modules/nan/nan_converters.h:31: error: ‘return_t’ does not name a type ../node_modules/nan/nan_converters.h:32: error: ‘return_t’ does not name a type ../node_modules/nan/nan_converters.h:42: error: ‘return_t’ does not name a type ../node_modules/nan/nan_converters.h:43: error: ‘return_t’ does not name a type ../node_modules/nan/nan_converters.h:44: error: ‘return_t’ does not name a type ../node_modules/nan/nan_converters.h:45: error: ‘return_t’ does not name a type ../node_modules/nan/nan_converters.h:46: error: ‘return_t’ does not name a type In file included from ../node_modules/nan/nan_converters.h:59, from ../node_modules/nan/nan.h:195, from ../src/mcrypt.h:9, from ../src/mcrypt.cc:3: ../node_modules/nan/nan_converters_43_inl.h:18: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Boolean>’ does not name a type ../node_modules/nan/nan_converters_43_inl.h:19: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Number>’ does not name a type ../node_modules/nan/nan_converters_43_inl.h:20: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::String>’ does not name a type ../node_modules/nan/nan_converters_43_inl.h:21: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Object>’ does not name a type ../node_modules/nan/nan_converters_43_inl.h:22: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Integer>’ does not name a type ../node_modules/nan/nan_converters_43_inl.h:23: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Uint32>’ does not name a type ../node_modules/nan/nan_converters_43_inl.h:24: error: ‘return_t’ in class ‘Nan::imp::ToFactory<v8::Int32>’ does not name a type ../node_modules/nan/nan_converters_43_inl.h:34: error: ‘return_t’ in class ‘Nan::imp::ToFactory<bool>’ does not name a type ../node_modules/nan/nan_converters_43_inl.h:35: error: ‘return_t’ in class ‘Nan::imp::ToFactory<double>’ does not name a type ../node_modules/nan/nan_converters_43_inl.h:36: error: ‘return_t’ in class ‘Nan::imp::ToFactory<long int>’ does not name a type ../node_modules/nan/nan_converters_43_inl.h:37: error: ‘return_t’ in class ‘Nan::imp::ToFactory<unsigned int>’ does not name a type ../node_modules/nan/nan_converters_43_inl.h:38: error: ‘return_t’ in class ‘Nan::imp::ToFactory<int>’ does not name a type In file included from ../node_modules/nan/nan.h:196, from ../src/mcrypt.h:9, from ../src/mcrypt.cc:3: ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Integer]’: ../node_modules/nan/nan_new.h:21: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’ ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Int32]’: ../node_modules/nan/nan_new.h:28: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’ ../node_modules/nan/nan_new.h: In function ‘v8::Local<T> Nan::imp::To(v8::Local<v8::Integer>) [with T = v8::Uint32]’: ../node_modules/nan/nan_new.h:35: error: no matching function for call to ‘To(v8::Local<v8::Integer>&)’ ../node_modules/nan/nan_new.h: At global scope: ../node_modules/nan/nan_new.h:43: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type ../node_modules/nan/nan_new.h:43: error: expected ‘;’ before ‘<’ token ../node_modules/nan/nan_new.h:75: error: ‘return_t’ does not name a type ../node_modules/nan/nan_new.h:141: error: ‘return_t’ does not name a type ../node_modules/nan/nan_new.h:147: error: ‘return_t’ does not name a type ../node_modules/nan/nan_new.h:148: error: ‘return_t’ does not name a type ../node_modules/nan/nan_new.h:160: error: ‘return_t’ does not name a type ../node_modules/nan/nan_new.h:161: error: ‘return_t’ does not name a type ../node_modules/nan/nan_new.h:162: error: ‘return_t’ does not name a type ../node_modules/nan/nan_new.h:163: error: ‘return_t’ does not name a type ../node_modules/nan/nan_new.h:165: error: ‘return_t’ does not name a type ../node_modules/nan/nan_new.h:166: error: ‘return_t’ does not name a type ../node_modules/nan/nan_new.h:182: error: ‘return_t’ does not name a type ../node_modules/nan/nan_new.h:183: error: ‘return_t’ does not name a type In file included from ../node_modules/nan/nan_new.h:189, from ../node_modules/nan/nan.h:196, from ../src/mcrypt.h:9, from ../src/mcrypt.cc:3: ../node_modules/nan/nan_implementation_12_inl.h:61: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Date>’ does not name a type ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static v8::Local<v8::Function> Nan::imp::Factory<v8::Function>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)’: ../node_modules/nan/nan_implementation_12_inl.h:95: error: ‘NewInstance’ was not declared in this scope ../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static v8::Local<v8::FunctionTemplate> Nan::imp::Factory<v8::FunctionTemplate>::New(void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>, v8::Local<v8::Signature>)’: ../node_modules/nan/nan_implementation_12_inl.h:123: error: ‘NewInstance’ was not declared in this scope ../node_modules/nan/nan_implementation_12_inl.h: At global scope: ../node_modules/nan/nan_implementation_12_inl.h:202: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::RegExp>’ does not name a type ../node_modules/nan/nan_implementation_12_inl.h:221: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Script>’ does not name a type ../node_modules/nan/nan_implementation_12_inl.h:227: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::Script>’ does not name a type ../node_modules/nan/nan_implementation_12_inl.h:259: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_implementation_12_inl.h:267: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_implementation_12_inl.h:273: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_implementation_12_inl.h:280: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_implementation_12_inl.h:286: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_implementation_12_inl.h:291: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_implementation_12_inl.h:352: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::UnboundScript>’ does not name a type ../node_modules/nan/nan_implementation_12_inl.h:359: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::UnboundScript>’ does not name a type In file included from ../node_modules/nan/nan.h:196, from ../src/mcrypt.h:9, from ../src/mcrypt.cc:3: ../node_modules/nan/nan_new.h:293: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_new.h:299: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_new.h:305: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_new.h:311: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_new.h:317: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_new.h:323: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_new.h:329: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::String>’ does not name a type ../node_modules/nan/nan_new.h:335: error: ‘return_t’ in class ‘Nan::imp::Factory<v8::RegExp>’ does not name a type In file included from ../src/mcrypt.h:9, from ../src/mcrypt.cc:3: ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Error(const char*)’: ../node_modules/nan/nan.h:655: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In function ‘void Nan::ThrowError(const char*)’: ../node_modules/nan/nan.h:655: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::RangeError(const char*)’: ../node_modules/nan/nan.h:656: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In function ‘void Nan::ThrowRangeError(const char*)’: ../node_modules/nan/nan.h:656: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::ReferenceError(const char*)’: ../node_modules/nan/nan.h:657: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In function ‘void Nan::ThrowReferenceError(const char*)’: ../node_modules/nan/nan.h:657: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::SyntaxError(const char*)’: ../node_modules/nan/nan.h:658: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In function ‘void Nan::ThrowSyntaxError(const char*)’: ../node_modules/nan/nan.h:658: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::TypeError(const char*)’: ../node_modules/nan/nan.h:659: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In function ‘void Nan::ThrowTypeError(const char*)’: ../node_modules/nan/nan.h:659: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:667: error: expected initializer before ‘<’ token ../node_modules/nan/nan.h:689: error: expected initializer before ‘<’ token ../node_modules/nan/nan.h:705: error: expected initializer before ‘<’ token ../node_modules/nan/nan.h:718: error: expected initializer before ‘<’ token ../node_modules/nan/nan.h:735: error: expected initializer before ‘<’ token ../node_modules/nan/nan.h:741: error: expected initializer before ‘<’ token ../node_modules/nan/nan.h:749: error: expected initializer before ‘<’ token ../node_modules/nan/nan.h:756: error: expected initializer before ‘<’ token ../node_modules/nan/nan.h:762: error: expected initializer before ‘<’ token ../node_modules/nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’: ../node_modules/nan/nan.h:1507: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’: ../node_modules/nan/nan.h:1525: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In member function ‘virtual void Nan::AsyncWorker::HandleErrorCallback()’: ../node_modules/nan/nan.h:1559: error: no matching function for call to ‘New(const char*)’ ../node_modules/nan/nan.h: In function ‘void Nan::imp::SetMethodAux(T, v8::Local<v8::String>, v8::Local<v8::FunctionTemplate>, ...)’: ../node_modules/nan/nan.h:1870: error: there are no arguments to ‘GetFunction’ that depend on a template parameter, so a declaration of ‘GetFunction’ must be available ../node_modules/nan/nan.h:1870: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../node_modules/nan/nan.h: In function ‘void Nan::SetMethod(HandleType<T>, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’: ../node_modules/nan/nan.h:1882: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In function ‘void Nan::SetPrototypeMethod(v8::Local<v8::FunctionTemplate>, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’: ../node_modules/nan/nan.h:1897: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)’: ../node_modules/nan/nan.h:1922: error: ‘NewInstance’ was not declared in this scope ../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<void>&), v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’: ../node_modules/nan/nan.h:1965: error: ‘NewInstance’ was not declared in this scope ../node_modules/nan/nan.h: In function ‘void Nan::SetNamedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(v8::Local<v8::String>, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)’: ../node_modules/nan/nan.h:2024: error: ‘NewInstance’ was not declared in this scope ../node_modules/nan/nan.h: In function ‘void Nan::SetIndexedPropertyHandler(v8::Local<v8::ObjectTemplate>, void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, v8::Local<v8::Value>, const Nan::PropertyCallbackInfo<v8::Value>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Integer>&), void (*)(uint32_t, const Nan::PropertyCallbackInfo<v8::Boolean>&), void (*)(const Nan::PropertyCallbackInfo<v8::Array>&), v8::Local<v8::Value>)’: ../node_modules/nan/nan.h:2094: error: ‘NewInstance’ was not declared in this scope ../node_modules/nan/nan.h: In function ‘void Nan::SetCallHandler(v8::Local<v8::FunctionTemplate>, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)’: ../node_modules/nan/nan.h:2149: error: ‘NewInstance’ was not declared in this scope ../node_modules/nan/nan.h: In function ‘void Nan::SetCallAsFunctionHandler(v8::Local<v8::ObjectTemplate>, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Value>)’: ../node_modules/nan/nan.h:2171: error: ‘NewInstance’ was not declared in this scope In file included from ../src/mcrypt.h:9, from ../src/mcrypt.cc:3: ../node_modules/nan/nan.h: In function ‘void Nan::Export(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, const char*, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&))’: ../node_modules/nan/nan.h:2198: error: no matching function for call to ‘New(const char*&)’ ../node_modules/nan/nan.h:2199: error: ‘GetFunction’ was not declared in this scope /home/tanmv/.node-gyp/4.6.0/include/node/v8.h:3021: error: argument dependent lookup finds ‘class v8::Set’ ../node_modules/nan/nan.h:2199: error: in call to ‘Set’ ../node_modules/nan/nan.h: In constructor ‘Nan::Tap::Tap(v8::Local<v8::Value>)’: ../node_modules/nan/nan.h:2206: error: no matching function for call to ‘To(v8::Local<v8::Value>&)’ ../node_modules/nan/nan.h: In member function ‘void Nan::Tap::ok(bool, const char*)’: ../node_modules/nan/nan.h:2219: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: In member function ‘void Nan::Tap::pass(const char*)’: ../node_modules/nan/nan.h:2225: error: ‘class v8::Local<v8::Boolean>’ has no member named ‘ToLocalChecked’ ../node_modules/nan/nan.h: At global scope: ../node_modules/nan/nan.h:2249: error: ISO C++ forbids declaration of ‘MaybeLocal’ with no type ../node_modules/nan/nan.h:2249: error: expected ‘;’ before ‘<’ token ../node_modules/nan/nan.h:2252: error: expected ‘;’ before ‘}’ token ../node_modules/nan/nan.h:2254: error: ‘MaybeLocal’ was not declared in this scope ../node_modules/nan/nan.h:2254: error: template argument 1 is invalid ../node_modules/nan/nan.h:2254: error: expected unqualified-id before ‘>’ token ../node_modules/nan/nan.h:2263: error: expected constructor, destructor, or type conversion before ‘<’ token In file included from ../src/mcrypt.cc:3: ../src/mcrypt.h:21: error: ‘Handle’ has not been declared ../src/mcrypt.h:21: error: expected ‘,’ or ‘...’ before ‘<’ token ../src/mcrypt.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE MCrypt::Encrypt(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/mcrypt.cc:242: error: ‘NewBuffer’ is not a member of ‘Nan’ ../src/mcrypt.cc:242: error: return-statement with a value, in function returning 'void' ../src/mcrypt.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE MCrypt::Decrypt(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/mcrypt.cc:279: error: ‘NewBuffer’ is not a member of ‘Nan’ ../src/mcrypt.cc:279: error: return-statement with a value, in function returning 'void' ../src/mcrypt.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE MCrypt::GetAlgorithmName(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/mcrypt.cc:430: error: no matching function for call to ‘New(char*&)’ ../src/mcrypt.cc:430: error: return-statement with a value, in function returning 'void' ../src/mcrypt.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE MCrypt::GetModeName(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/mcrypt.cc:440: error: no matching function for call to ‘New(char*&)’ ../src/mcrypt.cc:440: error: return-statement with a value, in function returning 'void' ../src/mcrypt.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE MCrypt::GenerateIv(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/mcrypt.cc:456: error: ‘NewBuffer’ is not a member of ‘Nan’ ../src/mcrypt.cc:456: error: return-statement with a value, in function returning 'void' ../src/mcrypt.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE MCrypt::GetAlgorithmNames(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/mcrypt.cc:471: error: no matching function for call to ‘New(char*&)’ ../src/mcrypt.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE MCrypt::GetModeNames(const Nan::FunctionCallbackInfo<v8::Value>&)’: ../src/mcrypt.cc:490: error: no matching function for call to ‘New(char*&)’ ../src/mcrypt.cc: At global scope: ../src/mcrypt.cc:498: error: variable or field ‘Init’ declared void ../src/mcrypt.cc:498: error: ‘Handle’ was not declared in this scope ../src/mcrypt.cc:498: error: expected primary-expression before ‘>’ token ../src/mcrypt.cc:498: error: ‘exports’ was not declared in this scope make: *** [Release/obj.target/mcrypt/src/mcrypt.o] Error 1 make: Leaving directory/home/tanmv/nodeapi/node_modules/mcrypt/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 2.6.32-642.3.1.el6.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /home/tanmv/nodeapi/node_modules/mcrypt
gyp ERR! node -v v4.6.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Linux 2.6.32-642.3.1.el6.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "mcrypt"
npm ERR! node v4.6.0
npm ERR! npm v2.15.9
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild --release
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild --release'.
npm ERR! This is most likely a problem with the mcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild --release
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs mcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls mcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/tanmv/nodeapi/npm-debug.log

Help me, please!
(Ai đã khắc phục đc lỗi này thì cũng giúp với nhé!)

Thank!

ode v5.0.0Can't install mcrypt 0.0.7 on and npm v3.3.12

This is system installed libmcrypt version 2.5.8-r3

Install Log:
Value>, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:547:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("validateKeySize"), FunctionTemplate::New(ValidateKeySize)->GetFunction());
^
../src/mcrypt.cc:547:95: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("validateKeySize"), FunctionTemplate::New(ValidateKeySize)->GetFunction());
^
../src/mcrypt.cc:547:95: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:548:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("validateIvSize"), FunctionTemplate::New(ValidateIvSize)->GetFunction());
^
../src/mcrypt.cc:548:93: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("validateIvSize"), FunctionTemplate::New(ValidateIvSize)->GetFunction());
^
../src/mcrypt.cc:548:93: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:549:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("selfTest"), FunctionTemplate::New(SelfTest)->GetFunction());
^
../src/mcrypt.cc:549:81: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("selfTest"), FunctionTemplate::New(SelfTest)->GetFunction());
^
../src/mcrypt.cc:549:81: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:550:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("isBlockAlgorithmMode"), FunctionTemplate::New(IsBlockAlgorithmMode)->GetFunction());
^
../src/mcrypt.cc:550:105: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("isBlockAlgorithmMode"), FunctionTemplate::New(IsBlockAlgorithmMode)->GetFunction());
^
../src/mcrypt.cc:550:105: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:551:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("isBlockAlgorithm"), FunctionTemplate::New(IsBlockAlgorithm)->GetFunction());
^
../src/mcrypt.cc:551:97: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("isBlockAlgorithm"), FunctionTemplate::New(IsBlockAlgorithm)->GetFunction());
^
../src/mcrypt.cc:551:97: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:552:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("isBlockMode"), FunctionTemplate::New(IsBlockMode)->GetFunction());
^
../src/mcrypt.cc:552:87: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("isBlockMode"), FunctionTemplate::New(IsBlockMode)->GetFunction());
^
../src/mcrypt.cc:552:87: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:553:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("getBlockSize"), FunctionTemplate::New(GetBlockSize)->GetFunction());
^
../src/mcrypt.cc:553:89: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("getBlockSize"), FunctionTemplate::New(GetBlockSize)->GetFunction());
^
../src/mcrypt.cc:553:89: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:554:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("getKeySize"), FunctionTemplate::New(GetKeySize)->GetFunction());
^
../src/mcrypt.cc:554:85: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("getKeySize"), FunctionTemplate::New(GetKeySize)->GetFunction());
^
../src/mcrypt.cc:554:85: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:555:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("getSupportedKeySizes"), FunctionTemplate::New(GetSupportedKeySizes)->GetFunction());
^
../src/mcrypt.cc:555:105: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("getSupportedKeySizes"), FunctionTemplate::New(GetSupportedKeySizes)->GetFunction());
^
../src/mcrypt.cc:555:105: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:556:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("getIvSize"), FunctionTemplate::New(GetIvSize)->GetFunction());
^
../src/mcrypt.cc:556:83: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("getIvSize"), FunctionTemplate::New(GetIvSize)->GetFunction());
^
../src/mcrypt.cc:556:83: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:557:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("hasIv"), FunctionTemplate::New(HasIv)->GetFunction());
^
../src/mcrypt.cc:557:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("hasIv"), FunctionTemplate::New(HasIv)->GetFunction());
^
../src/mcrypt.cc:557:75: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:558:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("getAlgorithmName"), FunctionTemplate::New(GetAlgorithmName)->GetFunction());
^
../src/mcrypt.cc:558:97: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("getAlgorithmName"), FunctionTemplate::New(GetAlgorithmName)->GetFunction());
^
../src/mcrypt.cc:558:97: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:559:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("getModeName"), FunctionTemplate::New(GetModeName)->GetFunction());
^
../src/mcrypt.cc:559:87: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("getModeName"), FunctionTemplate::New(GetModeName)->GetFunction());
^
../src/mcrypt.cc:559:87: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:560:20: error: ‘NewSymbol’ is not a member of ‘v8::String’
prototype->Set(String::NewSymbol("generateIv"), FunctionTemplate::New(GenerateIv)->GetFunction());
^
../src/mcrypt.cc:560:85: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
prototype->Set(String::NewSymbol("generateIv"), FunctionTemplate::New(GenerateIv)->GetFunction());
^
../src/mcrypt.cc:560:85: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:563:63: error: no matching function for call to ‘v8::Persistentv8::Function::New(v8::Localv8::Function)’
constructor = Persistent::New(tpl->GetFunction());
^
../src/mcrypt.cc:563:63: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:7171:4: note: static T_ v8::PersistentBase::New(v8::Isolate_, T_) [with T = v8::Function]
T* PersistentBase::New(Isolate* isolate, T* that) {
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:7171:4: note: candidate expects 2 arguments, 1 provided
../src/mcrypt.cc:564:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("MCrypt"), constructor);
^
../src/mcrypt.cc:565:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("getAlgorithmNames"), FunctionTemplate::New(GetAlgorithmNames)->GetFunction());
^
../src/mcrypt.cc:565:97: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("getAlgorithmNames"), FunctionTemplate::New(GetAlgorithmNames)->GetFunction());
^
../src/mcrypt.cc:565:97: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc:566:18: error: ‘NewSymbol’ is not a member of ‘v8::String’
exports->Set(String::NewSymbol("getModeNames"), FunctionTemplate::New(GetModeNames)->GetFunction());
^
../src/mcrypt.cc:566:87: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handlev8::Value (&)(const int&))’
exports->Set(String::NewSymbol("getModeNames"), FunctionTemplate::New(GetModeNames)->GetFunction());
^
../src/mcrypt.cc:566:87: note: candidate is:
In file included from /home/sibok/.node-gyp/5.0.0/include/node/node.h:42:0,
from ../src/mcrypt.cc:5:
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Localv8::Value, v8::Localv8::Signature, int)
static Local New(
^
/home/sibok/.node-gyp/5.0.0/include/node/v8.h:4348:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&) {aka v8::Localv8::Value(const int&)}’ to ‘v8::Isolate_’
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::New(const int&)’:
../src/mcrypt.cc:50:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::Encrypt(const int&)’:
../src/mcrypt.cc:118:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::Decrypt(const int&)’:
../src/mcrypt.cc:180:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::Open(const int&)’:
../src/mcrypt.cc:258:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::ValidateKeySize(const int&)’:
../src/mcrypt.cc:272:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::ValidateIvSize(const int&)’:
../src/mcrypt.cc:286:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::SelfTest(const int&)’:
../src/mcrypt.cc:302:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::IsBlockAlgorithmMode(const int&)’:
../src/mcrypt.cc:318:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::IsBlockAlgorithm(const int&)’:
../src/mcrypt.cc:334:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::IsBlockMode(const int&)’:
../src/mcrypt.cc:350:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::GetBlockSize(const int&)’:
../src/mcrypt.cc:364:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::GetKeySize(const int&)’:
../src/mcrypt.cc:378:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::GetSupportedKeySizes(const int&)’:
../src/mcrypt.cc:405:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::GetIvSize(const int&)’:
../src/mcrypt.cc:419:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::HasIv(const int&)’:
../src/mcrypt.cc:435:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::GetAlgorithmName(const int&)’:
../src/mcrypt.cc:451:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::GetModeName(const int&)’:
../src/mcrypt.cc:467:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::GenerateIv(const int&)’:
../src/mcrypt.cc:489:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::GetAlgorithmNames(const int&)’:
../src/mcrypt.cc:512:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/mcrypt.cc: In static member function ‘static v8::Handlev8::Value MCrypt::GetModeNames(const int&)’:
../src/mcrypt.cc:534:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
mcrypt.target.mk:92: recipe for target 'Release/obj.target/mcrypt/src/mcrypt.o' failed
make: *** [Release/obj.target/mcrypt/src/mcrypt.o] Error 1
make: Leaving directory '/home/sibok/public_html/bobbysf2/nodejs/node_modules/mcrypt/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib64/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.2.5-gentoo
gyp ERR! command "/usr/bin/node" "/usr/lib64/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /home/sibok/public_html/bobbysf2/nodejs/node_modules/mcrypt
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Linux 4.2.5-gentoo
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v5.0.0
npm ERR! npm v3.3.12
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild --release
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild --release'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild --release
npm ERR! You can get their info via:
npm ERR! npm owner ls mcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/sibok/public_html/bobbysf2/nodejs/npm-debug.log

Can't install on iojs v3.2.0

I know the issue has been addressed in #29 but a proper fix for this is still needed.

$ iojs -v
v3.2.0
$ npm install mcrypt --save

> [email protected] install /Users/matylla/Kraken/web-interface/node_modules/mcrypt
> node-gyp rebuild --release

  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/3-way.o
In file included from ../lib/libmcrypt/modules/algorithms/3-way.c:14:
../lib/libmcrypt/lib/libdefs.h:55:11: fatal error: 'endian.h' file not found
# include <endian.h>
          ^
1 error generated.
make: *** [Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/3-way.o] Error 1

Decrypting Rijndael with 128-bit Cause segmentation fault on CentOS ...

I am using mcrypt module on Node.js and decrypt some strings encrypted by PHP mcrypt library. Firstly, It works very well on Mac OS. After I moved my project to CentOS and recompile the module, I try to run Node.js project on this OS and then get "segmentation fault". Maybe there is a bug ?

Here are some debugging information handled by ddopson/node-segfault-handler (https://github.com/ddopson/node-segfault-handler) : )

PID 9610 received SIGSEGV for address: 0x7fc2ed670540 /var/www/html/voiceany/Server/node_modules/segfault-handler/build/Release/segfault-handler.node(+0x113d)[0x7fbf5072913d] /lib64/libpthread.so.0(+0xf130)[0x7fbf52744130] /var/www/html/voiceany/Server/node_modules/mcrypt/build/Release/mcrypt.node(rijndael_128_LTX__mcrypt_decrypt+0xe7)[0x7fbf500f2787] /var/www/html/voiceany/Server/node_modules/mcrypt/build/Release/mcrypt.node(ecb_LTX__mdecrypt+0x45)[0x7fbf500ffae5] /var/www/html/voiceany/Server/node_modules/mcrypt/build/Release/mcrypt.node(mdecrypt+0x56)[0x7fbf500e7866] /var/www/html/voiceany/Server/node_modules/mcrypt/build/Release/mcrypt.node(_ZN6MCrypt9transformIXadL_Z16mdecrypt_genericEEEEPcPKcPmPi+0xe5)[0x7fbf500e5e05] /var/www/html/voiceany/Server/node_modules/mcrypt/build/Release/mcrypt.node(_ZN6MCrypt7DecryptERKN2v89ArgumentsE+0x12a)[0x7fbf500e451a] /lib64/libv8.so.3(+0x204c54)[0x7fbf539c8c54] [0x231102206362]

FreeBSD

CXX(target) Release/obj.target/mcrypt/src/mcrypt.o
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:10:20: warning: mcrypt.h: No such file or directory
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:27: error: expected '>' before '(' token
../src/mcrypt.h:57: error: 'MCRYPT' does not name a type
../src/mcrypt.cc: In constructor 'MCrypt::MCrypt(const v8::Arguments&)':
../src/mcrypt.cc:17: error: 'mcrypt_' was not declared in this scope
../src/mcrypt.cc:17: error: 'mcrypt_module_open' was not declared in this scope
../src/mcrypt.cc: In destructor 'virtual MCrypt::~MCrypt()':
../src/mcrypt.cc:21: error: 'mcrypt_' was not declared in this scope
../src/mcrypt.cc:21: error: 'mcrypt_module_close' was not declared in this scope
../src/mcrypt.cc: At global scope:
../src/mcrypt.cc:25: error: expected '>' before '(' token
../src/mcrypt.cc: In member function 'char* MCrypt::transform(const char_, size_t_, int_)':
../src/mcrypt.cc:32: error: 'mcrypt_' was not declared in this scope
../src/mcrypt.cc:32: error: there are no arguments to 'mcrypt_enc_is_block_algorithm' that depend on a template parameter, so a declaration of 'mcrypt_enc_is_block_algorithm' must be available
../src/mcrypt.cc:32: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../src/mcrypt.cc:33: error: there are no arguments to 'mcrypt_enc_get_block_size' that depend on a template parameter, so a declaration of 'mcrypt_enc_get_block_size' must be available
../src/mcrypt.cc:49: error: 'mcrypt_' was not declared in this scope
../src/mcrypt.cc:53: error: 'mcrypt_' was not declared in this scope
../src/mcrypt.cc:53: error: 'modify' cannot be used as a function
../src/mcrypt.cc:57: error: 'mcrypt_' was not declared in this scope
../src/mcrypt.cc:57: error: there are no arguments to 'mcrypt_generic_deinit' that depend on a template parameter, so a declaration of 'mcrypt_generic_deinit' must be available
../src/mcrypt.cc: In member function 'std::vector<long unsigned int, std::allocator > MCrypt::getKeySizes()':
../src/mcrypt.cc:65: error: 'mcrypt_' was not declared in this scope
../src/mcrypt.cc:65: error: 'mcrypt_enc_get_supported_key_sizes' was not declared in this scope
../src/mcrypt.cc:68: error: 'mcrypt_free' was not declared in this scope
../src/mcrypt.cc:70: error: 'mcrypt_enc_get_key_size' was not declared in this scope
../src/mcrypt.cc:88: error: 'mcrypt_free' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::New(const v8::Arguments&)':
../src/mcrypt.cc:108: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:108: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::Open(const v8::Arguments&)':
../src/mcrypt.cc:124: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:124: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:195: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:195: error: 'mcrypt_enc_get_iv_size' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::Encrypt(const v8::Arguments&)':
../src/mcrypt.cc:212: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:212: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:222: error: 'mcrypt_generic' was not declared in this scope
../src/mcrypt.cc:222: error: no matching function for call to 'MCrypt::transform(char_, size_t_, int_)'
../src/mcrypt.cc:227: error: 'mcrypt_generic' was not declared in this scope
../src/mcrypt.cc:227: error: no matching function for call to 'MCrypt::transform(char_, size_t_, int_)'
../src/mcrypt.cc:234: error: 'mcrypt_strerror' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::Decrypt(const v8::Arguments&)':
../src/mcrypt.cc:254: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:254: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:264: error: 'mdecrypt_generic' was not declared in this scope
../src/mcrypt.cc:264: error: no matching function for call to 'MCrypt::transform(char_, size_t_, int_)'
../src/mcrypt.cc:268: error: 'mdecrypt_generic' was not declared in this scope
../src/mcrypt.cc:268: error: no matching function for call to 'MCrypt::transform(char_, size_t_, int_)'
../src/mcrypt.cc:275: error: 'mcrypt_strerror' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::SelfTest(const v8::Arguments&)':
../src/mcrypt.cc:319: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:319: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:321: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:321: error: 'mcrypt_enc_self_test' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::IsBlockAlgorithmMode(const v8::Arguments&)':
../src/mcrypt.cc:333: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:333: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:335: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:335: error: 'mcrypt_enc_is_block_algorithm_mode' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::IsBlockAlgorithm(const v8::Arguments&)':
../src/mcrypt.cc:347: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:347: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:349: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:349: error: 'mcrypt_enc_is_block_algorithm' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::IsBlockMode(const v8::Arguments&)':
../src/mcrypt.cc:361: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:361: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:363: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:363: error: 'mcrypt_enc_is_block_mode' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::GetBlockSize(const v8::Arguments&)':
../src/mcrypt.cc:375: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:375: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:377: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:377: error: 'mcrypt_enc_get_block_size' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::GetKeySize(const v8::Arguments&)':
../src/mcrypt.cc:387: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:387: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:389: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:389: error: 'mcrypt_enc_get_key_size' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::GetSupportedKeySizes(const v8::Arguments&)':
../src/mcrypt.cc:399: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:399: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::GetIvSize(const v8::Arguments&)':
../src/mcrypt.cc:417: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:417: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:419: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:419: error: 'mcrypt_enc_get_iv_size' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::HasIv(const v8::Arguments&)':
../src/mcrypt.cc:429: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:429: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:431: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:431: error: 'mcrypt_enc_mode_has_iv' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::GetAlgorithmName(const v8::Arguments&)':
../src/mcrypt.cc:443: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:443: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:445: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:445: error: 'mcrypt_enc_get_algorithms_name' was not declared in this scope
../src/mcrypt.cc:447: error: 'mcrypt_free' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::GetModeName(const v8::Arguments&)':
../src/mcrypt.cc:457: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:457: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:459: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:459: error: 'mcrypt_enc_get_modes_name' was not declared in this scope
../src/mcrypt.cc:461: error: 'mcrypt_free' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::GenerateIv(const v8::Arguments&)':
../src/mcrypt.cc:471: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:471: error: 'MCRYPT_FAILED' was not declared in this scope
../src/mcrypt.cc:473: error: 'class MCrypt' has no member named 'mcrypt_'
../src/mcrypt.cc:473: error: 'mcrypt_enc_get_iv_size' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::GetAlgorithmNames(const v8::Arguments&)':
../src/mcrypt.cc:492: error: 'mcrypt_list_algorithms' was not declared in this scope
../src/mcrypt.cc:504: error: 'mcrypt_free_p' was not declared in this scope
../src/mcrypt.cc: In static member function 'static v8::Handlev8::Value MCrypt::GetModeNames(const v8::Arguments&)':
../src/mcrypt.cc:515: error: 'mcrypt_list_modes' was not declared in this scope
../src/mcrypt.cc:526: error: 'mcrypt_free_p' was not declared in this scope
gmake: *_* [Release/obj.target/mcrypt/src/mcrypt.o] Error 1

Invalid Key Size

Hi! I'm trying to make work just any of interested algorithms (twofish or aes). It's example from the README, but with another algorithm:

var MCrypt = require('mcrypt').MCrypt;

var alg = new MCrypt('twofish', 'cfb');
var iv = alg.generateIv();

alg.open('somekey', iv);

var ciphertext = alg.encrypt('sometext');

console.log(Buffer.concat([iv, ciphertext]).toString('base64'));

But it just throw me an error whatever Buffer I try:

# node crypt.js 
/home/me/server/crypt.js:6
alg.open('somekey', iv);
    ^
TypeError: Invalid key size. Available key size are [16, 24, 32]
    at TypeError (native)
    at Object.<anonymous> (/home/me/server/crypt.js:6:5)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

I check the Buffer size, it's okay and equals 32 bytes. What am I do wrong?

Invalid key size. You can determine key sizes using getSupportedKeySizes()

Hi,

on this line when using blowfish in ecb bfEcb.open('typeconfig.sys^_-'); i get this error:

Invalid key size. You can determine key sizes using getSupportedKeySizes()

Also if i call the method above getSupportedKeySizes() i get only an empty array

is it possible to fix? i need this to work!

Thanks

Unable to encrypt or decrypt using rijndael-256 ecb

Hi,

Whilst I have been able to get some of the algorithms to work, I have not been able to either encrypt or decrypt using rijndael-256 ecb.

First off, when I try to assign my key it states that it is an invalid size. The has ben used successfully to encrypt and decrypt data in php so I don't think there is anything wrong with the key length. To get past this I have tried settings validateKeySize(false).

After setting that, I no longer get an error about the key size. However calling decrypt() gives no output at all.

I do not have php installed on this system, although coming from https://github.com/skeggse/node-rijndael (which I also could not get working) I do have libmcrypt-dev installed. Is php required for this to work?

Error: Invalid key size. Available key size are [16, 24, 32]

Hi,

I get the following error:

/home/vagrant/www/project/server/helpers.js:67
        rijndael128cbc.open(_key, _iv);

Invalid key size. Available key size are [16, 24, 32]

When I use the following code:

var MCrypt = require('mcrypt').MCrypt,
rijndael128cbc = new MCrypt('rijndael-128', 'cbc');

rijndael128cbc.open(_key, _iv);    

When I log the variable rijndael128cbc to the console, I get an empty MCrypt {} object.

I saw that there was a similar issue with the blowfish algorithm but it was closed. Maybe it's the same bug for this algorithm too?

Thanks

After encrypting and decrypting the string, result is different from original

When i try to encrypt plaintext string and decrypt the results I get different string from the original. It happens in many algorithms and modes combinations. Even documentation example does not work properly:

var MCrypt = require('mcrypt').MCrypt;

var desEcb = new MCrypt('des', 'ecb');
desEcb.open('madepass'); // we are set the key

var msg = new Buffer('this is top secret message!');
console.log('Plaintext buffer', msg);
var ciphertext = desEcb.encrypt(msg);
console.log('Encrypted buffer', ciphertext);
console.log(ciphertext.toString('base64'));

var plaintext = desEcb.decrypt(ciphertext);
console.log('Decrypted buffer', plaintext);
console.log(plaintext.toString());

It gives different results for each program start. Here is example output:

Plaintext buffer <Buffer 74 68 69 73 20 69 73 20 74 6f 70 20 73 65 63 72 65 74 20 6d 65 73 73 61 67 65 21>
Encrypted buffer <SlowBuffer 14 14 11 15 50 45 14 51 50 55 00 45 00 50 15 44 05 04 50 04 15 41 45 50 14 44 55 50 00 51 44 15>
FBQRFVBFFFFQVQBFAFAVRAUEUAQVQUVQFERVUABRRBU=
Decrypted buffer <SlowBuffer 51 14 11 54 04 01 41 01 51 45 55 15 14 00 14 04 10 40 55 55 40 01 05 51 54 10 40 55 54 45 11 45>
Q��T��A�QEU�����@UU@�QT�@UTE�E

I have encountered this problem in v0.1.1 and v0.1.2

However in v0.0.15 everything works properly:

Plaintext buffer <Buffer 74 68 69 73 20 69 73 20 74 6f 70 20 73 65 63 72 65 74 20 6d 65 73 73 61 67 65 21>
Encrypted buffer <SlowBuffer 7e 42 67 22 0b 62 1f c9 ec 18 3a f2 ca e2 2c 9b 27 f9 bc 00 4c 19 2b 65 a4 00 9f 28 24 e2 7e f0>
fkJnIgtiH8nsGDryyuIsmyf5vABMGStlpACfKCTifvA=
Decrypted buffer <SlowBuffer 74 68 69 73 20 69 73 20 74 6f 70 20 73 65 63 72 65 74 20 6d 65 73 73 61 67 65 21 00 00 00 00 00>
this is top secret message!

Checked this in v0.10.33 and v0.12.7 of Node.js. Issue exists in both of them.

Can't install on node 0.12 or iojs 1.2.0

npm log as follows:

$ node --version
v0.12.0
$ npm install mcrypt
npm http request GET https://registry.npmjs.org/mcrypt
npm http 304 https://registry.npmjs.org/mcrypt

> [email protected] install /Users/alan/Desktop/test/node_modules/mcrypt
> node-gyp rebuild --release

child_process: customFds option is deprecated, use stdio instead.
  CXX(target) Release/obj.target/mcrypt/src/mcrypt.o
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:22:29: error: expected class name
class MCrypt : public node::ObjectWrap {
                            ^
../src/mcrypt.h:27:22: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        MCrypt(const Arguments& args);
                     ^~~~~~~~~
                     v8::internal::Arguments
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:31:15: error: no type named 'Buffer' in namespace 'node'
        node::Buffer* transform(const char* plainText, const size_t leng...
        ~~~~~~^
../src/mcrypt.h:37:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(New);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:38:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(Encrypt);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:39:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(Decrypt);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:40:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(Open);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:41:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(ValidateKeySize);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:42:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(ValidateIvSize);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:43:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(SelfTest);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:44:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(IsBlockAlgorithmMode);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:45:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(IsBlockAlgorithm);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:46:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(IsBlockMode);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:47:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(GetBlockSize);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:48:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(GetKeySize);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:49:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(GetSupportedKeySizes);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:50:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(GetIvSize);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:51:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(HasIv);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
In file included from ../src/mcrypt.cc:3:
../src/mcrypt.h:52:9: error: unknown type name 'Arguments'; did you mean
      'v8::internal::Arguments'?
        NODE_MCRYPT_METHOD_PROTO(GetAlgorithmName);
        ^
../src/mcrypt.h:17:84: note: expanded from macro 'NODE_MCRYPT_METHOD_PROTO'
  ...static Handle<Value> MethodName(const Arguments& args)
                                           ^
/Users/alan/.node-gyp/0.12.0/deps/v8/include/v8.h:127:7: note: 
      'v8::internal::Arguments' declared here
class Arguments;
      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Release/obj.target/mcrypt/src/mcrypt.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/alan/.nave/installed/0.12.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Darwin 14.1.0
gyp ERR! command "node" "/Users/alan/.nave/installed/0.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /Users/alan/Desktop/test/node_modules/mcrypt
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok 
npm ERR! Darwin 14.1.0
npm ERR! argv "/Users/alan/.nave/installed/0.12.0/bin/node" "/Users/alan/.nave/installed/0.12.0/bin/npm" "install" "mcrypt"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild --release`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild --release'.
npm ERR! This is most likely a problem with the mcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild --release
npm ERR! You can get their info via:
npm ERR!     npm owner ls mcrypt
npm ERR! There is likely additional logging output above.

> [email protected] preuninstall /Users/alan/Desktop/test/node_modules/mcrypt
> rm -rf build/*


npm ERR! Please include the following file with any support request:
npm ERR!     /Users/alan/Desktop/test/npm-debug.log

Rijndale-128 CBC and strange padding \0\0

Thank you for your module.
I have a problem with decrypt on c#, the final key(Rijndale-128 CBC), generate in node.js contains \0\0 padding. Can I remove this?

p.s in node.js encrypt/decrypt everything works well

npm install on mac failed

Getting error like this when i tried to install mcrypt.

$ npm install mcrypt -g

> [email protected] install /usr/local/lib/node_modules/mcrypt
> node-gyp rebuild --release

  CC(target) Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/3-way.o
In file included from ../lib/libmcrypt/modules/algorithms/3-way.c:14:
../lib/libmcrypt/lib/libdefs.h:55:11: fatal error: 'endian.h' file not found
# include <endian.h>
          ^
1 error generated.
make: *** [Release/obj.target/libmcrypt/lib/libmcrypt/modules/algorithms/3-way.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:807:12)
gyp ERR! System Darwin 14.4.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /usr/local/lib/node_modules/mcrypt
gyp ERR! node -v v0.10.28
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok 
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "mcrypt" "-g"
npm ERR! node v0.10.28
npm ERR! npm  v2.10.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild --release`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild --release'.
npm ERR! This is most likely a problem with the mcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild --release
npm ERR! You can get their info via:
npm ERR!     npm owner ls mcrypt
npm ERR! There is likely additional logging output above.

> [email protected] preuninstall /usr/local/lib/node_modules/mcrypt
> rm -rf build/*

Tried solutions like:

  1. installing nan
  2. downgrading node-gyp to 1.0.1

Failed compatibility

This test:

describe('selfTest', function(){
    it('should return true', function(){
        assert(mc.selfTest(), 'return value is not true');
    });
});

is failling with :

- selfTest
failed compatibility
Expected: a1502d70ba1320c8
Got: ff502d70ff1320ffffffc8

Getting error in node v5.4.1

module.js:422
return process.dlopen(module, path._makeLong(filename));
^

Error: Module version mismatch. Expected 47, got 46.

node-gyp

When running npm install mcrypt I get error ..how to fix it ..

untitled

ld: warning: directory not found for option '-L/opt/local/lib/'

Attempting to install OS X Yosemite but getting the following error:
ld: warning: directory not found for option '-L/opt/local/lib/'

Full Output:

> [email protected] preuninstall /node_modules/mcrypt
> rm -rf build/*


> [email protected] install /node_modules/mcrypt
> node-gyp rebuild --release

  CXX(target) Release/obj.target/mcrypt/src/mcrypt.o
  SOLINK_MODULE(target) Release/mcrypt.node
ld: warning: directory not found for option '-L/opt/local/lib/'
[email protected] ../../node_modules/mcrypt
└── [email protected]

Not sure if this is causing a related issue?

        mcryptCrypt.open(_key, _iv);
                    ^
TypeError: Invalid iv size. You can determine iv size using getIvSize()

TypeError: Invalid iv size. You can determine iv size using getIvSize()

Hi,

I use node-mcrypt in a node package called jscryptor which uses rijndael-128 in cbc mode, with the code in the example:

var password = 'myPassword';
var b64string = "AwHsr+ZD87myaoHm51kZX96u4hhaTuLkEsHwpCRpDywMO1Moz35wdS6OuDgq+SIAK6BOSVKQFSbX/GiFSKhWNy1q94JidKc8hs581JwVJBrEEoxDaMwYE+a+sZeirThbfpup9WZQgp3XuZsGuZPGvy6CvHWt08vsxFAn9tiHW9EFVtdSK7kAGzpnx53OUSt451Jpy6lXl1TKek8m64RT4XPr";

var RNCryptor = require('jscryptor');

console.time('Decrypting example');
var decrypted = RNCryptor.Decrypt(b64string, password);
console.timeEnd('Decrypting example');
console.log("Result:", decrypted);

I'm getting the error:

RNCryptor.js:221
    mcrypt.open(key, components.headers.iv);
           ^
TypeError: Invalid iv size. You can determine iv size using getIvSize()
    at Object.RNCryptor.Decrypt (/home/chesstrian/WebstormProjects/JSCryptor/lib/RNCryptor.js:221:12)
    at Object.<anonymous> (/home/chesstrian/WebstormProjects/JSCryptor/example.js:7:27)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:929:3

This started happening with [email protected], for that reason jscryptor requires [email protected].

What is the reason for this error?, How should I handle it in jscryptor?.

Thanks in advance.

The encrypt result is not equal between 0.0.7 and 0.0.10

When I updated mcrypt module to 0.0.10 today, I found the result of encrypt with rijndael-128 andcbc going wrong.

The test code :

var MCrypt = require('mcrypt').MCrypt;
var rijndael = new MCrypt('rijndael-128', 'cbc');
rijndael.open('aaaabbbbccccdddd');

// 0.0.7 output: 
// 8cc419b7cb0f744dbada17858ea84d00 
// Correct! equals with php mcrypt module
// but 0.0.10 output: 
// b2af83d35ab9b920bcdbb3ae1425f454
console.log(rijndael.encrypt('123456').toString('hex'));

Having an issue with blowfish encryption in 0.0.9 (0.0.7 worked)

Thanks for this library. This may be user error -- in version 0.0.7 this worked, and in 0.0.9 this doesn't

var MCrypt = require('mcrypt').MCrypt;
var m = new MCrypt('blowfish', 'nofb')
m.validateKeySize(false)
m.open('FooBar', '12345678')
var t = m.encrypt('some random text')
var b = t.toString('base64')
console.log(b)

In v0.0.7 I get R95YegoSAtz/LqPs16zkPw==

In v0.0.9 I get c29tZSByYW5kb20gdGV4dA== which is just base64 of the original text.

"Key length is not legal" when using a binary secret key

Hello,

I would like to encrypt a string using the algorithm 'rijndael-128' in 'ecb' mode.

My key is in binary format.

I create my key with the following code.

      var sha256Encrypt = function(key) {
        var cipher = crypto.createHash('sha256');
        return cipher.update(key, 'utf8').digest('binary');
      };

Then I would like to encrypt my message with the key using:

      var aes256Encrypt2 = function(message, secret) {
        var MCrypt = require('mcrypt').MCrypt;
        var rijEcb = new MCrypt('rijndael-128', 'ecb');
        rijEcb.validateKeySize(false);
        rijEcb.open(secret);
        return cipherText = rijEcb.encrypt(message).toString('base64');
      };

secret.length is 32. But I get the message:
Key length is not legal.

If I leave the key validation size, I get:
Invalid key size. Available key size are [16, 24, 32]

I know the key should be either a string or a buffer. I did convert my key into a buffer:

          var buf = new Buffer(32);
          buf.write(key);

It works, but the result is not the one expected.

Would you have any suggestion?

Trouble With Rijndael-256 Implementation

I'm working on a project that requires me to decrypt a string ciphered with Rijndael-256 (256 block & key size,) and am having a hard time getting this module to work properly with this algorithm.

My current test code is:

var MCrypt = require('mcrypt').MCrypt;

var rj256 = new MCrypt('rijndael-256', 'cbc');
rj256.open('32charteststring32charteststring');

var ciphered = rj256.encrypt('super secret stuff.');
console.log(ciphered.toString('base64'));

var plaintext = rj256.decrypt(new Buffer(ciphered));
console.log(plaintext.toString());

Based on the examples I've seen in the docs both on GitHub and npm(https://www.npmjs.com/package/mcrypt) I believe that this code should be correctly returning the original string "super secret stuff." but it is outputting random(presumably still ciphered,) text instead.

I apologize if this is simply user error!

It is not installed on Windows

rypt\modules\algorithms\twofish.c) [D:\Project\aaaaa\server\node_modules\mc
rypt\build\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\algorithms\twofish.c(484): error C2054: expected
'(' to follow 'inline' [D:\Project\aaaaa\server\node_modules\mcrypt\build
lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(36): error C2054: expected '(' to follow 'inline' (......\lib\libmcrypt\m
odules\algorithms\wake.c) [D:\Project\aaaaa\server\node_modules\mcrypt\buil
d\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\algorithms\twofish.c(485): error C2085: 'f_rnd'
: not in formal parameter list [D:\Project\aaaaa\server\node_modules\mcrypt
\build\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(36): error C2054: expected '(' to follow 'inline' (......\lib\libmcrypt\m
odules\algorithms\xtea.c) [D:\Project\aaaaa\server\node_modules\mcrypt\buil
d\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(36): error C2054: expected '(' to follow 'inline' (......\lib\libmcrypt\m
odules\modes\cbc.c) [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib
libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2085: 'memxor' : not in formal parameter list (......\lib\lib
mcrypt\modules\algorithms\wake.c) [D:\Project\aaaaa\server\node_modules\mcr
ypt\build\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\algorithms\twofish.c(485): error C2143: syntax e
rror : missing ';' before '{' [D:\Project\aaaaa\server\node_modules\mcrypt
build\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2085: 'memxor' : not in formal parameter list (......\lib\lib
mcrypt\modules\algorithms\xtea.c) [D:\Project\aaaaa\server\node_modules\mcr
ypt\build\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2085: 'memxor' : not in formal parameter list (......\lib\lib
mcrypt\modules\modes\cbc.c) [D:\Project\aaaaa\server\node_modules\mcrypt\bu
ild\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2143: syntax error : missing ';' before '{' (......\lib\libmc
rypt\modules\algorithms\wake.c) [D:\Project\aaaaa\server\node_modules\mcryp
t\build\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\algorithms\twofish.c(515): warning C4013: 'f_rnd
' undefined; assuming extern returning int [D:\Project\aaaaa\server\node_mo
dules\mcrypt\build\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2143: syntax error : missing ';' before '{' (......\lib\libmc
rypt\modules\algorithms\xtea.c) [D:\Project\aaaaa\server\node_modules\mcryp
t\build\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2143: syntax error : missing ';' before '{' (......\lib\libmc
rypt\modules\modes\cbc.c) [D:\Project\aaaaa\server\node_modules\mcrypt\buil
d\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\algorithms\wake.c(141): error C2054: expected '(
' to follow 'inline' [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib
\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\algorithms\wake.c(142): error C2085: '_int_M' :
not in formal parameter list [D:\Project\aaaaa\server\node_modules\mcrypt\b
uild\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\algorithms\wake.c(142): error C2143: syntax erro
r : missing ';' before '{' [D:\Project\aaaaa\server\node_modules\mcrypt\bui
ld\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\algorithms\wake.c(189): warning C4013: '_int_M'
undefined; assuming extern returning int [D:\Project\aaaaa\server\node_modu
les\mcrypt\build\lib\libmcrypt\libmcrypt.vcxproj]
cfb.c
ctr.c
ecb.c
ncfb.c
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(36): error C2054: expected '(' to follow 'inline' (......\lib\libmcrypt\m
odules\modes\ctr.c) [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib
libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2085: 'memxor' : not in formal parameter list (......\lib\lib
mcrypt\modules\modes\ctr.c) [D:\Project\aaaaa\server\node_modules\mcrypt\bu
ild\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(36): error C2054: expected '(' to follow 'inline' (......\lib\libmcrypt\m
odules\modes\cfb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib
libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2143: syntax error : missing ';' before '{' (......\lib\libmc
rypt\modules\modes\ctr.c) [D:\Project\aaaaa\server\node_modules\mcrypt\buil
d\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2085: 'memxor' : not in formal parameter list (......\lib\lib
mcrypt\modules\modes\cfb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\bu
ild\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2143: syntax error : missing ';' before '{' (......\lib\libmc
rypt\modules\modes\cfb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\buil
d\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\ctr.c(126): error C2054: expected '(' to f
ollow 'inline' [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib\libmc
rypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\ctr.c(127): error C2085: 'xor_stuff' : not
in formal parameter list [D:\Project\aaaaa\server\node_modules\mcrypt\buil
d\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\ctr.c(127): error C2143: syntax error : mi
ssing ';' before '{' [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib
\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\ctr.c(204): warning C4013: 'xor_stuff' und
efined; assuming extern returning int [D:\Project\aaaaa\server\node_modules
\mcrypt\build\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(36): error C2054: expected '(' to follow 'inline' (......\lib\libmcrypt\m
odules\modes\ncfb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib
\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(36): error C2054: expected '(' to follow 'inline' (......\lib\libmcrypt\m
odules\modes\ecb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib
libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2085: 'memxor' : not in formal parameter list (......\lib\lib
mcrypt\modules\modes\ncfb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\b
uild\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2085: 'memxor' : not in formal parameter list (......\lib\lib
mcrypt\modules\modes\ecb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\bu
ild\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2143: syntax error : missing ';' before '{' (......\lib\libmc
rypt\modules\modes\ncfb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\bui
ld\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2143: syntax error : missing ';' before '{' (......\lib\libmc
rypt\modules\modes\ecb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\buil
d\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\ncfb.c(105): error C2054: expected '(' to
follow 'inline' [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib\libm
crypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\ncfb.c(106): error C2085: 'xor_stuff_en' :
not in formal parameter list [D:\Project\aaaaa\server\node_modules\mcrypt
build\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\ncfb.c(106): error C2143: syntax error : m
issing ';' before '{' [D:\Project\aaaaa\server\node_modules\mcrypt\build\li
b\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\ncfb.c(182): error C2054: expected '(' to
follow 'inline' [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib\libm
crypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\ncfb.c(183): error C2085: 'xor_stuff_de' :
not in formal parameter list [D:\Project\aaaaa\server\node_modules\mcrypt
build\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\ncfb.c(183): error C2143: syntax error : m
issing ';' before '{' [D:\Project\aaaaa\server\node_modules\mcrypt\build\li
b\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\ncfb.c(271): warning C4013: 'xor_stuff_en'
undefined; assuming extern returning int [D:\Project\aaaaa\server\node_mod
ules\mcrypt\build\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\ncfb.c(293): warning C4013: 'xor_stuff_de'
undefined; assuming extern returning int [D:\Project\aaaaa\server\node_mod
ules\mcrypt\build\lib\libmcrypt\libmcrypt.vcxproj]
nofb.c
ofb.c
stream.c
bzero.c
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(36): error C2054: expected '(' to follow 'inline' (......\lib\libmcrypt\m
odules\modes\ofb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib
libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2085: 'memxor' : not in formal parameter list (......\lib\lib
mcrypt\modules\modes\ofb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\bu
ild\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2143: syntax error : missing ';' before '{' (......\lib\libmc
rypt\modules\modes\ofb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\buil
d\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(36): error C2054: expected '(' to follow 'inline' (......\lib\libmcrypt\m
odules\modes\nofb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib
\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2085: 'memxor' : not in formal parameter list (......\lib\lib
mcrypt\modules\modes\nofb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\b
uild\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2143: syntax error : missing ';' before '{' (......\lib\libmc
rypt\modules\modes\nofb.c) [D:\Project\aaaaa\server\node_modules\mcrypt\bui
ld\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\nofb.c(105): error C2054: expected '(' to
follow 'inline' [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib\libm
crypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\nofb.c(106): error C2085: 'xor_stuff' : no
t in formal parameter list [D:\Project\aaaaa\server\node_modules\mcrypt\bui
ld\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(36): error C2054: expected '(' to follow 'inline' (......\lib\libmcrypt\m
odules\modes\stream.c) [D:\Project\aaaaa\server\node_modules\mcrypt\build\l
ib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\nofb.c(106): error C2143: syntax error : m
issing ';' before '{' [D:\Project\aaaaa\server\node_modules\mcrypt\build\li
b\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2085: 'memxor' : not in formal parameter list (......\lib\lib
mcrypt\modules\modes\stream.c) [D:\Project\aaaaa\server\node_modules\mcrypt
\build\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\modules\modes\nofb.c(189): warning C4013: 'xor_stuff' un
defined; assuming extern returning int [D:\Project\aaaaa\server\node_module
s\mcrypt\build\lib\libmcrypt\libmcrypt.vcxproj]
D:\Project\aaaaa\server\node_modules\mcrypt\lib\libmcrypt\lib\mcrypt_module
s.h(37): error C2143: syntax error : missing ';' before '{' (......\lib\libmc
rypt\modules\modes\stream.c) [D:\Project\aaaaa\server\node_modules\mcrypt\b
uild\lib\libmcrypt\libmcrypt.vcxproj]
mcrypt.c
mcrypt_extra.c
mcrypt_modules.c
mcrypt_symb.c
......\lib\libmcrypt\lib\mcrypt_symb.c(461): warning C4113: 'int (__cdecl *)(
)' differs in parameter lists from 'int (__cdecl *)(void *,const void *,int,con
st void *,int)' [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib\libm
crypt\libmcrypt.vcxproj]
......\lib\libmcrypt\lib\mcrypt_symb.c(461): warning C4113: 'int (__cdecl *)(
)' differs in parameter lists from 'int (__cdecl *)(void *,const void *,int)' [
D:\Project\aaaaa\server\node_modules\mcrypt\build\lib\libmcrypt\libmcrypt.v
cxproj]
......\lib\libmcrypt\lib\mcrypt_symb.c(461): warning C4113: 'int (__cdecl *)(
)' differs in parameter lists from 'int (__cdecl *)(void *,void *,int *)' [D:\P
roject\aaaaa\server\node_modules\mcrypt\build\lib\libmcrypt\libmcrypt.vcxpr
oj]
......\lib\libmcrypt\lib\mcrypt_symb.c(461): warning C4113: 'int (__cdecl *)(
)' differs in parameter lists from 'int (__cdecl *)(void *)' [D:\Project\FlyMan
ana\server\node_modules\mcrypt\build\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\lib\mcrypt_symb.c(461): warning C4113: 'int (__cdecl *)(
)' differs in parameter lists from 'int (__cdecl *)(void *,void *,int,int,void
*,void *,void *)' [D:\Project\aaaaa\server\node_modules\mcrypt\build\lib\li
bmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\lib\mcrypt_symb.c(461): warning C4113: 'int (__cdecl *)(
)' differs in parameter lists from 'int (__cdecl *)(void)' [D:\Project\FlyManan
a\server\node_modules\mcrypt\build\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\lib\mcrypt_symb.c(461): warning C4113: 'char *(__cdecl *
)()' differs in parameter lists from 'char *(__cdecl *)(void)' [D:\Project\FlyM
anana\server\node_modules\mcrypt\build\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\lib\mcrypt_symb.c(461): warning C4113: 'word32 (__cdecl
*)()' differs in parameter lists from 'word32 (__cdecl *)(void)' [D:\Project\Fl
yManana\server\node_modules\mcrypt\build\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\lib\mcrypt_symb.c(734): warning C4113: 'int (__cdecl *)(
)' differs in parameter lists from 'int (__cdecl *)(void)' [D:\Project\FlyManan
a\server\node_modules\mcrypt\build\lib\libmcrypt\libmcrypt.vcxproj]
......\lib\libmcrypt\lib\mcrypt_symb.c(734): warning C4113: 'const int *(__cd
ecl *)()' differs in parameter lists from 'const int *(__cdecl *)(int *)' [D:\P
roject\aaaaa\server\node_modules\mcrypt\build\lib\libmcrypt\libmcrypt.vcxpr
oj]
......\lib\libmcrypt\lib\mcrypt_symb.c(734): warning C4113: 'const char *(__c
decl *)()' differs in parameter lists from 'const char *(__cdecl *)(void)' [D:
Project\aaaaa\server\node_modules\mcrypt\build\lib\libmcrypt\libmcrypt.vcxp
roj]
......\lib\libmcrypt\lib\mcrypt_symb.c(734): warning C4113: 'word32 (__cdecl
*)()' differs in parameter lists from 'word32 (__cdecl *)(void)' [D:\Project\Fl
yManana\server\node_modules\mcrypt\build\lib\libmcrypt\libmcrypt.vcxproj]
xmemory.c
win_delay_load_hook.c
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe fail
ed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\Jay\AppData\Roaming\npm\node
_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces
s.js:200:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Jay\AppData
\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "reb
uild" "--release"
gyp ERR! cwd D:\Project\aaaaa\server\node_modules\mcrypt
gyp ERR! node -v v5.1.1
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
install → rollbackFailedO ▄ ╢██████████████████████████████████████████░░░░░░░╟
install → rollbackFailedO ▌ ╢██████████████████████████████████████████░░░░░░░╟
[email protected] D:\Project\aaaaa\server
├── [email protected] extraneous
└── [email protected] extraneous

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Jay\AppData\Ro
aming\npm\node_modules\npm\bin\npm-cli.js" "install" "mcrypt"
npm ERR! node v5.1.1
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild --release
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild --release'.

npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the mcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild --release
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs mcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls mcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! D:\Project\aaaaa\server\npm-debug.log

D:\Project\aaaaa\server>

Error on npm install due to version 2.0 of 'nan' package

CXX(target) Release/obj.target/mcrypt/src/mcrypt.o
In file included from ../src/mcrypt.cc:3:
In file included from ../src/mcrypt.h:9:
../../nan/nan.h:111:10: fatal error: 'nan_new.h' file not found
#include "nan_new.h"  // NOLINT(build/include)
         ^
1 error generated.
make: *** [Release/obj.target/mcrypt/src/mcrypt.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 13.4.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /Users/emmaspencer/maxwell-edi/node_modules/mcrypt
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok 

Failed at the [email protected] install script

Hi guys, trying to compile on heroku, seem to keep getting this?

any ideas?

thanks!
-----> Building Meteor App Bundle
npm-container: updating npm dependencies -- jscryptor, mcrypt...
npm WARN package.json [email protected] No
description
npm WARN package.json [email protected] No
repository field.
npm WARN package.json [email protected] No README
data
In file included from ../src/mcrypt.cc:3:0:
../src/mcrypt.h:10:20: fatal error: mcrypt.h: No such file or directory
#include <mcrypt.h>
^
compilation terminated.
make: *** [Release/obj.target/mcrypt/src/mcrypt.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.