[erlang-bugs] Segmentation fault in Erlang R12B

Matthew Dempsky matthew@REDACTED
Wed Jun 4 20:28:13 CEST 2008


2008/6/4 Erik Demming <erik_demming@REDACTED>:
> Here the shortcut version of what am I doing:
>     DataList = ets:tab2list(FinishedEts),
>     Data = term_to_binary(DataList),
>     gen_server:call(Pid, {data, Data}),

Do you know which step here caused the segmentation fault?  What data
types are you storing in the ets table?  Anything other than lists,
tuples, numbers, and/or binaries?  If term_to_binary succeeds, how big
is Data when you have a segfault?



More information about the erlang-bugs mailing list