<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 4, 2014 at 4:16 AM, Matthew Evans <span dir="ltr"><<a href="mailto:mattevans123@hotmail.com" target="_blank">mattevans123@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><div><br></div><div>I actually just found the cause of the crash. We had gen_server "A" that loaded the NIF, but we also had another gen_server directly calling a nif function owned by gen_server "A" instead of doing a gen_server:call to "A".<br>
</div></div></div></blockquote><div><br></div><div>It is not a problem, because process doesn't own a function.</div><div><br></div><div>Looks like your data structure doesn't survive thread migration.</div><div><br>
</div></div></div></div>