eflame
eflame copied to clipboard
Segfault with BEAM 19 / Elixir 1.3.2
Hi,
eflame:apply
fails for me with a segmentation fault on BEAM 19 (only tested on macOS) when executing a very simple Elixir script. As my knowledge of Erlang is quite limited, I could not confirm the issue directly in Erlang. It would be great if you could take a look at this. Thanks!
Console output:
mix run [1] 97810 segmentation fault mix run
Version info:
Erlang/OTP 19 [erts-8.0.2] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Nice catch! Could you try including a stack trace of a segfault? (e.g. while running beam inside lldb)
Here you go - I hope it helps :)
* thread #19: tid = 0x2e1910b, 0x000000001e123a8b beam.smp`lookup_tracer_nif + 20, name = '6_scheduler', stop reason = EXC_BAD_ACCESS (code=1, address=0xfffffffffffffffa)
* frame #0: 0x000000001e123a8b beam.smp`lookup_tracer_nif + 20
frame #1: 0x000000001e120067 beam.smp`erts_trace_return_to + 187
frame #2: 0x000000001e0e9122 beam.smp`erts_bif_trace + 767
frame #3: 0x000000001e0ce7b6 beam.smp`process_main + 23617
frame #4: 0x000000001e159f09 beam.smp`sched_thread_func + 336
frame #5: 0x000000001e2be163 beam.smp`thr_wrapper + 142
frame #6: 0x00007fff84cf499d libsystem_pthread.dylib`_pthread_body + 131
frame #7: 0x00007fff84cf491a libsystem_pthread.dylib`_pthread_start + 168
frame #8: 0x00007fff84cf2351 libsystem_pthread.dylib`thread_start + 13