'Put' aborts program with no error when the key has already been inserted
Opened this issue · 5 comments
miparnisari commented
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
313364973 commented
I ment this too,but it works on mac os
jekaspekas commented
I have same problem on Windows 8.1 x64, node 6.10.0 and hashtable v 2.0.2. At linux all OK
sam0x17 commented
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