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

Bailing on clear or remove

Open Asken opened this issue 9 years ago • 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?

Asken avatar Jun 11 '15 13:06 Asken

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?

chad3814 avatar Jun 11 '15 18:06 chad3814

That would be great!

node v0.12.4 and hashtable 1.0.3

Asken avatar Jun 11 '15 19:06 Asken

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?

chad3814 avatar Oct 11 '15 18:10 chad3814

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

miparnisari avatar Nov 13 '16 03:11 miparnisari

clear crashing Node 6.9.0 Hashtable 2.0.2

karmington avatar Oct 04 '19 11:10 karmington