<div dir="ltr">Hello!<div><br></div><div>I ran into an issue where ei_decode_version seems to fail when trying to decode a term that contains a map with large atom keys.</div><div><br></div><div>My message that is sent to the port looks something like this:</div><div><br></div><div>erlang:port_command(Port, term_to_binary({cmd, type, undefined, #{asdadasdsadasdasdasdasda=>sadsadsada,asdsadsadsadsadsadsadasdasdsadasb=>sdsdsdsdsdb})).</div><div><br></div><div>This fails in my port pretty quickly when doing ei_decode_version(but, &index, &version).</div><div><br></div><div>It works when i send a message similar to</div><div><br></div><div>erlang:port_command(Port, term_to_binary({cmd, type, undefined, #{b=>s, a=>s})).<br></div><div><br></div><div>Erlang version is :</div><div><div>Erlang/OTP 17 [erts-6.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]</div><div><br></div><div>Eshell V6.2  (abort with ^G)</div></div><div><br></div><div>Running this on a Macbook Air if that is interesting.</div><div><br></div><div><br></div><div>I know that the maps feature is still a bit experimental so just would like to know if this is a known issue of if I'm understanding something wrong?</div><div><br></div><div>/axling </div></div>