[erlang-bugs] strange behaviour of ets:tab2list with empty lists as key

Sverker Eriksson <>
Tue Jul 20 13:50:20 CEST 2010


Nico Kruber wrote:
> Hi,
> I see some strange behaviour of the ets:tab2list/1 function sometimes: running 
> R13B04 and using empty lists, i.e. [], as keys in an ets table results in 
> ets:tab2list (sometimes) duplicating the list. See the test_empty() function 
> of the attached file.
>
> Regards,
> Nico Kruber
>   
Sounds like the same root problem as this one:

http://www.erlang.org/cgi-bin/ezmlm-cgi?2:mss:1895:201007:gfodmnfdfedjeipbeldc

I will merge that fix into dev branch for R14B.

/Sverker, Erlang/OTP


More information about the erlang-bugs mailing list