[erlang-questions] How to track down intermittent segfaults in a threaded NIF
Fred Hebert
mononcqc@REDACTED
Tue May 29 15:57:31 CEST 2018
On Tue, May 29, 2018 at 7:30 AM, Igor Clark <igor.clark@REDACTED> wrote:
>
> - How should I specify that rebar3 should run "cerl" instead of "erl" ?
>
You can't, especially if you're using 'rebar3 shell', where all we can do
is boot a shell within an escript. Do try to debug from a release. You can
probably do something like
cerl -boot _build/prod/rel/<relname>/release/<version>/<relname> -config
_build/prod/rel/<relname>/release/<version>/sys
or if possible:
_build/prod/rel/<relname>/erts-<vsn>/bin/erl -boot
_build/prod/rel/release/<version>/<relname> -config
_build/prod/rel/release/<version>/sys -emu_type debug
These two commands will ignore the contents of your vm.args but they let
you call the underlying mechanism to boot the VM with the arguments you
need without the nodetool wrappers that relx ships.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180529/434d3cb5/attachment.htm>
More information about the erlang-questions
mailing list