chad3814/node-hashtable

'Put' aborts program with no error when the key has already been inserted

Opened this issue · 5 comments

I'm on Windows 10 here and hashtable v 2.0.2. The issue I have is that when I try to insert the same key with the same value twice in a row, my program ends with no error whatsoever.

var HashTable = require('hashtable');
var nums = new HashTable();
nums.put(1, true);
nums.put(1, true);
console.log('zzz'); //never prints this

I ment this too,but it works on mac os

I have same problem on Windows 8.1 x64, node 6.10.0 and hashtable v 2.0.2. At linux all OK

I can confirm this issue as well on Windows 10 -- a segfault occurs. Additionally, I also get a segfault when I do .clear(). Would really appreciate a fix @chad3814

Has anyone solved this issue?
We have the issue on Windows 7, Node 4.4.7 and hashtable 2.0.2. @chad3814

as always, a fix would still be greatly appreciated @chad3814 . If another few months go by I will attempt a fix myself.