There seems to be a problem with my malloc so the hash map is not working. This code worked fine on my linux with actually working malloc :D