chad3814 / node-hashtable

Native hashtable interface for when V8 objects can't take the heat
MIT License
106 stars 41 forks source link

Bailing on clear or remove #19

Open Asken opened 9 years ago

Asken commented 9 years ago

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?

chad3814 commented 9 years ago

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?

Asken commented 9 years ago

That would be great!

node v0.12.4 and hashtable 1.0.3

chad3814 commented 9 years ago

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?

miparnisari commented 8 years ago

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

karmington commented 5 years ago

clear crashing Node 6.9.0 Hashtable 2.0.2