[erlang-questions] Strange crash and hang
David Welton
davidnwelton@REDACTED
Mon Sep 22 16:50:24 CEST 2014
> We're getting an odd crash that I suspect is related to one we had in
> the past, where we were getting a bad term from a C node.
This hypothesis seems to be correct. I hacked up a compile of Erlang
to print something in bad_dist_ext, so I know it's hitting that.
Now, to figure out what's going wrong in the C++ code sending the bad
term... but that's not an Erlang problem.
I hacked up a little C code that can crash Erlang if it's allowed to
connect, to demonstrate how badly things go when Erlang gets a large
bad term:
https://github.com/erlang/otp/pull/359#issuecomment-56383778
--
David N. Welton
http://www.welton.it/davidw/
http://www.dedasys.com/
More information about the erlang-questions
mailing list