[erlang-questions] segfaults in cowboy rest server

Garry Hodgson <>
Fri Apr 10 15:01:46 CEST 2015


On 4/10/15 2:44 AM, Michael Truog wrote:
> If you have any port drivers or NIFs that are used in the system, it 
> would be best to examine them closely for errors hiding within. For 
> example, a port driver that is written with C++ that throws an 
> exception into the Erlang VM (for example, a timeout exception that 
> has never before occurred) will crash the Erlang VM in new and 
> exciting ways that can include seg faults.
>
> If you are using maps, that could also be a cause, since there are 
> still bugs being worked on.
not using either port drivers or NIFs, nor maps. just plain vanilla erlang.
the segfaults seemed to start when i added the forced gc, but that was
shortly after migrating to cowboy and r17.4, so it's hard to isolate just
what could have changed to cause this.




More information about the erlang-questions mailing list