phoenixframework / phoenix_live_view

Rich, real-time user experiences with server-rendered HTML
https://hex.pm/packages/phoenix_live_view
MIT License
6.11k stars 915 forks source link

Segmentation fault Phoenix live view #237

Closed eduazul29 closed 5 years ago

eduazul29 commented 5 years ago

Environment

*Elixir 1.7.2 (compiled with Erlang/OTP 20)

Actual behavior

Hi, can you help me? I'm working with elixir and phoenix and I just implemented live view. Everything goes smoothly but sometimes when loading the url of my application in live view my application stops but no error appears in the console. The only reference I have is: "Segmentation fault". Recently update my elixir version with the following commands: wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb sudo apt-get update sudo apt-get install elixir

But I only started to have this problem since I implemented live view as indicated on this page: https://elixirschool.com/blog/phoenix-live-view/ And I have other applications that are not live view and had never been presented to me.

chrismccord commented 5 years ago

Since we don't use nifs in this project, this is not something on our end. I would recommend installing the latest Erlang OTP, or a different stable version