Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault with BEAM 19 / Elixir 1.3.2 #11

Open
zweizeichen opened this issue Aug 19, 2016 · 2 comments
Open

Segfault with BEAM 19 / Elixir 1.3.2 #11

zweizeichen opened this issue Aug 19, 2016 · 2 comments

Comments

@zweizeichen
Copy link

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]

@proger
Copy link
Owner

proger commented Aug 25, 2016

Nice catch! Could you try including a stack trace of a segfault? (e.g. while running beam inside lldb)

@zweizeichen
Copy link
Author

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

xcode-lldb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants