Or perhaps please provide a minimal app that reproduces it. :)

On Mon, Aug 22, 2022 at 6:13 PM José Valim <jose.va...@dashbit.co> wrote:

> Running Elixir with cerl should just work. Can you expand on the on_boot
> errors you get in a release?
>
> On Mon, Aug 22, 2022 at 5:46 PM Stephen Baldwin <
> stephen.bald...@syncromsp.com> wrote:
>
>> Hello I've been trying to debug a seg fault in my elixir app for a bit.
>> I've learned that if debugging symbols are enabled on the erlang vm you can
>> use gdb to debug a linux core file to deduce where the seg fault is
>> occuring. Now I've rebuilt erlang from source to have the debugging symbols
>> and that all works fine, but using it with an elixir release seems to be a
>> bit difficult.
>>
>> I modified the elixir bin similar to
>> https://github.com/elixir-lang/elixir/pull/11082 but I am getting
>> on_boot errors when running the release. So replacing cerl with erl isn't a
>> path to success.
>>
>> I need some help as I don't fully understand the path from an elixir
>> release to the erlang vm. Any quick ways to get this to work? Otherwise I
>> think it would be worthwhile to have an option when building an elixir
>> release to use a cerl vm (debug, valgrind, etc).
>>
>> Regards,
>> Stephen
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "elixir-lang-core" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to elixir-lang-core+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elixir-lang-core/fd8b2291-c3aa-49fd-925f-bde1560fc379n%40googlegroups.com
>> <https://groups.google.com/d/msgid/elixir-lang-core/fd8b2291-c3aa-49fd-925f-bde1560fc379n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4K7%2BROnGb%3DOxy%2Bt3xM%3D5RenXTRvCjOj%2BpKe47c1XEcC4w%40mail.gmail.com.

Reply via email to