HashMap.get() causing seqfault in std.mem.eql. Help pls?

Hi

i only took a quick look at the code and you should probably post a minimal reproducible example to get a better answer but is it at all possible that you are freeing the hash map keys?

From StringHashMap docs:

Key memory is managed by the caller. Keys and values will not automatically be freed.

Pedantic note: it is usually prefered to post the code as text in a code block instead of a screenshot. Welcome to ziggit btw :smiley:

4 Likes