chad3814/node-hashtable

Bailing on clear or remove

Asken opened this issue · 5 comments

I'm running on windows using studio 2013 to compile a 64-bit hashtable. I can't get clear or remove to work with the simple code below:

var HashTable = require('../node_modules/hashtable');
var h = new HashTable();
h.put('aaa', '');
console.log(h.size());  // Says 1
h.clear();

The error I get is:

Process finished with exit code -1073741819 (0xC0000005)

What am I doing wrong?

I don't have a window computer, I might be able to borrow one to look into it. What version of hashtable and what version of node/iojs?

That would be great!

node v0.12.4 and hashtable 1.0.3

I was never able to try anything on windows. I just pushed a new version 2.0.0 that builds with node 4 and adheres better to Nan; would you mind trying it again?

I'm on Node 4.6.1 and remove() isn't working for me. It just aborts my program with no error whatsoever.

clear crashing
Node 6.9.0
Hashtable 2.0.2