[erlang-questions] enif_send() and overrun heap
Tue Aug 7 10:38:09 CEST 2018
On 20 June 2018 at 18:39, Sverker Eriksson <sverker.eriksson@REDACTED>
> I suggest you (and everybody during NIF development) to run on a debug-VM.
> It's slower but it catches a lot of faults earlier and produces a nicer
> dump. It will catch enif_* API violations such as building
> with terms from different environments.
I finally found the time to look into this matter again.
Using a debug build of the VM (20.3), the crash consistently happens due to
a failed assertion in line 445 of erl_nif.c.
Other conditions are the same as before.
Is this enlightening in anyway? I've got a 2.8 GiB core dump I can look
into if you tell me that's the right direction to go.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions